From bcdc5c98b356d926939b226a3962d97763295d3b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 18 Dec 2021 19:28:54 +0000 Subject: Window handles UIComponent rendering --- ui/uiComponent.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ui/uiComponent.h (limited to 'ui/uiComponent.h') 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 -- cgit v1.2.3