From 04ff8c0a6acc2cc9204492690b7f99f892ed439a Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Tue, 7 Apr 2026 11:13:23 +1200 Subject: Refactor things, and start implementing API widgets --- include/saffron_button.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/saffron_button.h (limited to 'include/saffron_button.h') 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 -- cgit v1.2.3