summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-28 12:24:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-28 12:24:17 +0300
commit18b52b14b247f693827accf8914a1052fee1cf8d (patch)
tree8ceb7736b9234df1eba5d1b5160fd9b3f2f52674 /src/gui/userpalette.cpp
parent972d2c8c815d8b8f7bd8648d8480b9461c435ea1 (diff)
downloadmv-18b52b14b247f693827accf8914a1052fee1cf8d.tar.gz
mv-18b52b14b247f693827accf8914a1052fee1cf8d.tar.bz2
mv-18b52b14b247f693827accf8914a1052fee1cf8d.tar.xz
mv-18b52b14b247f693827accf8914a1052fee1cf8d.zip
Add pets minimap color.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r--src/gui/userpalette.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index 04b1c15d4..d6135bd00 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -73,7 +73,8 @@ const std::string ColorTypeNames[] =
"ColorHomePlace",
"ColorHomePlaceBorder",
"ColorRoadPoint",
- "ColorNet"
+ "ColorNet",
+ "ColorPet"
};
std::string UserPalette::getConfigName(const std::string &typeName)
@@ -214,6 +215,8 @@ UserPalette::UserPalette() :
addColor(NET, 0x000000, STATIC,
// TRANSLATORS: palette color
_("Tiles border"), 64);
+ // TRANSLATORS: palette color
+ addColor(PET, 0xffffff, STATIC, _("Pets"));
commit(true);
}