From 4ae48304b2290b6c835eb3d937bd5e905ce0e5d4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 25 Oct 2020 21:42:51 +0100 Subject: Added on-demand font loading --- apps/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/window.c') 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; -- cgit v1.2.3