source: opengl-game/game-gui.hpp@ ed7c953

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

Change all game-gui function names to lower camel case

  • Property mode set to 100644
File size: 849 bytes
RevLine 
[0e6ecf3]1#ifndef _GAME_GUI_H
2#define _GAME_GUI_H
3
[9546928]4#include <string>
5#include <vector>
6
[4eb4d0a]7#ifdef GAMEGUI_INCLUDE_VULKAN
8 #include <vulkan/vulkan.h>
9#endif
[0e6ecf3]10
[1ce9afe]11// TODO: Remove the line below once the couts in the game-gui-* files are moved
12#include <iostream>
13
[0e6ecf3]14using namespace std;
15
[f898c5f]16class GameGui {
17 public:
[98f3232]18 virtual ~GameGui() {};
19
[7fc5e27]20 virtual string& getError() = 0;
[d5f2b42]21
[7fc5e27]22 virtual bool init() = 0;
23 virtual void shutdown() = 0;
[0e6ecf3]24
[7fc5e27]25 virtual void* createWindow(const string& title, int width, int height, bool fullscreen) = 0;
26 virtual void destroyWindow() = 0;
[0e6ecf3]27
[4eb4d0a]28#ifdef GAMEGUI_INCLUDE_VULKAN
[7fc5e27]29 virtual bool createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) = 0;
[4eb4d0a]30#endif
31
[7fc5e27]32 virtual vector<const char*> getRequiredExtensions() = 0;
33 virtual void getWindowSize(int* width, int* height) = 0;
[0e6ecf3]34};
35
36#endif // _GAME_GUI_H
Note: See TracBrowser for help on using the repository browser.