aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTooltip.h
Commit message (Collapse)AuthorAgeFilesLines
* • finished implementation of SPTooltipBibiko2009-08-121-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage: #import "SPTooltip.h" [SPTooltip showWithObject:@"<h1>Hello</h1>I am a <b>tooltip</b>" ofType:@"html" displayOptions:[NSDictionary dictionaryWithObjectsAndKeys: @"Monaco", @"fontname", @"#EEEEEE", @"backgroundcolor", @"20", @"fontsize", @"transparent", @"transparent", nil]]; [SPTooltip showWithObject:(id)content atLocation:(NSPoint)point ofType:(NSString *)type displayOptions:(NSDictionary *)displayOptions] content: a NSString with the actual content point: n NSPoint where the tooltip should be shown if not given it will be shown under the current caret position or if no caret could be found in the upper left corner of the current window type: a NSString of: "text", or "html"; no type - 'text' is default displayOptions: a NSDictionary with the following keys (all values must be of type NSString): fontname, fontsize, backgroundcolor (as #RRGGBB), transparent (any value) if no displayOptions are passed or if a key doesn't exist the following default are taken: "Lucida Grande", "10", "#F9FBC5", NO See more possible syntaxa in SPTooltip to init a tooltip
* • implemented the first working copy of SPTooltipBibiko2009-08-111-1/+15
| | | | | - not yet finished • added svn property "Id"
* • added SPTooltip classBibiko2009-08-111-0/+37
- initial setup - display a text or HTML tooltip for general messages under the caret position or located somewhere via initializing • fixed naming issue in SPNarrowDownCompletion