// // $Id$ // // SPTooltip.h // sequel-pro // // Created by Hans-J. Bibiko on August 11, 2009. // // This class is based on TextMate's TMDHTMLTip implementation // (Dialog plugin) written by CiarĂ¡n Walsh and Allan Odgaard. // see license: http://svn.textmate.org/trunk/LICENSE // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // More info at #import #import @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 atLocation:(NSPoint)point ofType:(NSString *)type displayOptions:(NSDictionary *)displayOptions; + (void)showWithObject:(id)content atLocation:(NSPoint)point ofType:(NSString *)type; + (void)showWithObject:(id)content atLocation:(NSPoint)point; + (void)showWithObject:(id)content ofType:(NSString *)type displayOptions:(NSDictionary *)displayOptions; + (void)showWithObject:(id)content ofType:(NSString *)type; + (void)showWithObject:(id)content; @end