From 60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 13 Dec 2021 00:07:19 +0800 Subject: +init --- Client/Source/GUI/UIQuad.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Client/Source/GUI/UIQuad.h (limited to 'Client/Source/GUI/UIQuad.h') diff --git a/Client/Source/GUI/UIQuad.h b/Client/Source/GUI/UIQuad.h new file mode 100644 index 0000000..278848a --- /dev/null +++ b/Client/Source/GUI/UIQuad.h @@ -0,0 +1,21 @@ +#pragma once +#include "../Utilities/StaticInitiator.h" +#include "UIMesh.h" + +class UIQuad : public UIMesh +{ +public : + UIQuad(float l, float r, float t, float b) + { + m_Left = l; + m_Right = r; + m_Top = t; + m_Bottom = b; + } + + void Draw() override; + +private: + float m_Left, m_Right, m_Top, m_Bottom; + +}; -- cgit v1.1-26-g67d0