aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-07-26 12:40:34 +0000
committerrowanbeentje <rowan@beent.je>2009-07-26 12:40:34 +0000
commit84fdbe2ab1489786031973997f8413cd2f137375 (patch)
tree6c2582eb2eb4dea292c53f621867498f0a8fbba6 /Source/SPConnectionController.h
parentb9519867ed83d228e16937ae77c1adbba1676c79 (diff)
downloadsequelpro-84fdbe2ab1489786031973997f8413cd2f137375.tar.gz
sequelpro-84fdbe2ab1489786031973997f8413cd2f137375.tar.bz2
sequelpro-84fdbe2ab1489786031973997f8413cd2f137375.zip
- Tweak table information panel to show scrollbars if it's resized to a position that would hide content
- Store collapse state of table information panel in preferences - Apply a double fix for BWSplitView/NSSplitView+BWAnchoredButtonBar not informing delegates of resizes - correctly inform original BWSplitView delegates of resizes, and allow BWAnchoredButtonBar registered delegates to recieve the original split view resize notifications. This fixes database menu resizing in synch with splitview resizing for improved/consistent look and feel.
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r--Source/SPConnectionController.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h
index 0ab3cc2e..f9af5894 100644
--- a/Source/SPConnectionController.h
+++ b/Source/SPConnectionController.h
@@ -37,6 +37,12 @@ enum spconnection_types
SP_CONNECTION_SSHTUNNEL = 2
};
+@class BWAnchoredButtonBar;
+
+@interface NSObject (BWAnchoredButtonBar)
+- (void)setSplitViewDelegate:(id)splitViewDelegate;
+@end
+
@interface SPConnectionController : NSObject
{
TableDocument *tableDocument;
@@ -70,6 +76,7 @@ enum spconnection_types
IBOutlet NSView *connectionView;
IBOutlet NSSplitView *connectionSplitView;
+ IBOutlet BWAnchoredButtonBar *connectionSplitViewButtonBar;
IBOutlet NSTableView *favoritesTable;
IBOutlet NSWindow *errorDetailWindow;