Changeset 7fc5e27 in opengl-game for game-gui.hpp
- Timestamp:
- Sep 3, 2019, 7:07:39 PM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- b6e60b4
- Parents:
- 1ce9afe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui.hpp
r1ce9afe r7fc5e27 18 18 virtual ~GameGui() {}; 19 19 20 virtual string& GetError() = 0;20 virtual string& getError() = 0; 21 21 22 virtual bool Init() = 0;23 virtual void Shutdown() = 0;22 virtual bool init() = 0; 23 virtual void shutdown() = 0; 24 24 25 virtual void* CreateWindow(const string& title, unsigned int width, unsignedint height, bool fullscreen) = 0;26 virtual void DestroyWindow() = 0;25 virtual void* createWindow(const string& title, int width, int height, bool fullscreen) = 0; 26 virtual void destroyWindow() = 0; 27 27 28 28 #ifdef GAMEGUI_INCLUDE_VULKAN 29 virtual bool CreateVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) = 0;29 virtual bool createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) = 0; 30 30 #endif 31 31 32 virtual vector<const char*> GetRequiredExtensions() = 0;33 virtual void GetWindowSize(int* width, int* height) = 0;32 virtual vector<const char*> getRequiredExtensions() = 0; 33 virtual void getWindowSize(int* width, int* height) = 0; 34 34 }; 35 35
Note:
See TracChangeset
for help on using the changeset viewer.