-
Notifications
You must be signed in to change notification settings - Fork 1
/
StatusWindow.h
executable file
·40 lines (34 loc) · 1.15 KB
/
StatusWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* MenuTunes
* StatusWindow.h
*
* ITTransientStatusWindow subclass for MenuTunes.
*
* Copyright (c) 2003 iThink Software
*
*/
#import <Cocoa/Cocoa.h>
#import <ITKit/ITKit.h>
#define SMALL_DIVISOR 1.33333
#define MINI_DIVISOR 1.66667
@interface StatusWindow : ITTransientStatusWindow {
NSImage *_image;
BOOL _locked;
NSTextField *_textField;
}
- (void)setImage:(NSImage *)newImage;
- (void)setLocked:(BOOL)flag;
- (void)buildImageWindowWithImage:(NSImage *)image;
- (void)buildTextWindowWithString:(id)text;
- (void)buildMeterWindowWithCharacter:(NSString *)character
size:(float)size
count:(int)count
active:(int)active;
- (void)buildDialogWindowWithMessage:(NSString *)message
defaultButton:(NSString *)title
alternateButton:(NSString *)title
target:(id)target
defaultAction:(SEL)okAction
alternateAction:(SEL)alternateAction;
- (void)updateTime:(NSString *)time range:(NSRange)range;
@end