aboutsummaryrefslogtreecommitdiff
path: root/include/mgui/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgui/button.h')
-rw-r--r--include/mgui/button.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mgui/button.h b/include/mgui/button.h
index aefc3fe..d9e8783 100644
--- a/include/mgui/button.h
+++ b/include/mgui/button.h
@@ -1,14 +1,14 @@
#ifndef MGUI_BUTTON_H
#define MGUI_BUTTON_H
+#include "widget.h"
#include <mgl/graphics/rectangle.h>
#include <mgl/graphics/text.h>
-#include "widget.h"
typedef struct {
mgui_widget widget;
mgl_rectangle background;
- mgl_text label;
+ mgl_text text;
} mgui_button;
mgui_button* mgui_button_create();