summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-30 17:00:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-30 17:00:05 +0300
commitba5fcf25f014adad9a4511797a6c4d13b12e1751 (patch)
treeaebce3da21592970697a3eef1c82de3e10fd6026 /src/gui/userpalette.cpp
parent52282e39f324a852a94c538c33c5197bcc472d31 (diff)
downloadManaVerse-ba5fcf25f014adad9a4511797a6c4d13b12e1751.tar.gz
ManaVerse-ba5fcf25f014adad9a4511797a6c4d13b12e1751.tar.bz2
ManaVerse-ba5fcf25f014adad9a4511797a6c4d13b12e1751.tar.xz
ManaVerse-ba5fcf25f014adad9a4511797a6c4d13b12e1751.zip
add customizable color for tiles separation border.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r--src/gui/userpalette.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index 75b0f5898..ff4789e9a 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -70,7 +70,8 @@ const std::string ColorTypeNames[] =
"ColorFloorItemText",
"ColorHomePlace",
"ColorHomePlaceBorder",
- "ColorRoadPoint"
+ "ColorRoadPoint",
+ "ColorNet"
};
std::string UserPalette::getConfigName(const std::string &typeName)
@@ -208,6 +209,9 @@ UserPalette::UserPalette():
addColor(ROAD_POINT, 0x000000, STATIC,
// TRANSLATORS: palette color
_("Road point"), 100);
+ addColor(NET, 0x000000, STATIC,
+ // TRANSLATORS: palette color
+ _("Tiles border"), 64);
commit(true);
}