projects
/
vrfileman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added more options
[vrfileman]
/
src
/
main.cc
diff --git
a/src/main.cc
b/src/main.cc
index
7e700a6
..
d7dea97
100644
(file)
--- a/
src/main.cc
+++ b/
src/main.cc
@@
-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;