summaryrefslogtreecommitdiffstats
path: root/src/RendererWidget.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/RendererWidget.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/RendererWidget.hpp b/src/RendererWidget.hpp
new file mode 100644
index 0000000..a979c88
--- /dev/null
+++ b/src/RendererWidget.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "Renderer.hpp"
+#include "Widget.hpp"
+#include "Shader.hpp"
+
+class RendererWidget {
+ RootWidget *tree;
+
+public:
+ RendererWidget(RootWidget *widget);
+ ~RendererWidget();
+
+ void Render(RenderState &state);
+}; \ No newline at end of file