diff libmlk-ui/mlk/ui/theme.h @ 491:734b598534c4

ui: frame -> mlk_frame
author David Demelier <markand@malikania.fr>
date Tue, 28 Feb 2023 13:16:47 +0100
parents ad6e9970a191
children 2af25db99273
line wrap: on
line diff
--- a/libmlk-ui/mlk/ui/theme.h	Tue Feb 28 13:14:59 2023 +0100
+++ b/libmlk-ui/mlk/ui/theme.h	Tue Feb 28 13:16:47 2023 +0100
@@ -24,7 +24,7 @@
 struct mlk_button;
 struct mlk_checkbox;
 struct mlk_font;
-struct frame;
+struct mlk_frame;
 struct label;
 struct mlk_sprite;
 
@@ -54,7 +54,7 @@
 	unsigned long colors[THEME_COLOR_NUM];
 	unsigned int padding;
 
-	void (*draw_frame)(const struct theme *, const struct frame *);
+	void (*draw_frame)(const struct theme *, const struct mlk_frame *);
 	void (*draw_label)(const struct theme *, const struct label *);
 	void (*draw_button)(const struct theme *, const struct mlk_button *);
 	void (*draw_checkbox)(const struct theme *t, const struct mlk_checkbox *);
@@ -72,7 +72,7 @@
 theme_shallow(struct theme *, const struct theme *);
 
 void
-theme_draw_frame(const struct theme *, const struct frame *);
+theme_draw_frame(const struct theme *, const struct mlk_frame *);
 
 void
 theme_draw_label(const struct theme *, const struct label *);