Changeset 40995d3 in opengl-game for game-gui.hpp
- Timestamp:
- Oct 1, 2019, 3:14:06 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 4d84c72
- Parents:
- 7563b8a (diff), a0da009 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui.hpp
r7563b8a r40995d3 4 4 #include <string> 5 5 #include <vector> 6 7 // TODO: Remove the line below once the couts in the game-gui-* files are moved8 #include <iostream>9 6 10 7 #ifdef GAMEGUI_INCLUDE_VULKAN … … 21 18 UI_EVENT_MOUSEBUTTONDOWN, 22 19 UI_EVENT_MOUSEBUTTONUP, 23 UI_EVENT_MOUSEMOTION 20 UI_EVENT_MOUSEMOTION, 21 UI_EVENT_UNKNOWN 24 22 }; 25 23 … … 35 33 struct MouseEvent { 36 34 EventType type; 35 /* 36 int button; 37 int action; 38 int x; 39 int y; 40 */ 41 }; 42 43 struct UnknownEvent { 44 EventType type; 45 unsigned int eventType; 37 46 }; 38 47 … … 42 51 KeyEvent key; 43 52 MouseEvent mouse; 53 UnknownEvent unknown; 44 54 }; 45 46 /*47 struct MouseEvent {48 int button;49 int action;50 int x;51 int y;52 };53 */54 55 55 56 class GameGui {
Note:
See TracChangeset
for help on using the changeset viewer.