diff libmlk-ui/mlk/ui/theme.c @ 488:441c37e7474f

ui: button -> mlk_button
author David Demelier <markand@malikania.fr>
date Tue, 28 Feb 2023 13:12:05 +0100
parents ca30ff96bbe0
children ad6e9970a191
line wrap: on
line diff
--- a/libmlk-ui/mlk/ui/theme.c	Tue Feb 28 13:08:58 2023 +0100
+++ b/libmlk-ui/mlk/ui/theme.c	Tue Feb 28 13:12:05 2023 +0100
@@ -55,7 +55,7 @@
 	.padding = 10,
 	.draw_frame = frame_draw_default,
 	.draw_label = label_draw_default,
-	.draw_button = button_draw_default,
+	.draw_button = mlk_button_draw_default,
 	.draw_checkbox = checkbox_draw_default
 };
 
@@ -130,7 +130,7 @@
 }
 
 void
-theme_draw_button(const struct theme *t, const struct button *button)
+theme_draw_button(const struct theme *t, const struct mlk_button *button)
 {
 	assert(button);