Mercurial > molko
comparison libmlk-ui/mlk/ui/checkbox.h @ 495:2af25db99273
ui: theme -> mlk_theme
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 28 Feb 2023 13:40:55 +0100 |
parents | ad6e9970a191 |
children | a55d0a29f466 |
comparison
equal
deleted
inserted
replaced
494:35cc5d51bcb2 | 495:2af25db99273 |
---|---|
21 | 21 |
22 #include <mlk/core/core.h> | 22 #include <mlk/core/core.h> |
23 | 23 |
24 union mlk_event; | 24 union mlk_event; |
25 | 25 |
26 struct theme; | 26 struct mlk_theme; |
27 | 27 |
28 struct mlk_checkbox { | 28 struct mlk_checkbox { |
29 int x; | 29 int x; |
30 int y; | 30 int y; |
31 unsigned int w; | 31 unsigned int w; |
32 unsigned int h; | 32 unsigned int h; |
33 int checked; | 33 int checked; |
34 const struct theme *theme; | 34 const struct mlk_theme *theme; |
35 }; | 35 }; |
36 | 36 |
37 MLK_CORE_BEGIN_DECLS | 37 MLK_CORE_BEGIN_DECLS |
38 | 38 |
39 void | 39 void |
40 mlk_checkbox_draw_default(const struct theme *, const struct mlk_checkbox *); | 40 mlk_checkbox_draw_default(const struct mlk_theme *, const struct mlk_checkbox *); |
41 | 41 |
42 int | 42 int |
43 mlk_checkbox_handle(struct mlk_checkbox *, const union mlk_event *); | 43 mlk_checkbox_handle(struct mlk_checkbox *, const union mlk_event *); |
44 | 44 |
45 void | 45 void |