Explorar el Código

Modify macOS implementation

Add style flags to window.
master
TheoryOfNekomata hace 1 año
padre
commit
80d8113b4f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/main.m

+ 1
- 1
src/main.m Ver fichero

@@ -26,7 +26,7 @@ int main() {
.width = WINDOW_WIDTH,
.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]
});
[NSApp activateIgnoringOtherApps:YES];


Cargando…
Cancelar
Guardar