diff options
author | rowanbeentje <rowan@beent.je> | 2009-06-14 20:30:52 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-06-14 20:30:52 +0000 |
commit | 3502af9a810b51116cd93358c608722e3714f4c0 (patch) | |
tree | dd17f7d4ff32b0346c03deaaac36da761a3ae56b /Source/TableDocument.h | |
parent | 8f880b82a86b2bfe6bbf70ff934096b8a720bb20 (diff) | |
download | sequelpro-3502af9a810b51116cd93358c608722e3714f4c0.tar.gz sequelpro-3502af9a810b51116cd93358c608722e3714f4c0.tar.bz2 sequelpro-3502af9a810b51116cd93358c608722e3714f4c0.zip |
Add support for titlebar connection status images, and use for SSH tunnels.
- Add view and code to support drawing a connection status icon at the left of the titlebar
- Use for SSH tunnels; completes Issue #114.
- Remove reference to an image resource "j" in the DBView - fixes console log errors.
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r-- | Source/TableDocument.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h index a7ba9d01..946b2492 100644 --- a/Source/TableDocument.h +++ b/Source/TableDocument.h @@ -51,6 +51,8 @@ IBOutlet id spExportControllerInstance; IBOutlet id tableWindow; + IBOutlet id titleAccessoryView; + IBOutlet id titleImageView; IBOutlet id connectSheet; IBOutlet id databaseSheet; IBOutlet id variablesSheet; @@ -215,6 +217,10 @@ - (IBAction)viewRelations:(id)sender; - (IBAction)addConnectionToFavorites:(id)sender; +// titlebar methods +- (void)setStatusIconToImageWithName:(NSString *)imagePath; +- (void)clearStatusIcon; + //toolbar methods - (void)setupToolbar; - (NSToolbarItem *)toolbar:(NSToolbar *)toolbar itemForItemIdentifier:(NSString *)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag; |