diff options
author | ewew ukek <ewewukek@gmail.com> | 2024-04-05 00:07:00 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-04-05 00:07:00 +0000 |
commit | 6e9ca1f29fdcc3ebc80b8e5b70ca42f1e77050a9 (patch) | |
tree | f99f6ad9772efae7acda99bdfcab11df307386d4 /src/gui/userpalette.cpp | |
parent | 269c4a66ae940dee51ebf6625e9756f4de86f967 (diff) | |
download | manaplus-6e9ca1f29fdcc3ebc80b8e5b70ca42f1e77050a9.tar.gz manaplus-6e9ca1f29fdcc3ebc80b8e5b70ca42f1e77050a9.tar.bz2 manaplus-6e9ca1f29fdcc3ebc80b8e5b70ca42f1e77050a9.tar.xz manaplus-6e9ca1f29fdcc3ebc80b8e5b70ca42f1e77050a9.zip |
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
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r-- | src/gui/userpalette.cpp | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp index ca86fbb28..8ad436a60 100644 --- a/src/gui/userpalette.cpp +++ b/src/gui/userpalette.cpp @@ -284,65 +284,66 @@ UserPalette::UserPalette() : addLabel(UserColorId::LABEL_HP, // TRANSLATORS: palette label _("Hp bars")); - addColor(UserColorId::PLAYER_HP, + addColor(UserColorId::PLAYER_HP_FG, 0x00ff00, GradientType::STATIC, // TRANSLATORS: palette color - _("Player HP bar"), 50); - addColor(UserColorId::PLAYER_HP2, + _("Player HP bar"), + 50); + addColor(UserColorId::PLAYER_HP_BG, 0xff0000, GradientType::STATIC, // TRANSLATORS: palette color - _("Player HP bar (second color)"), + _("Player HP bar (background)"), 50); - addColor(UserColorId::MONSTER_HP, + addColor(UserColorId::MONSTER_HP_FG, 0x00ff00, GradientType::STATIC, // TRANSLATORS: palette color _("Monster HP bar"), 50); - addColor(UserColorId::MONSTER_HP2, + addColor(UserColorId::MONSTER_HP_BG, 0xff0000, GradientType::STATIC, // TRANSLATORS: palette color - _("Monster HP bar (second color)"), + _("Monster HP bar (background)"), 50); - addColor(UserColorId::HOMUN_HP, + addColor(UserColorId::HOMUN_HP_FG, 0x00ff00, GradientType::STATIC, // TRANSLATORS: palette color _("Homunculus HP bar"), 50); - addColor(UserColorId::HOMUN_HP2, + addColor(UserColorId::HOMUN_HP_BG, 0xff0000, GradientType::STATIC, // TRANSLATORS: palette color - _("Homunculus HP bar (second color)"), + _("Homunculus HP bar (background)"), 50); - addColor(UserColorId::MERC_HP, + addColor(UserColorId::MERC_HP_FG, 0x00ff00, GradientType::STATIC, // TRANSLATORS: palette color _("Mercenary HP bar"), 50); - addColor(UserColorId::MERC_HP2, + addColor(UserColorId::MERC_HP_BG, 0xff0000, GradientType::STATIC, // TRANSLATORS: palette color - _("Mercenary HP bar (second color)"), + _("Mercenary HP bar (background)"), 50); - addColor(UserColorId::ELEMENTAL_HP, + addColor(UserColorId::ELEMENTAL_HP_FG, 0x00ff00, GradientType::STATIC, // TRANSLATORS: palette color _("Elemental HP bar"), 50); - addColor(UserColorId::ELEMENTAL_HP2, + addColor(UserColorId::ELEMENTAL_HP_BG, 0xff0000, GradientType::STATIC, // TRANSLATORS: palette color - _("Elemental HP bar (second color)"), + _("Elemental HP bar (background)"), 50); addLabel(UserColorId::LABEL_HITS, // TRANSLATORS: palette label |