|
@@ -26,7 +26,7 @@ int main() { |
|
|
.width = WINDOW_WIDTH, |
|
|
.width = WINDOW_WIDTH, |
|
|
.height = WINDOW_HEIGHT |
|
|
.height = WINDOW_HEIGHT |
|
|
}, |
|
|
}, |
|
|
.style_flags = CBR_WINDOW_STYLE_FLAG_TITLED, |
|
|
|
|
|
|
|
|
.style_flags = CBR_WINDOW_STYLE_FLAG_TITLED | CBR_WINDOW_STYLE_FLAG_CLOSABLE | CBR_WINDOW_STYLE_FLAG_RESIZABLE | CBR_WINDOW_STYLE_FLAG_MINIATURIZABLE | CBR_WINDOW_STYLE_FLAG_FULL_SCREEN, |
|
|
.title = [applicationName cStringUsingEncoding:NSUTF8StringEncoding] |
|
|
.title = [applicationName cStringUsingEncoding:NSUTF8StringEncoding] |
|
|
}); |
|
|
}); |
|
|
[NSApp activateIgnoringOtherApps:YES]; |
|
|
[NSApp activateIgnoringOtherApps:YES]; |
|
|