Skip to content

Commit

Permalink
- Create the "Visor" profile on 10.5 to work around a split view resi…
Browse files Browse the repository at this point in the history
…zing bug

- Clean up some memory management
  • Loading branch information
thekarladam committed Oct 24, 2009
1 parent fa11d66 commit a593c02
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 102 deletions.
8 changes: 5 additions & 3 deletions src/Visor.h
@@ -1,7 +1,7 @@
#import "GTMCarbonEvent.h"

@interface Visor: NSObject {
NSWindow* window; // the one visorized terminal window (may be nil)
NSWindow *window_; // the one visorized terminal window (may be nil)
NSStatusItem* statusItem;
IBOutlet NSMenu* statusMenu;
IBOutlet NSWindow* settingsWindow;
Expand All @@ -25,11 +25,13 @@
NSString* lastPosition;
NSString* restoreAppAppleScriptSource;
NSDictionary* scriptError;
BOOL ignoreResizeNotifications;
id runningApplicationClass;
BOOL ignoreResizeNotifications;
id runningApplicationClass_;
BOOL runningOnLeopard_;
}

- (NSWindow *)window;
- (void)setWindow:(NSWindow *)inWindow;
- (BOOL)isHidden;

- (IBAction)pinAction:(id)sender;
Expand Down

0 comments on commit a593c02

Please sign in to comment.