aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPNarrowDownCompletion.h2
-rw-r--r--Source/SPTooltip.h37
-rw-r--r--Source/SPTooltip.m34
-rw-r--r--sequel-pro.xcodeproj/project.pbxproj6
4 files changed, 78 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h
index 6a2d4d1b..35ef7f1f 100644
--- a/Source/SPNarrowDownCompletion.h
+++ b/Source/SPNarrowDownCompletion.h
@@ -1,7 +1,7 @@
//
// $Id: SPNarrowDownCompletion.h 744 2009-05-22 20:00:00Z bibiko $
//
-// SPGrowlController.h
+// SPNarrowDownCompletion.h
// sequel-pro
//
// Created by Hans-J. Bibiko on May 14, 2009.
diff --git a/Source/SPTooltip.h b/Source/SPTooltip.h
new file mode 100644
index 00000000..f24e52c8
--- /dev/null
+++ b/Source/SPTooltip.h
@@ -0,0 +1,37 @@
+//
+// $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 <http://code.google.com/p/sequel-pro/>
+
+#import <Cocoa/Cocoa.h>
+#import <WebKit/WebKit.h>
+
+
+@interface SPTooltip : NSWindow {
+
+}
+
+@end
diff --git a/Source/SPTooltip.m b/Source/SPTooltip.m
new file mode 100644
index 00000000..c0cfd10f
--- /dev/null
+++ b/Source/SPTooltip.m
@@ -0,0 +1,34 @@
+//
+// $Id$
+//
+// SPTooltip.m
+// 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 <http://code.google.com/p/sequel-pro/>
+
+#import "SPTooltip.h"
+
+
+@implementation SPTooltip
+
+@end
diff --git a/sequel-pro.xcodeproj/project.pbxproj b/sequel-pro.xcodeproj/project.pbxproj
index a69ea68c..aa5d4aa0 100644
--- a/sequel-pro.xcodeproj/project.pbxproj
+++ b/sequel-pro.xcodeproj/project.pbxproj
@@ -215,6 +215,7 @@
BC688D811012462600D35128 /* borderlessbackground.png in Resources */ = {isa = PBXBuildFile; fileRef = BC688D801012462600D35128 /* borderlessbackground.png */; };
BC8C8532100E0A8000D7A129 /* SPTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC8C8531100E0A8000D7A129 /* SPTableView.m */; };
BC9F0881100FCF2C00A80D32 /* SPFieldEditorController.m in Sources */ = {isa = PBXBuildFile; fileRef = BC9F0880100FCF2C00A80D32 /* SPFieldEditorController.m */; };
+ BCA6271C1031B9D40047E5D5 /* SPTooltip.m in Sources */ = {isa = PBXBuildFile; fileRef = BCA6271B1031B9D40047E5D5 /* SPTooltip.m */; };
BCA6F631100FA7D700E80253 /* FieldEditorSheet.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCA6F62F100FA7D700E80253 /* FieldEditorSheet.xib */; };
BCD0AD490FBBFC340066EA5C /* SPSQLTokenizer.l in Sources */ = {isa = PBXBuildFile; fileRef = BCD0AD480FBBFC340066EA5C /* SPSQLTokenizer.l */; };
/* End PBXBuildFile section */
@@ -578,6 +579,8 @@
BC8C8531100E0A8000D7A129 /* SPTableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPTableView.m; sourceTree = "<group>"; };
BC9F087F100FCF2C00A80D32 /* SPFieldEditorController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPFieldEditorController.h; sourceTree = "<group>"; };
BC9F0880100FCF2C00A80D32 /* SPFieldEditorController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPFieldEditorController.m; sourceTree = "<group>"; };
+ BCA6271A1031B9D40047E5D5 /* SPTooltip.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPTooltip.h; sourceTree = "<group>"; };
+ BCA6271B1031B9D40047E5D5 /* SPTooltip.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPTooltip.m; sourceTree = "<group>"; };
BCA6F630100FA7D700E80253 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/FieldEditorSheet.xib; sourceTree = "<group>"; };
BCD0AD480FBBFC340066EA5C /* SPSQLTokenizer.l */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.lex; path = SPSQLTokenizer.l; sourceTree = "<group>"; };
BCD0AD4A0FBBFC480066EA5C /* SPSQLTokenizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPSQLTokenizer.h; sourceTree = "<group>"; };
@@ -919,6 +922,8 @@
17E6415F0EF01F15001BC333 /* SPTableInfo.m */,
17E641600EF01F15001BC333 /* TablesList.h */,
17E641610EF01F15001BC333 /* TablesList.m */,
+ BCA6271A1031B9D40047E5D5 /* SPTooltip.h */,
+ BCA6271B1031B9D40047E5D5 /* SPTooltip.m */,
);
name = Model;
sourceTree = "<group>";
@@ -1593,6 +1598,7 @@
BC05F1C5101241DF008A97F8 /* AMIndeterminateProgressIndicatorCell.m in Sources */,
584192A1101E57BB0089807F /* NSMutableArray-MultipleSort.m in Sources */,
589235321020C1230011DE00 /* SPHistoryController.m in Sources */,
+ BCA6271C1031B9D40047E5D5 /* SPTooltip.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};