83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
-
+
+
+
|
[OGKBitmap clearToColor: OGK_COLOR_BLACK];
[bitmap drawAtPosition: position];
[display update];
}
- (void)applicationDidFinishLaunching
{
ogk_display_flags_t flags = OGK_DISPLAY_FLAGS_RESIZABLE;
ogk_display_flags_t flags =
OGK_DISPLAY_FLAGS_RESIZABLE |
OGK_DISPLAY_FLAGS_VSYNC;
display = [[OGKDisplay alloc] initWithSize: of_dimension(640, 480)
position: of_point(200, 200)
flags: flags];
display.size = of_dimension(800, 600);
display.windowPosition = of_point(100, 100);
display.windowTitle = @"ObjGameKit test";
|