Mercurial > molko
comparison libui/ui/button.h @ 151:b19d076856d2
ui: cleanup theme module, closes #2498
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 15 Oct 2020 14:01:24 +0200 |
parents | c577c15df07f |
children | 1008a796a9e7 |
comparison
equal
deleted
inserted
replaced
150:9733d379be89 | 151:b19d076856d2 |
---|---|
72 */ | 72 */ |
73 void | 73 void |
74 button_reset(struct button *button); | 74 button_reset(struct button *button); |
75 | 75 |
76 /** | 76 /** |
77 * Default drawing function. | |
78 * | |
79 * \pre t != NULL | |
80 * \pre frame != NULL | |
81 * \param t the theme | |
82 * \param button the button | |
83 */ | |
84 void | |
85 button_draw_default(struct theme *t, const struct button *button); | |
86 | |
87 /** | |
77 * Draw the button. | 88 * Draw the button. |
78 * | 89 * |
79 * \pre button != NULL | 90 * \pre button != NULL |
80 * \param button the button | 91 * \param button the button |
81 */ | 92 */ |