diff examples/example-cursor/example-cursor.c @ 508:7f7602bae0bd

examples: minor touches
author David Demelier <markand@malikania.fr>
date Fri, 03 Mar 2023 19:45:00 +0100
parents 41267f6e344d
children f45a023f6690
line wrap: on
line diff
--- a/examples/example-cursor/example-cursor.c	Thu Mar 02 21:36:43 2023 +0100
+++ b/examples/example-cursor/example-cursor.c	Fri Mar 03 19:45:00 2023 +0100
@@ -42,8 +42,7 @@
 static struct mlk_label help = {
 	.x = 10,
 	.y = 10,
-	.text = help_text,
-	.flags = MLK_LABEL_FLAGS_SHADOW
+	.text = help_text
 };
 
 static void
@@ -106,7 +105,7 @@
 {
 	(void)st;
 
-	mlk_painter_set_color(0xebede9ff);
+	mlk_painter_set_color(MLK_EXAMPLE_BG);
 	mlk_painter_clear();
 	mlk_label_draw(&help);
 	mlk_painter_present();