aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-12 09:36:03 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-12 09:36:03 +0000
commit5564ae966603f6727c3fc6ad5b68811128b4ea80 (patch)
treec242159b884c4d402590c266b4d81a281da6bf5a /Resources
parent1de2268c7bd3e724a01401074f8e51ce4b1d6274 (diff)
downloadsequelpro-5564ae966603f6727c3fc6ad5b68811128b4ea80.tar.gz
sequelpro-5564ae966603f6727c3fc6ad5b68811128b4ea80.tar.bz2
sequelpro-5564ae966603f6727c3fc6ad5b68811128b4ea80.zip
• finished implementation of SPTooltip
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
Diffstat (limited to 'Resources')
0 files changed, 0 insertions, 0 deletions