source: opengl-game/game-gui.hpp@ 2beb6c7

feature/imgui-sdl points-test
Last change on this file since 2beb6c7 was 2beb6c7, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 5 years ago

Move the crash log file definition to consts.hpp

  • Property mode set to 100644
File size: 749 bytes
Line 
1#ifndef _GAME_GUI_H
2#define _GAME_GUI_H
3
4#include <string>
5#include <vector>
6
7#ifdef GAMEGUI_INCLUDE_VULKAN
8 #include <vulkan/vulkan.h>
9#endif
10
11using namespace std;
12
13class GameGui {
14 public:
15 virtual ~GameGui() {};
16
17 virtual string& GetError() = 0;
18
19 virtual bool Init() = 0;
20 virtual void Shutdown() = 0;
21
22 virtual void* CreateWindow(const string& title, unsigned int width, unsigned int height) = 0;
23 virtual void DestroyWindow() = 0;
24
25#ifdef GAMEGUI_INCLUDE_VULKAN
26 virtual bool CreateVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) = 0;
27#endif
28
29 virtual vector<const char*> GetRequiredExtensions() = 0;
30 virtual void GetWindowSize(int* width, int* height) = 0;
31};
32
33#endif // _GAME_GUI_H
Note: See TracBrowser for help on using the repository browser.