Changeset 27c40ce in opengl-game for game-gui.hpp
- Timestamp:
- Sep 12, 2019, 3:29:50 AM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 7bf5433
- Parents:
- 39278a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui.hpp
r39278a8 r27c40ce 14 14 using namespace std; 15 15 16 /* 17 struct MouseEvent { 18 int button; 19 int action; 20 int x; 21 int y; 22 }; 23 */ 24 16 25 class GameGui { 17 26 public: … … 26 35 virtual void destroyWindow() = 0; 27 36 37 /* 38 virtual void processEvents() = 0; 39 40 virtual int pollMouseEvent(MouseEvent* event) = 0; 41 42 virtual unsigned char getKeyEvent(unsigned int key) = 0; 43 virtual bool isKeyPressed(unsigned int key) = 0; 44 */ 45 28 46 #ifdef GAMEGUI_INCLUDE_VULKAN 29 47 virtual bool createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) = 0;
Note:
See TracChangeset
for help on using the changeset viewer.