Initial import.

This commit is contained in:
Jonathan Schleifer 2011-12-27 22:09:33 +01:00
commit b5f40d159e
16 changed files with 489 additions and 0 deletions

22
OGWindow.h Normal file
View file

@ -0,0 +1,22 @@
#import "OGWidget.h"
@class OGWindow;
@protocol OGWindowDelegate <OFObject>
@optional
- (BOOL)windowWillClose: (OGWindow*)window;
@end
@interface OGWindow: OGWidget
{
id <OGWindowDelegate> delegate;
}
@property (assign) id <OGWindowDelegate> delegate;
@property (copy) OFString *title;
@property (assign) of_point_t position;
@property (assign) of_dimension_t dimension;
+ window;
- (void)addChild: (OGWidget*)widget;
@end