summaryrefslogtreecommitdiff
path: root/Runtime/IMGUI/GUIButton.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/IMGUI/GUIButton.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/IMGUI/GUIButton.h')
-rw-r--r--Runtime/IMGUI/GUIButton.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Runtime/IMGUI/GUIButton.h b/Runtime/IMGUI/GUIButton.h
new file mode 100644
index 0000000..29b2404
--- /dev/null
+++ b/Runtime/IMGUI/GUIButton.h
@@ -0,0 +1,16 @@
+#ifndef GUIBUTTON_H
+#define GUIBUTTON_H
+
+#include "Runtime/Math/Rect.h"
+
+struct GUIState;
+struct GUIContent;
+class GUIStyle;
+
+namespace IMGUI
+{
+ bool GUIButton (GUIState &state, const Rectf &position, GUIContent &content, GUIStyle &style, int id);
+ bool GUIButton (GUIState &state, const Rectf &position, GUIContent &content, GUIStyle &style);
+}
+
+#endif