git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a disable/enable method to the hotkey center
[ITKit.git]
/
ITTransientStatusWindow.m
diff --git
a/ITTransientStatusWindow.m
b/ITTransientStatusWindow.m
index
92eba65
..
3f01c35
100755
(executable)
--- a/
ITTransientStatusWindow.m
+++ b/
ITTransientStatusWindow.m
@@
-3,7
+3,7
@@
#import <ApplicationServices/ApplicationServices.h>
#import "ITCoreGraphicsHacks.h"
#import "ITTextField.h"
#import <ApplicationServices/ApplicationServices.h>
#import "ITCoreGraphicsHacks.h"
#import "ITTextField.h"
-#import "IT
GrayRounde
dView.h"
+#import "IT
TSWBackgroun
dView.h"
#define EFFECT_FPS 30.0
#define EFFECT_FPS 30.0
@@
-126,7
+126,6
@@
static ITTransientStatusWindow *staticWindow = nil;
_reallyIgnoresEvents = flag;
}
_reallyIgnoresEvents = flag;
}
-
/*
- (id)contentView
/*
- (id)contentView
@@
-184,6
+183,16
@@
static ITTransientStatusWindow *staticWindow = nil;
}
}
}
}
+- (void)setSizing:(ITTransientStatusWindowSizing)newSizing
+{
+ _sizing = newSizing;
+}
+
+- (ITTransientStatusWindowSizing)sizing
+{
+ return _sizing;
+}
+
- (ITWindowVisibilityState)visibilityState
{
return _visibilityState;
- (ITWindowVisibilityState)visibilityState
{
return _visibilityState;
@@
-322,7
+331,7
@@
static ITTransientStatusWindow *staticWindow = nil;
- (void)rebuildWindow;
{
if ( _backgroundType == ITTransientStatusWindowRounded ) {
- (void)rebuildWindow;
{
if ( _backgroundType == ITTransientStatusWindowRounded ) {
- IT
GrayRoundedView *roundedView = [[[ITGrayRounde
dView alloc] initWithFrame:[self frame]] autorelease];
+ IT
TSWBackgroundView *roundedView = [[[ITTSWBackgroun
dView alloc] initWithFrame:[self frame]] autorelease];
[self setBackgroundColor:[NSColor clearColor]];
[self setHasShadow:NO];
[self setBackgroundColor:[NSColor clearColor]];
[self setHasShadow:NO];