Mercurial > molko
diff libmlk-rpg/mlk/rpg/battle-entity.c @ 504:52a305833381
ui: rework styles
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 01 Mar 2023 14:07:10 +0100 |
parents | fce3b3c4b496 |
children | 6100c643dba0 |
line wrap: on
line diff
--- a/libmlk-rpg/mlk/rpg/battle-entity.c Wed Mar 01 10:51:25 2023 +0100 +++ b/libmlk-rpg/mlk/rpg/battle-entity.c Wed Mar 01 14:07:10 2023 +0100 @@ -32,14 +32,20 @@ static void draw_name(const struct battle_entity *et, const struct battle *bt) { + (void)bt; + struct mlk_label label = et->name; +#if 0 label.theme = BATTLE_THEME(bt); +#endif +#if 0 if (et == battle_current(bt)) label.flags |= MLK_LABEL_FLAGS_SELECTED; else label.flags &= ~MLK_LABEL_FLAGS_SELECTED; +#endif mlk_label_draw(&label); }