#import "ITTransientStatusWindow.h"
#import "ITWindowEffect.h"
-#import <CoreGraphics/CoreGraphics.h>
+#import <ApplicationServices/ApplicationServices.h>
#import "ITCoreGraphicsHacks.h"
#import "ITTextField.h"
-#import "ITGrayRoundedView.h"
+#import "ITTSWBackgroundView.h"
#define EFFECT_FPS 30.0
_verticalPosition = ITWindowPositionBottom;
_horizontalPosition = ITWindowPositionLeft;
_screenPadding = 32.0;
- _screenNumber = 0;
+ //_screenNumber = 0;
_entryEffect = nil;
_exitEffect = nil;
_reallyIgnoresEvents = YES;
_reallyIgnoresEvents = flag;
}
-
/*
- (id)contentView
}
}
+- (void)setSizing:(ITTransientStatusWindowSizing)newSizing
+{
+ _sizing = newSizing;
+}
+
+- (ITTransientStatusWindowSizing)sizing
+{
+ return _sizing;
+}
+
- (ITWindowVisibilityState)visibilityState
{
return _visibilityState;
_screenPadding = newPadding;
}
-- (int)screenNumber
+/*- (int)screenNumber
{
return _screenNumber;
}
- (void)setScreenNumber:(int)newNumber
{
_screenNumber = newNumber;
-}
+}*/
- (ITWindowEffect *)entryEffect
{
- (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];