Changeset 0e09340 in opengl-game for game-gui-sdl.cpp
- Timestamp:
- Sep 27, 2019, 8:21:48 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- fa9fa1c
- Parents:
- 6fc24c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-sdl.cpp
r6fc24c7 r0e09340 93 93 break; 94 94 case SDL_WINDOWEVENT: 95 event->type = UI_EVENT_WINDOW; 95 if (e.window.event == SDL_WINDOWEVENT_SIZE_CHANGED || 96 e.window.event == SDL_WINDOWEVENT_MINIMIZED || 97 e.window.event == SDL_WINDOWEVENT_MAXIMIZED) { 98 event->type = UI_EVENT_WINDOWRESIZE; 99 } else { 100 event->type = UI_EVENT_WINDOW; 101 } 96 102 break; 97 103 case SDL_KEYUP:
Note:
See TracChangeset
for help on using the changeset viewer.