mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-18 16:32:32 +02:00
22 lines
362 B
C++
22 lines
362 B
C++
|
#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
|