home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep (Enterprise)
/
OpenStepENTCD.toast
/
OEDEV
/
DEV.Z
/
ToDoCell.h
< prev
next >
Wrap
Text File
|
1996-07-30
|
635b
|
28 lines
/*
You may freely copy, distribute, and reuse the code in this example.
NeXT disclaims any warranty of any kind, expressed or implied, as to its
fitness for any particular use.
*/
/* A three-state button */
#import <AppKit/AppKit.h>
#import <Foundation/Foundation.h>
typedef enum ToDoButtonState {
notDone=0,
done,
deferred} ToDoButtonState;
@interface ToDoCell : NSButtonCell
{
ToDoButtonState triState;
NSImage *doneImage, *deferredImage;
NSDate *timeDue;
}
- (void)setTriState:(ToDoButtonState)newState;
- (ToDoButtonState)triState;
- (void)setTimeDue:(NSDate *)newTime;
- (NSDate *)timeDue;
@end