1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00
openrw/rwgame/RWImGui.hpp
2019-05-22 23:33:17 +01:00

24 lines
424 B
C++

#ifndef RWGAME_RWIMGUI_HPP
#define RWGAME_RWIMGUI_HPP
#include <SDL.h>
class RWGame;
struct ImGuiContext;
class ViewCamera;
class RWImGui {
RWGame &_game;
ImGuiContext *_context = nullptr;
public:
RWImGui(RWGame &game);
~RWImGui();
void init();
void destroy();
bool processEvent(SDL_Event &event);
void startFrame();
void endFrame(const ViewCamera &);
};
#endif // RWGAME_RWIMGUI_HPP