aboutsummaryrefslogtreecommitdiff
path: root/include/mgui/button.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-12-04 01:37:07 +0100
committerdec05eba <dec05eba@protonmail.com>2021-12-04 01:37:07 +0100
commitd3a5b3d579e30ce02afd5e270dfdd511af195c31 (patch)
tree7d5aaa9d8289e7f8af2d62f796336f207375b610 /include/mgui/button.h
parent9644f3c05b808a3cac3892aae36ffca2cce9357d (diff)
Add image
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();