Changeset 429ac01 in opengl-game
- Timestamp:
- Mar 7, 2021, 11:13:29 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 40eb092
- Parents:
- 5192672
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-sdl.cpp
r5192672 r429ac01 138 138 case SDL_TEXTEDITING: 139 139 case SDL_MOUSEWHEEL: 140 event->type = UI_EVENT_UN KNOWN;140 event->type = UI_EVENT_UNHANDLED; 141 141 break; 142 142 default: -
game-gui.hpp
r5192672 r429ac01 27 27 UI_EVENT_MOUSEBUTTONUP, 28 28 UI_EVENT_MOUSEMOTION, 29 UI_EVENT_UNHANDLED, 29 30 UI_EVENT_UNKNOWN 30 31 }; … … 60 61 }; 61 62 62 struct UnknownEvent {63 EventType type;64 };65 66 63 // TODO: Switch from union to std::variant 67 64 … … 72 69 MouseEvent mouse; 73 70 WindowResizeEvent windowResize; 74 UnknownEvent unknown;75 71 }; 76 72
Note:
See TracChangeset
for help on using the changeset viewer.