aboutsummaryrefslogtreecommitdiff
path: root/include/saffron_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/saffron_button.h')
-rw-r--r--include/saffron_button.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/saffron_button.h b/include/saffron_button.h
new file mode 100644
index 0000000..3112edf
--- /dev/null
+++ b/include/saffron_button.h
@@ -0,0 +1,11 @@
+#ifndef SAFFRON_BUTTON_H
+#define SAFFRON_BUTTON_H
+
+#include "saffron_widget.h"
+
+typedef struct {
+ SaffronWidget base; // must be first, or we're f**ked
+ const char* label;
+} SaffronButton;
+
+#endif