Artifact df45c3fe07776069b16499b76afb58b5f6fb05df754bbd5ea2f62b13a79e9cdc:
- File OGWindow.h — part of check-in [60818c0951] at 2011-12-27 21:09:33 on branch trunk — Initial import. (user: js, size: 429) [annotate] [blame] [check-ins using]
- File
headers/OGWindow.h
— part of check-in
[31af425497]
at
2011-12-27 22:38:07
on branch trunk
— Make it possible to have implementations in different toolkits.
Also, make it possible to share the headers. (user: js, size: 429) [annotate] [blame] [check-ins using]
#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