Initial import.
This commit is contained in:
commit
b5f40d159e
16 changed files with 489 additions and 0 deletions
19
OGButton.h
Normal file
19
OGButton.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#import "OGWidget.h"
|
||||
|
||||
@class OGButton;
|
||||
|
||||
@protocol OGButtonDelegate <OFObject>
|
||||
@optional
|
||||
- (void)buttonWasClicked: (OGButton*)button;
|
||||
@end
|
||||
|
||||
@interface OGButton: OGWidget
|
||||
{
|
||||
id <OGButtonDelegate> delegate;
|
||||
}
|
||||
|
||||
@property (assign) id <OGButtonDelegate> delegate;
|
||||
@property (copy) OFString *label;
|
||||
|
||||
+ button;
|
||||
@end
|
Reference in a new issue