aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-05-23 21:44:59 +0000
committerrowanbeentje <rowan@beent.je>2010-05-23 21:44:59 +0000
commitc661b409eaa0e29d9e012b79e7a66574a554817a (patch)
tree49b310ded9a226a66aa53444c9ba112824854f68 /Source/SPConstants.h
parentb66006f3755c6a57dfc60d4133bc4dc4da0fef56 (diff)
downloadsequelpro-c661b409eaa0e29d9e012b79e7a66574a554817a.tar.gz
sequelpro-c661b409eaa0e29d9e012b79e7a66574a554817a.tar.bz2
sequelpro-c661b409eaa0e29d9e012b79e7a66574a554817a.zip
Initial implementation of tabs:
- Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r--Source/SPConstants.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index a547d6c1..d893b825 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -109,6 +109,19 @@ typedef enum
SPLinkDrawStateBackgroundHighlight = 2
} SPTextAndLinkCellDrawState;
+// Menu tag constants
+typedef enum
+{
+ SPMainMenuSequelPro = 0,
+ SPMainMenuFile = 1,
+ SPMainMenuEdit = 2,
+ SPMainMenuView = 3,
+ SPMainMenuDatabase = 4,
+ SPMainMenuTable = 5,
+ SPMainMenuWindow = 6,
+ SPMainMenuHelp = 7
+} SPMainMenuTags;
+
// Long running notification time for Growl messages
extern const CGFloat SPLongRunningNotificationTime;