From 6e9ca1f29fdcc3ebc80b8e5b70ca42f1e77050a9 Mon Sep 17 00:00:00 2001 From: ewew ukek Date: Fri, 5 Apr 2024 00:07:00 +0000 Subject: Rename hp bar color identifiers for clarity Continuation of https://git.themanaworld.org/mana/plus/-/merge_requests/68#note_12819 I've renamed `*_HP2` to `*_HP_BG` and updated their descriptions. I didn't touch configuration keys intentionally. "Renamed *_HP -> *_HP_FG. Also decided to keep descriptions as is or else they become unreadable." See merge request mana/plus!71 --- src/gui/widgets/tabs/setup_colors.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/gui/widgets/tabs') diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp index 8c8e29467..0fde9b1f6 100644 --- a/src/gui/widgets/tabs/setup_colors.cpp +++ b/src/gui/widgets/tabs/setup_colors.cpp @@ -357,16 +357,16 @@ void Setup_Colors::valueChanged(const SelectionEvent &event A_UNUSED) case UserColorId::COLLISION_HIGHLIGHT: case UserColorId::WALKABLE_HIGHLIGHT: case UserColorId::ROAD_POINT: - case UserColorId::MONSTER_HP: - case UserColorId::MONSTER_HP2: - case UserColorId::HOMUN_HP: - case UserColorId::HOMUN_HP2: - case UserColorId::MERC_HP: - case UserColorId::MERC_HP2: - case UserColorId::ELEMENTAL_HP: - case UserColorId::ELEMENTAL_HP2: - case UserColorId::PLAYER_HP: - case UserColorId::PLAYER_HP2: + case UserColorId::MONSTER_HP_FG: + case UserColorId::MONSTER_HP_BG: + case UserColorId::HOMUN_HP_FG: + case UserColorId::HOMUN_HP_BG: + case UserColorId::MERC_HP_FG: + case UserColorId::MERC_HP_BG: + case UserColorId::ELEMENTAL_HP_FG: + case UserColorId::ELEMENTAL_HP_BG: + case UserColorId::PLAYER_HP_FG: + case UserColorId::PLAYER_HP_BG: case UserColorId::FLOOR_ITEM_TEXT: case UserColorId::NET: // TRANSLATORS: colors tab. label. -- cgit v1.2.3-60-g2f50