1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-18 16:32:32 +02:00
openrw/rwgame/RWImGui.hpp

22 lines
362 B
C++
Raw Normal View History

2018-12-20 20:31:14 +01:00
#ifndef RWGAME_RWIMGUI_HPP
#define RWGAME_RWIMGUI_HPP
#include <SDL.h>
class RWGame;
struct ImGuiContext;
class RWImGui {
RWGame &_game;
ImGuiContext *_context = nullptr;
public:
RWImGui(RWGame &game);
~RWImGui();
void init();
void destroy();
bool process_event(SDL_Event &event);
void tick();
};
#endif // RWGAME_RWIMGUI_HPP