From bdc6e6af796440f06b37f204aedc40d9220f975d Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sun, 23 Feb 2025 22:22:02 -0500 Subject: set window title --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 847209a..4660c49 100644 --- a/main.c +++ b/main.c @@ -51,7 +51,7 @@ main(void) { /* Init microui. */ static mu_Context ctx; mu_init(&ctx); - r_init(&ctx); + r_init(&ctx, TITLE); set_style(&ctx); /* Init data structures. */ @@ -115,5 +115,6 @@ main_window(mu_Context *ctx, UI *ui) { static char buf[64]; snprintf(buf, sizeof(buf), "%lf", value); mu_label(ctx, buf); + mu_label(ctx, "abcdefghijklmnopqrstuvwxyz0123456789"); mu_end_window(ctx); } -- cgit v1.2.3