diff options
Diffstat (limited to 'cocoa/InfoBar.h')
-rw-r--r-- | cocoa/InfoBar.h | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/cocoa/InfoBar.h b/cocoa/InfoBar.h index 1ce139530..382e65a9c 100644 --- a/cocoa/InfoBar.h +++ b/cocoa/InfoBar.h @@ -16,32 +16,30 @@ /** * Extended text cell for vertically aligned text. */ -@interface VerticallyCenteredTextFieldCell : NSTextFieldCell -{ +@interface VerticallyCenteredTextFieldCell : NSTextFieldCell { BOOL mIsEditingOrSelecting; } @end -@interface InfoBar : NSView <InfoBarCommunicator> -{ +@interface InfoBar : NSView <InfoBarCommunicator> { @private - NSImage* mBackground; - IBDisplay mDisplayMask; + NSImage *mBackground; + IBDisplay mDisplayMask; - float mScaleFactor; - NSPopUpButton* mZoomPopup; + float mScaleFactor; + NSPopUpButton *mZoomPopup; - int mCurrentCaretX; - int mCurrentCaretY; - NSTextField* mCaretPositionLabel; - NSTextField* mStatusTextLabel; + int mCurrentCaretX; + int mCurrentCaretY; + NSTextField *mCaretPositionLabel; + NSTextField *mStatusTextLabel; - id <InfoBarCommunicator> mCallback; + id <InfoBarCommunicator> mCallback; } -- (void) notify: (NotificationType) type message: (NSString*) message location: (NSPoint) location - value: (float) value; +- (void) notify: (NotificationType) type message: (NSString *) message location: (NSPoint) location + value: (float) value; - (void) setCallback: (id <InfoBarCommunicator>) callback; - (void) createItems; |