23
24
25
26
27
28
29
30
31
32
33
34
35
|
#import <ObjFW/ObjFW.h>
@interface OGKDisplay: OFObject
{
ALLEGRO_DISPLAY *display;
}
- initWithSize: (of_dimension_t)size
fullscreen: (BOOL)fullscreen
resizable: (BOOL)resizable;
- (void)update;
- (ALLEGRO_DISPLAY*)OGK_allegroDisplay;
@end
|
>
>
>
>
>
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#import <ObjFW/ObjFW.h>
@interface OGKDisplay: OFObject
{
ALLEGRO_DISPLAY *display;
}
@property (assign) of_point_t windowPosition;
@property (assign) of_dimension_t size;
- initWithSize: (of_dimension_t)size
position: (of_point_t)position
fullscreen: (BOOL)fullscreen
resizable: (BOOL)resizable;
- (void)setWindowTitle: (OFString*)title;
- (void)update;
- (ALLEGRO_DISPLAY*)OGK_allegroDisplay;
@end
|