aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2013-10-23 00:34:52 +0000
committerdmoagx <post@wickenrode.com>2013-10-23 00:34:52 +0000
commitb3b87db97d6b607ed78a671115e3e56a76077503 (patch)
tree4b8241025d09961037dcadfc8adffe9f4ee28741 /Source/SPConnectionController.h
parent546f436290721d208381769bef646a8ab9d42212 (diff)
downloadsequelpro-b3b87db97d6b607ed78a671115e3e56a76077503.tar.gz
sequelpro-b3b87db97d6b607ed78a671115e3e56a76077503.tar.bz2
sequelpro-b3b87db97d6b607ed78a671115e3e56a76077503.zip
* This change adds basic tab coloring support for favorites - ** POC / NEEDS REVIEW **
Known issues: * There might be additional colors be shown when dragging tabs between windows * The color set might need fine tuning * Coloring of items in the favorite outline view is not yet handled
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r--Source/SPConnectionController.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h
index 5866c495..eb4f0b5c 100644
--- a/Source/SPConnectionController.h
+++ b/Source/SPConnectionController.h
@@ -44,7 +44,8 @@
#ifndef SP_CODA /* class decl */
,SPKeychain,
SPFavoriteNode,
- SPFavoriteTextFieldCell
+ SPFavoriteTextFieldCell,
+ SPColorSelectorView
#endif
;
@@ -79,6 +80,7 @@
NSString *database;
NSString *socket;
NSString *port;
+ NSInteger colorIndex;
// SSL details
NSInteger useSSL;
@@ -133,6 +135,9 @@
IBOutlet NSTextField *standardUserField;
IBOutlet NSTextField *socketUserField;
IBOutlet NSTextField *sshUserField;
+ IBOutlet SPColorSelectorView *standardColorField;
+ IBOutlet SPColorSelectorView *sshColorField;
+ IBOutlet SPColorSelectorView *socketColorField;
IBOutlet NSSecureTextField *standardPasswordField;
IBOutlet NSSecureTextField *socketPasswordField;
IBOutlet NSSecureTextField *sshPasswordField;
@@ -185,6 +190,7 @@
@property (readwrite, retain) NSString *socket;
@property (readwrite, retain) NSString *port;
@property (readwrite, assign) NSInteger useSSL;
+@property (readwrite, assign) NSInteger colorIndex;
@property (readwrite, assign) NSInteger sslKeyFileLocationEnabled;
@property (readwrite, retain) NSString *sslKeyFileLocation;
@property (readwrite, assign) NSInteger sslCertificateFileLocationEnabled;