git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed Audioscrobbler NSLog debug
[MenuTunes.git]
/
StatusWindow.h
diff --git
a/StatusWindow.h
b/StatusWindow.h
index
c956be7
..
22c4d8f
100755
(executable)
--- a/
StatusWindow.h
+++ b/
StatusWindow.h
@@
-15,25
+15,20
@@
#import <Cocoa/Cocoa.h>
#import <ITKit/ITKit.h>
#import <Cocoa/Cocoa.h>
#import <ITKit/ITKit.h>
-
-typedef enum _StatusWindowSizing {
- StatusWindowRegular,
- StatusWindowSmall,
- StatusWindowMini
-} StatusWindowSizing;
-
+#define SMALL_DIVISOR 1.33333
+#define MINI_DIVISOR 1.66667
@interface StatusWindow : ITTransientStatusWindow {
NSImage *_image;
BOOL _locked;
@interface StatusWindow : ITTransientStatusWindow {
NSImage *_image;
BOOL _locked;
-
StatusWindowSizing _sizing
;
+
NSTextField *_textField
;
}
- (void)setImage:(NSImage *)newImage;
- (void)setLocked:(BOOL)flag;
}
- (void)setImage:(NSImage *)newImage;
- (void)setLocked:(BOOL)flag;
-- (void)setSizing:(StatusWindowSizing)newSizing;
-- (void)buildTextWindowWithString:(NSString *)text;
+- (void)buildImageWindowWithImage:(NSImage *)image;
+- (void)buildTextWindowWithString:(id)text;
- (void)buildMeterWindowWithCharacter:(NSString *)character
size:(float)size
count:(int)count
- (void)buildMeterWindowWithCharacter:(NSString *)character
size:(float)size
count:(int)count
@@
-44,5
+39,6
@@
typedef enum _StatusWindowSizing {
target:(id)target
defaultAction:(SEL)okAction
alternateAction:(SEL)alternateAction;
target:(id)target
defaultAction:(SEL)okAction
alternateAction:(SEL)alternateAction;
-
+
+- (void)updateTime:(NSString *)time range:(NSRange)range;
@end
@end