X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/73dd3a56539012847315b2aacae1de73d5085e74..e3ecd39c1d3a4803b8d4c051846ad6ad7b059d6f:/ITTransientStatusWindow.m diff --git a/ITTransientStatusWindow.m b/ITTransientStatusWindow.m index 92eba65..3f01c35 100755 --- a/ITTransientStatusWindow.m +++ b/ITTransientStatusWindow.m @@ -3,7 +3,7 @@ #import #import "ITCoreGraphicsHacks.h" #import "ITTextField.h" -#import "ITGrayRoundedView.h" +#import "ITTSWBackgroundView.h" #define EFFECT_FPS 30.0 @@ -126,7 +126,6 @@ static ITTransientStatusWindow *staticWindow = nil; _reallyIgnoresEvents = flag; } - /* - (id)contentView @@ -184,6 +183,16 @@ static ITTransientStatusWindow *staticWindow = nil; } } +- (void)setSizing:(ITTransientStatusWindowSizing)newSizing +{ + _sizing = newSizing; +} + +- (ITTransientStatusWindowSizing)sizing +{ + return _sizing; +} + - (ITWindowVisibilityState)visibilityState { return _visibilityState; @@ -322,7 +331,7 @@ static ITTransientStatusWindow *staticWindow = nil; - (void)rebuildWindow; { if ( _backgroundType == ITTransientStatusWindowRounded ) { - ITGrayRoundedView *roundedView = [[[ITGrayRoundedView alloc] initWithFrame:[self frame]] autorelease]; + ITTSWBackgroundView *roundedView = [[[ITTSWBackgroundView alloc] initWithFrame:[self frame]] autorelease]; [self setBackgroundColor:[NSColor clearColor]]; [self setHasShadow:NO];