Changeset 7fc5e27 in opengl-game for game-gui-glfw.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-glfw.hpp
r1ce9afe r7fc5e27 21 21 static bool s_keyDown[NUM_KEYS]; 22 22 23 string& GetError();23 string& getError(); 24 24 25 bool Init();26 void Shutdown();25 bool init(); 26 void shutdown(); 27 27 28 void* CreateWindow(const string& title, unsigned int width, unsignedint height, bool fullscreen);29 void DestroyWindow();28 void* createWindow(const string& title, int width, int height, bool fullscreen); 29 void destroyWindow(); 30 30 31 31 #ifdef GAMEGUI_INCLUDE_VULKAN 32 bool CreateVulkanSurface(VkInstance instance, VkSurfaceKHR* surface);32 bool createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface); 33 33 #endif 34 34 35 vector<const char*> GetRequiredExtensions();36 void GetWindowSize(int* width, int* height);35 vector<const char*> getRequiredExtensions(); 36 void getWindowSize(int* width, int* height); 37 37 38 38 private: 39 39 GLFWwindow* window; 40 41 int windowWidth, windowHeight; 40 42 }; 41 43
Note:
See TracChangeset
for help on using the changeset viewer.