summaryrefslogtreecommitdiff
path: root/src/widget/widget.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-12-15 13:29:05 +0800
committerchai <chaifix@163.com>2019-12-15 13:29:05 +0800
commita0b8ef3d482c965901f094879a79dd9c5fd8245c (patch)
tree1a28d49dc7a6bf0a279f10569cd7e40f3aaaedaa /src/widget/widget.h
parent749bbc6a54e50c297ab49d9e515a3679651d1461 (diff)
*misc
Diffstat (limited to 'src/widget/widget.h')
-rw-r--r--src/widget/widget.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/widget/widget.h b/src/widget/widget.h
new file mode 100644
index 0000000..a4b329e
--- /dev/null
+++ b/src/widget/widget.h
@@ -0,0 +1,21 @@
+#ifndef _SOFTSHADEROOM_WIDGET_H_
+#define _SOFTSHADEROOM_WIDGET_H_
+
+#include "../core/texture.h"
+
+typedef struct {
+ uint control_id;
+} Widget;
+
+typedef struct {
+ Widget base;
+ Texture* normal;
+ Texture* down;
+} Button;
+
+typedef struct {
+ Widget base;
+
+} RadioButton;
+
+#endif \ No newline at end of file