diff examples/example-notify/example-notify.c @ 494:35cc5d51bcb2

ui: notify -> mlk_notify
author David Demelier <markand@malikania.fr>
date Tue, 28 Feb 2023 13:32:01 +0100
parents fce3b3c4b496
children 8d5a266a1774
line wrap: on
line diff
--- a/examples/example-notify/example-notify.c	Tue Feb 28 13:26:53 2023 +0100
+++ b/examples/example-notify/example-notify.c	Tue Feb 28 13:32:01 2023 +0100
@@ -67,7 +67,7 @@
 		break;
 	case MLK_EVENT_KEYDOWN:
 		if (ev->key.key == MLK_KEY_SPACE)
-			notify(icon, "Quest", "Quest finished.");
+			mlk_notify(icon, "Quest", "Quest finished.");
 		break;
 	default:
 		break;
@@ -79,7 +79,7 @@
 {
 	(void)st;
 
-	notify_update(ticks);
+	mlk_notify_update(ticks);
 }
 
 static void
@@ -90,7 +90,7 @@
 	mlk_painter_set_color(0xffffffff);
 	mlk_painter_clear();
 	mlk_label_draw(&help);
-	notify_draw();
+	mlk_notify_draw();
 	mlk_painter_present();
 }