diff options
author | chai <chaifix@163.com> | 2021-12-13 00:07:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-13 00:07:19 +0800 |
commit | 60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 (patch) | |
tree | b2c7b0a868f18159dbc43d8954e1bd7668549a88 /Client/Source/GUI/UISquare.h |
+init
Diffstat (limited to 'Client/Source/GUI/UISquare.h')
-rw-r--r-- | Client/Source/GUI/UISquare.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Client/Source/GUI/UISquare.h b/Client/Source/GUI/UISquare.h new file mode 100644 index 0000000..8de07f0 --- /dev/null +++ b/Client/Source/GUI/UISquare.h @@ -0,0 +1,22 @@ +#pragma once +#include "../Utilities/StaticInitiator.h" +#include "UIMesh.h" + +// ´¿É«·½ÐÎ +class UISquare : public UIMesh +{ +public: + UISquare(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; + +}; |