X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/7c89200521dd8c6cb8fc8a17c633ac80d4b18bd2..ae43c1a7ec8eaa7844c69d2bf648b777704cc51c:/ITTransientStatusWindow.h diff --git a/ITTransientStatusWindow.h b/ITTransientStatusWindow.h index dcbe360..04f13ab 100755 --- a/ITTransientStatusWindow.h +++ b/ITTransientStatusWindow.h @@ -4,10 +4,10 @@ * NSWindow subclass for quick display of status information. * Similar to volume/brightness/eject bezel key windows. * - * Original Author : Matt Judy - * Responsibility : Matt Judy + * Original Author : Matthew Judy + * Responsibility : Matthew Judy * Responsibility : Joseph Spiros - * Contributor : Kent Sutherland + * Contributor : Kent Sutherland * * Copyright (c) 2002 - 2003 iThink Software. * All Rights Reserved @@ -42,6 +42,11 @@ typedef enum { ITTransientStatusWindowAquaUtility } ITTransientStatusWindowBackgroundType; +typedef enum { + ITTransientStatusWindowRegular, + ITTransientStatusWindowSmall, + ITTransientStatusWindowMini +} ITTransientStatusWindowSizing; @interface ITTransientStatusWindow : NSWindow { @@ -54,14 +59,15 @@ typedef enum { double _effectProgress; ITVerticalWindowPosition _verticalPosition; ITHorizontalWindowPosition _horizontalPosition; + ITTransientStatusWindowSizing _sizing; float _screenPadding; - int _screenNumber; +// int _screenNumber; BOOL _reallyIgnoresEvents; - NSTimer *_delayTimer; + NSTimer *_exitTimer; -// NSView *_contentSubView; + NSView *_contentSubView; } + (id)sharedWindow; @@ -73,6 +79,9 @@ typedef enum { - (void)appear:(id)sender; - (void)vanish:(id)sender; +- (void)setSizing:(ITTransientStatusWindowSizing)newSizing; +- (ITTransientStatusWindowSizing)sizing; + - (ITWindowVisibilityState)visibilityState; - (void)setVisibilityState:(ITWindowVisibilityState)newState;