changeset 497:8d5a266a1774

ui: ui -> mlk_ui
author David Demelier <markand@malikania.fr>
date Tue, 28 Feb 2023 13:42:24 +0100
parents ebe4bfe42fcc
children 41267f6e344d
files examples/example-animation/example-animation.c examples/example-audio/example-audio.c examples/example-cursor/example-cursor.c examples/example-debug/example-debug.c examples/example-drawable/example-drawable.c examples/example-font/example-font.c examples/example-gridmenu/example-gridmenu.c examples/example-label/example-label.c examples/example-message/example-message.c examples/example-notify/example-notify.c examples/example-sprite/example-sprite.c examples/example-trace/example-trace.c examples/example-ui/example-ui.c libmlk-example/mlk/example/example.c libmlk-ui/mlk/ui/ui.c libmlk-ui/mlk/ui/ui.h
diffstat 16 files changed, 19 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/examples/example-animation/example-animation.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-animation/example-animation.c	Tue Feb 28 13:42:24 2023 +0100
@@ -129,7 +129,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-audio/example-audio.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-audio/example-audio.c	Tue Feb 28 13:42:24 2023 +0100
@@ -69,7 +69,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-cursor/example-cursor.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-cursor/example-cursor.c	Tue Feb 28 13:42:24 2023 +0100
@@ -131,7 +131,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-debug/example-debug.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-debug/example-debug.c	Tue Feb 28 13:42:24 2023 +0100
@@ -96,7 +96,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-drawable/example-drawable.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-drawable/example-drawable.c	Tue Feb 28 13:42:24 2023 +0100
@@ -186,7 +186,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-font/example-font.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-font/example-font.c	Tue Feb 28 13:42:24 2023 +0100
@@ -131,7 +131,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-gridmenu/example-gridmenu.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-gridmenu/example-gridmenu.c	Tue Feb 28 13:42:24 2023 +0100
@@ -52,7 +52,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-label/example-label.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-label/example-label.c	Tue Feb 28 13:42:24 2023 +0100
@@ -125,7 +125,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-message/example-message.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-message/example-message.c	Tue Feb 28 13:42:24 2023 +0100
@@ -58,7 +58,7 @@
 {
 	mlk_window_finish();
 	rpg_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-notify/example-notify.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-notify/example-notify.c	Tue Feb 28 13:42:24 2023 +0100
@@ -112,7 +112,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-sprite/example-sprite.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-sprite/example-sprite.c	Tue Feb 28 13:42:24 2023 +0100
@@ -144,7 +144,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-trace/example-trace.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-trace/example-trace.c	Tue Feb 28 13:42:24 2023 +0100
@@ -111,7 +111,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/examples/example-ui/example-ui.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/examples/example-ui/example-ui.c	Tue Feb 28 13:42:24 2023 +0100
@@ -270,7 +270,7 @@
 quit(void)
 {
 	mlk_window_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
 
--- a/libmlk-example/mlk/example/example.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/libmlk-example/mlk/example/example.c	Tue Feb 28 13:42:24 2023 +0100
@@ -38,7 +38,7 @@
 
 	if ((err = mlk_core_init("fr.malikania", name)) < 0)
 		return err;
-	if ((err = ui_init()) < 0)
+	if ((err = mlk_ui_init()) < 0)
 		return err;
 	if ((err = rpg_init()) < 0)
 		return err;
@@ -55,6 +55,6 @@
 {
 	mlk_window_finish();
 	rpg_finish();
-	ui_finish();
+	mlk_ui_finish();
 	mlk_core_finish();
 }
--- a/libmlk-ui/mlk/ui/ui.c	Tue Feb 28 13:41:18 2023 +0100
+++ b/libmlk-ui/mlk/ui/ui.c	Tue Feb 28 13:42:24 2023 +0100
@@ -20,13 +20,13 @@
 #include "ui.h"
 
 int
-ui_init(void)
+mlk_ui_init(void)
 {
 	return mlk_theme_init();
 }
 
 void
-ui_finish(void)
+mlk_ui_finish(void)
 {
 	mlk_theme_finish();
 }
--- a/libmlk-ui/mlk/ui/ui.h	Tue Feb 28 13:41:18 2023 +0100
+++ b/libmlk-ui/mlk/ui/ui.h	Tue Feb 28 13:42:24 2023 +0100
@@ -24,10 +24,10 @@
 MLK_CORE_BEGIN_DECLS
 
 int
-ui_init(void);
+mlk_ui_init(void);
 
 void
-ui_finish(void);
+mlk_ui_finish(void);
 
 MLK_CORE_END_DECLS