Changeset a6f6833 in opengl-game for game-gui.hpp
- Timestamp:
- Sep 15, 2019, 5:27:13 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 92cbc6a
- Parents:
- 09e15a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui.hpp
r09e15a4 ra6f6833 67 67 virtual int pollEvent(UIEvent* event) = 0; 68 68 69 /* 70 virtual void processEvents() = 0; 71 72 virtual int pollMouseEvent(MouseEvent* event) = 0; 73 74 virtual unsigned char getKeyEvent(unsigned int key) = 0; 75 virtual bool isKeyPressed(unsigned int key) = 0; 76 */ 69 virtual void refreshWindowSize() = 0; 70 virtual int getWindowWidth() = 0; 71 virtual int getWindowHeight() = 0; 77 72 78 73 #ifdef GAMEGUI_INCLUDE_VULKAN 79 74 virtual bool createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) = 0; 75 virtual vector<const char*> getRequiredExtensions() = 0; 80 76 #endif 81 82 virtual vector<const char*> getRequiredExtensions() = 0;83 virtual void getWindowSize(int* width, int* height) = 0;84 77 }; 85 78
Note:
See TracChangeset
for help on using the changeset viewer.