diff options
author | rowanbeentje <rowan@beent.je> | 2012-07-23 00:35:01 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-07-23 00:35:01 +0000 |
commit | ea1516eeb991cedd2ea8d86d65fef4b102996b2b (patch) | |
tree | d2c128b5ad0f68b974e3c5e2a44c1c49fd33ce7f /Source/SPTablesList.h | |
parent | 78b52f5a0cea1fc1d0c944f5408e7ef41d0ca2d6 (diff) | |
download | sequelpro-ea1516eeb991cedd2ea8d86d65fef4b102996b2b.tar.gz sequelpro-ea1516eeb991cedd2ea8d86d65fef4b102996b2b.tar.bz2 sequelpro-ea1516eeb991cedd2ea8d86d65fef4b102996b2b.zip |
- Add a new SPSplitView class, intended to replace all BWSplitViews and so allow us to remove BWToolKit. Supports constraints and animated collapsible subviews configured in code, fixes crashes and exceptions if a window is closed while animations are taking place or scheduled to take place.
- Replace the two vertical splitters in the table list (the filter splitter, and the table info splitter) with SPSplitView implementations as a test
- Add a helper method in the new SPDateAdditions
Diffstat (limited to 'Source/SPTablesList.h')
-rw-r--r-- | Source/SPTablesList.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/SPTablesList.h b/Source/SPTablesList.h index 368880f0..96b15b4c 100644 --- a/Source/SPTablesList.h +++ b/Source/SPTablesList.h @@ -24,13 +24,13 @@ // More info at <http://code.google.com/p/sequel-pro/> @class SPHistoryController, SPTableView, SPMySQLConnection; -@class SPDatabaseDocument, SPDatabaseData, SPTableStructure, SPTableContent; +@class SPDatabaseDocument, SPDatabaseData, SPTableStructure, SPTableContent, SPSplitView; #ifdef SP_REFACTOR @class SQLSidebarViewController; #endif -@interface NSObject (NSSplitView) +@interface NSObject (BWSplitView) - (NSView *)collapsibleSubview; - (IBAction)toggleCollapse:(id)sender; @@ -83,9 +83,8 @@ IBOutlet id addTableButton; #ifndef SP_REFACTOR IBOutlet id truncateTableButton; - IBOutlet NSSplitView *tableListSplitView; - IBOutlet NSSplitView *tableListFilterSplitView; - IBOutlet NSButton *tableInfoCollapseButton; + IBOutlet SPSplitView *tableListSplitView; + IBOutlet SPSplitView *tableListFilterSplitView; IBOutlet NSSearchField *listFilterField; |