Mercurial > molko
comparison libui/ui/label.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 | 9733d379be89 |
children | 1008a796a9e7 |
comparison
equal
deleted
inserted
replaced
150:9733d379be89 | 151:b19d076856d2 |
---|---|
53 enum align align; /*!< (+) How to positionate label. */ | 53 enum align align; /*!< (+) How to positionate label. */ |
54 struct theme *theme; /*!< (+&?) Theme to use. */ | 54 struct theme *theme; /*!< (+&?) Theme to use. */ |
55 }; | 55 }; |
56 | 56 |
57 /** | 57 /** |
58 * Default drawing function. | |
59 * | |
60 * \pre t != NULL | |
61 * \pre label != NULL | |
62 * \param t the theme | |
63 * \param label the label | |
64 */ | |
65 void | |
66 label_draw_default(struct theme *t, const struct label *label); | |
67 | |
68 /** | |
58 * Draw the label. | 69 * Draw the label. |
59 * | 70 * |
60 * \pre label != NULL | 71 * \pre label != NULL |
61 * \param label the label to draw | 72 * \param label the label to draw |
62 */ | 73 */ |