aboutsummaryrefslogtreecommitdiff
path: root/apps/window.c
diff options
context:
space:
mode:
authorMarvin Borner2020-10-25 21:42:51 +0100
committerMarvin Borner2020-10-25 21:42:51 +0100
commit4ae48304b2290b6c835eb3d937bd5e905ce0e5d4 (patch)
treea1d6edb02667fb76c2ce03193ccc76ada08ea9f4 /apps/window.c
parent4ec7c19e1567f322b1622ad506290e8eb7a4956d (diff)
Added on-demand font loading
Diffstat (limited to 'apps/window.c')
-rw-r--r--apps/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/window.c b/apps/window.c
index ffd860d..f8e2723 100644
--- a/apps/window.c
+++ b/apps/window.c
@@ -19,7 +19,7 @@ int main()
struct element *container = gui_init("test", 0, 0);
struct element_button *button =
- gui_add_button(container, 10, 10, 100, 20, "hallo", COLOR_RED);
+ gui_add_button(container, 10, 10, FONT_24, "Baum!", COLOR_WHITE, COLOR_BLACK);
button->on_click = on_click;