aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTooltip.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-11 15:59:35 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-11 15:59:35 +0000
commitf6afd1e9699b891f1deee9058a1737e8c5744bd7 (patch)
treed7764e93b9d093578e998eb69785956641d9c941 /Source/SPTooltip.h
parente0b78dfa72f5c24ba7e592d4b381fd97bfb2d407 (diff)
downloadsequelpro-f6afd1e9699b891f1deee9058a1737e8c5744bd7.tar.gz
sequelpro-f6afd1e9699b891f1deee9058a1737e8c5744bd7.tar.bz2
sequelpro-f6afd1e9699b891f1deee9058a1737e8c5744bd7.zip
• implemented the first working copy of SPTooltip
- not yet finished • added svn property "Id"
Diffstat (limited to 'Source/SPTooltip.h')
-rw-r--r--Source/SPTooltip.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/Source/SPTooltip.h b/Source/SPTooltip.h
index f24e52c8..7dc37dbe 100644
--- a/Source/SPTooltip.h
+++ b/Source/SPTooltip.h
@@ -30,8 +30,22 @@
#import <WebKit/WebKit.h>
-@interface SPTooltip : NSWindow {
+@interface SPTooltip : NSWindow
+{
+ WebView* webView;
+ WebPreferences* webPreferences;
+ NSTimer* animationTimer;
+ NSDate* animationStart;
+ // ignore mouse moves for the next second
+ NSDate* didOpenAtDate;
+
+ NSPoint mousePositionWhenOpened;
+
+ NSString* SPTooltipPreferencesIdentifier;
}
++ (void)showWithObject:(id)content ofType:(NSString *)type transparent:(BOOL)transparent;
++ (void)showWithObject:(id)content atLocation:(NSPoint)point ofType:(NSString *)type transparent:(BOOL)transparent;
+
@end