Changeset a6f6833 in opengl-game for game-gui-sdl.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-sdl.hpp
r09e15a4 ra6f6833 7 7 #include <SDL2/SDL_image.h> 8 8 #include <SDL2/SDL_ttf.h> 9 #include <SDL2/SDL_vulkan.h> 9 10 #ifdef GAMEGUI_INCLUDE_VULKAN 11 #include <SDL2/SDL_vulkan.h> 12 #endif 10 13 11 14 class GameGui_SDL : public GameGui { … … 22 25 int pollEvent(UIEvent* event); 23 26 27 void refreshWindowSize(); 28 int getWindowWidth(); 29 int getWindowHeight(); 30 24 31 #ifdef GAMEGUI_INCLUDE_VULKAN 25 32 bool createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface); 33 vector<const char*> getRequiredExtensions(); 26 34 #endif 27 28 vector<const char*> getRequiredExtensions();29 void getWindowSize(int* width, int* height);30 35 31 36 private: 32 37 SDL_Window* window; 38 int windowWidth, windowHeight; 33 39 34 40 static string s_errorMessage;
Note:
See TracChangeset
for help on using the changeset viewer.