]> Dogcows Code - chaz/thecheat/blob - StatusTextField.h
update contact information and project URL
[chaz/thecheat] / StatusTextField.h
1
2 /*
3 * The Cheat - The legendary universal game trainer for Mac OS X.
4 * http://www.brokenzipper.com/trac/wiki/TheCheat
5 *
6 * Copyright (c) 2003-2011, Charles McGarvey et al.
7 *
8 * Distributable under the terms and conditions of the 2-clause BSD
9 * license; see the file COPYING for the legal text of the license.
10 */
11
12 #import <Cocoa/Cocoa.h>
13
14
15 @interface StatusTextField : NSTextField
16 {
17 NSString *myDefaultStatus;
18 NSColor *myDefaultColor;
19
20 NSTimer *myTimer;
21 }
22
23 - (void)setDefaultStatus:(NSString *)message; // defaults to black
24 - (void)setDefaultStatus:(NSString *)message color:(NSColor *)color;
25
26 - (void)setTemporaryStatus:(NSString *)message; // defaults to black
27 - (void)setTemporaryStatus:(NSString *)message color:(NSColor *)color; // defaults to 4 seconds
28 - (void)setTemporaryStatus:(NSString *)message duration:(NSTimeInterval)duration;
29 - (void)setTemporaryStatus:(NSString *)message color:(NSColor *)color duration:(NSTimeInterval)duration;
30
31 @end
This page took 0.036352 seconds and 4 git commands to generate.