added more options
[vrfileman] / src / main.cc
index 7e700a6..d7dea97 100644 (file)
@@ -72,6 +72,16 @@ break_evloop:
        return 0;
 }
 
+void app_resize(int x, int y)
+{
+       SDL_SetWindowSize(win, x, y);
+}
+
+void app_fullscreen(int fs)
+{
+       SDL_SetWindowFullscreen(win, fs ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0);
+}
+
 void app_quit()
 {
        quit = true;