Use flags for -[OGKDisplay init...].
This commit is contained in:
parent
b72b6c8ac7
commit
c2baff8cd6
3 changed files with 26 additions and 19 deletions
|
@ -87,10 +87,11 @@ OF_APPLICATION_DELEGATE(TestMain)
|
|||
|
||||
- (void)applicationDidFinishLaunching
|
||||
{
|
||||
ogk_display_flags_t flags = OGK_DISPLAY_FLAGS_RESIZABLE;
|
||||
|
||||
display = [[OGKDisplay alloc] initWithSize: of_dimension(640, 480)
|
||||
position: of_point(200, 200)
|
||||
fullscreen: NO
|
||||
resizable: NO];
|
||||
flags: flags];
|
||||
display.size = of_dimension(800, 600);
|
||||
display.windowPosition = of_point(100, 100);
|
||||
display.windowTitle = @"ObjGameKit test";
|
||||
|
|
Reference in a new issue