aboutsummaryrefslogtreecommitdiff
path: root/libs/libgui/widgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libgui/widgets.h')
-rw-r--r--libs/libgui/widgets.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/libgui/widgets.h b/libs/libgui/widgets.h
new file mode 100644
index 0000000..64862f0
--- /dev/null
+++ b/libs/libgui/widgets.h
@@ -0,0 +1,14 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#ifndef WIDGETS_H
+#define WIDGETS_H
+
+#include <libgui/gfx.h>
+#include <libgui/gui.h>
+
+void gui_button_custom(u32 window, u32 widget, vec2 pos, enum font_type font_type, u32 bg, u32 fg,
+ void (*click)(struct gui_event_mouse *event), const char *text);
+void gui_button(u32 window, u32 widget, void (*click)(struct gui_event_mouse *event),
+ const char *text);
+
+#endif