summaryrefslogtreecommitdiff
path: root/ui/uiComponent.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/uiComponent.h')
-rw-r--r--ui/uiComponent.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/uiComponent.h b/ui/uiComponent.h
new file mode 100644
index 0000000..cd21de3
--- /dev/null
+++ b/ui/uiComponent.h
@@ -0,0 +1,12 @@
+#ifndef UICOMPONENT_H
+#define UICOMPONENT_H
+
+class UIShader;
+
+class UIComponent {
+public:
+ virtual ~UIComponent() = default;
+ virtual void render(const UIShader &) const = 0;
+};
+
+#endif