summaryrefslogtreecommitdiffstats
path: root/src/Render.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Render.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Render.hpp b/src/Render.hpp
index 8e2e233..a8c437c 100644
--- a/src/Render.hpp
+++ b/src/Render.hpp
@@ -13,6 +13,12 @@
class RendererWorld;
class Framebuffer;
+class RmlRenderInterface;
+class RmlSystemInterface;
+namespace Rml
+{
+ class Context;
+}
class Render {
SDL_Window *window;
@@ -43,6 +49,9 @@ class Render {
bool fieldFlight;
float fieldBrightness;
float fieldResolutionScale;
+ std::unique_ptr<RmlRenderInterface> rmlRender;
+ std::unique_ptr<RmlSystemInterface> rmlSystem;
+ Rml::Context* rmlContext;
void SetMouseCapture(bool IsCaptured);
@@ -64,6 +73,8 @@ class Render {
void InitEvents();
+ void InitRml();
+
public:
Render(unsigned int windowWidth, unsigned int windowHeight, std::string windowTitle);
~Render();