Mercurial > molko
diff libmlk-ui/mlk/ui/notify.c @ 493:fce3b3c4b496
ui: label -> mlk_label
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 28 Feb 2023 13:26:53 +0100 |
parents | 734b598534c4 |
children | 35cc5d51bcb2 |
line wrap: on
line diff
--- a/libmlk-ui/mlk/ui/notify.c Tue Feb 28 13:18:23 2023 +0100 +++ b/libmlk-ui/mlk/ui/notify.c Tue Feb 28 13:26:53 2023 +0100 @@ -123,27 +123,27 @@ static void draw_title(const struct geo *geo, const struct notify *n) { - const struct label l = { + const struct mlk_label l = { .x = geo->title_x, .y = geo->title_y, .text = n->title, - .flags = LABEL_FLAGS_SHADOW | LABEL_FLAGS_IMPORTANT + .flags = MLK_LABEL_FLAGS_SHADOW | MLK_LABEL_FLAGS_IMPORTANT }; - label_draw(&l); + mlk_label_draw(&l); } static void draw_body(const struct geo *geo, const struct notify *n) { - const struct label l = { + const struct mlk_label l = { .x = geo->body_x, .y = geo->body_y, .text = n->body, - .flags = LABEL_FLAGS_SHADOW + .flags = MLK_LABEL_FLAGS_SHADOW }; - label_draw(&l); + mlk_label_draw(&l); } static void