X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/73dd3a56539012847315b2aacae1de73d5085e74..1d5525ced75adc1fe1508e8c19fcc31af129464e:/ITTransientStatusWindow.m?ds=sidebyside 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];