aboutsummaryrefslogtreecommitdiff
path: root/include/mgui/richtext.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-09-28 20:10:07 +0200
committerdec05eba <dec05eba@protonmail.com>2023-01-11 15:23:39 +0100
commita338adecd93b328816b4a3ff51bfb278377c7cf9 (patch)
tree6abd7791bae10213d34b7a2928f08f4f77190fc0 /include/mgui/richtext.h
parent44e987c8521a99519350a42292bcfcd28451dcbd (diff)
margin, scroll, richtextHEADmaster
Diffstat (limited to 'include/mgui/richtext.h')
-rw-r--r--include/mgui/richtext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mgui/richtext.h b/include/mgui/richtext.h
index f3b07a5..98b46c6 100644
--- a/include/mgui/richtext.h
+++ b/include/mgui/richtext.h
@@ -21,7 +21,8 @@ typedef struct {
mgl_vec2i position;
mgl_vec2i render_size;
int width;
- mgui_richtext_vertex_data vertex_data[2];
+ mgui_richtext_vertex_data vertex_data[2]; /* size should match NUM_VERTEX_DATA */
+ /* TODO: Turn bools into flags */
bool dirty;
bool vertices_dirty;
} mgui_richtext;