aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-08-19 08:56:40 +0000
committerBibiko <bibiko@eva.mpg.de>2010-08-19 08:56:40 +0000
commitb02296de248c954e951fea184ad91e3164fb3976 (patch)
treeac01fc90199dd117aacb42d48068cd59fcc7c81d /Source/SPPreferenceController.h
parente3887342fb81afaa2222a143fdc4384289eb65e5 (diff)
downloadsequelpro-b02296de248c954e951fea184ad91e3164fb3976.tar.gz
sequelpro-b02296de248c954e951fea184ad91e3164fb3976.tar.bz2
sequelpro-b02296de248c954e951fea184ad91e3164fb3976.zip
• added Edit Theme List to Editor Prefs for renaming/deleting/duplicating themes
• fixed some issues for saving a theme note: since it isn't a frequently used feature this should be enough
Diffstat (limited to 'Source/SPPreferenceController.h')
-rw-r--r--Source/SPPreferenceController.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/SPPreferenceController.h b/Source/SPPreferenceController.h
index cba77f5e..39c5f58e 100644
--- a/Source/SPPreferenceController.h
+++ b/Source/SPPreferenceController.h
@@ -62,9 +62,15 @@
IBOutlet NSWindow *enterNameWindow;
IBOutlet NSTextField *enterNameLabel;
IBOutlet NSTextField *enterNameInputField;
+ IBOutlet NSTextField *enterNameAlertField;
IBOutlet NSTextField *colorThemeName;
IBOutlet NSTextField *colorThemeNameLabel;
IBOutlet id themeNameSaveButton;
+ IBOutlet NSTableView *editThemeListTable;
+ IBOutlet NSWindow *editThemeListWindow;
+ IBOutlet id removeThemeButton;
+ IBOutlet id duplicateThemeButton;
+ IBOutlet NSMenuItem *saveThemeMenuItem;
IBOutlet id tableCell;
@@ -103,6 +109,7 @@
NSString *themePath;
NSInteger checkForUnsavedThemeSheetStatus;
+ NSArray *editThemeListItems;
}
- (void)applyRevisionChanges;
@@ -120,9 +127,11 @@
- (IBAction)makeSelectedFavoriteDefault:(id)sender;
- (IBAction)exportColorScheme:(id)sender;
- (IBAction)importColorScheme:(id)sender;
-- (IBAction)saveColorScheme:(id)sender;
+- (IBAction)saveAsColorScheme:(id)sender;
- (IBAction)loadColorScheme:(id)sender;
- (IBAction)closePanelSheet:(id)sender;
+- (IBAction)duplicateTheme:(id)sender;
+- (IBAction)removeTheme:(id)sender;
// Toolbar item IBAction methods