Changeset 429ac01 in opengl-game for game-gui.hpp
- Timestamp:
- Mar 7, 2021, 11:13:29 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 40eb092
- Parents:
- 5192672
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.