summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorewew ukek <ewewukek@gmail.com>2024-09-23 20:28:13 +0000
committerFedja Beader <fedja@protonmail.ch>2024-09-23 20:28:13 +0000
commitf9e62010fb73efb22476c64fe13947b0437b7633 (patch)
treed62f5fa36585331a3ade2c3ca067638cd4b989a8 /src/gui/widgets
parent8dc4ae48a375a1f217d13bcc356eb1aebed546a6 (diff)
downloadmv-f9e62010fb73efb22476c64fe13947b0437b7633.tar.gz
mv-f9e62010fb73efb22476c64fe13947b0437b7633.tar.bz2
mv-f9e62010fb73efb22476c64fe13947b0437b7633.tar.xz
mv-f9e62010fb73efb22476c64fe13947b0437b7633.zip
Show MP bar below HP bar
Adds a light blue bar for MP below player's HP bar. It shows only if M.Atk is above 0. I didn't add a checkbox to the settings to disable this, let me know if I should. Squashed with: * Sneak in another TODO * Sneak in a TODO **** mana/plus!68 Co-authored-by: Fedja Beader <fedja@protonmail.ch>
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_colors.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp
index 0fde9b1f6..71cebc71d 100644
--- a/src/gui/widgets/tabs/setup_colors.cpp
+++ b/src/gui/widgets/tabs/setup_colors.cpp
@@ -367,6 +367,8 @@ void Setup_Colors::valueChanged(const SelectionEvent &event A_UNUSED)
case UserColorId::ELEMENTAL_HP_BG:
case UserColorId::PLAYER_HP_FG:
case UserColorId::PLAYER_HP_BG:
+ case UserColorId::PLAYER_MP_FG:
+ case UserColorId::PLAYER_MP_BG:
case UserColorId::FLOOR_ITEM_TEXT:
case UserColorId::NET:
// TRANSLATORS: colors tab. label.