Mercurial > molko
diff libmlk-rpg/mlk/rpg/battle-state-opening.c @ 457:04797b35565c
core: painter -> mlk_painter
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 18 Feb 2023 21:07:02 +0100 |
parents | 773a082f0b91 |
children | 8fa69c770569 |
line wrap: on
line diff
--- a/libmlk-rpg/mlk/rpg/battle-state-opening.c Sat Feb 18 21:03:19 2023 +0100 +++ b/libmlk-rpg/mlk/rpg/battle-state-opening.c Sat Feb 18 21:07:02 2023 +0100 @@ -89,9 +89,9 @@ battle_draw_component(bt, BATTLE_COMPONENT_BACKGROUND | BATTLE_COMPONENT_ENTITIES); /* Draw some bezels opening. */ - painter_set_color(0x000000ff); - painter_draw_rectangle(0, 0, w, h - ch); - painter_draw_rectangle(0, h + ch, w, h - ch); + mlk_painter_set_color(0x000000ff); + mlk_painter_draw_rectangle(0, 0, w, h - ch); + mlk_painter_draw_rectangle(0, h + ch, w, h - ch); } void