summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r--src/gui/userpalette.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index 8ad436a60..dbed4a93e 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -64,6 +64,8 @@ const std::string ColorTypeNames[CAST_SIZE(
"",
"ColorPlayerHp",
"ColorPlayerHp2",
+ "ColorPlayerMp",
+ "ColorPlayerMp2",
"ColorMonsterHp",
"ColorMonsterHp2",
"ColorHomunHp",
@@ -296,6 +298,18 @@ UserPalette::UserPalette() :
// TRANSLATORS: palette color
_("Player HP bar (background)"),
50);
+ addColor(UserColorId::PLAYER_MP_FG,
+ 0x00a0ff,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Player MP bar"),
+ 50);
+ addColor(UserColorId::PLAYER_MP_BG,
+ 0x303030,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Player MP bar (background)"),
+ 50);
addColor(UserColorId::MONSTER_HP_FG,
0x00ff00,
GradientType::STATIC,