summaryrefslogtreecommitdiff
path: root/src/gui/palette.cpp
diff options
context:
space:
mode:
authorMajin Sniper <majinsniper@gmx.de>2009-03-14 15:47:31 +0100
committerIra Rice <irarice@gmail.com>2009-03-14 09:39:26 -0600
commit998a63d41fcb9cc7b9ac04ed20ca02f4f83775c9 (patch)
tree160e61fabced75d93a118456f6012ea0c9112f61 /src/gui/palette.cpp
parent698e166377fa4e7e4e4a971af33458c68bd70809 (diff)
downloadmana-client-998a63d41fcb9cc7b9ac04ed20ca02f4f83775c9.tar.gz
mana-client-998a63d41fcb9cc7b9ac04ed20ca02f4f83775c9.tar.bz2
mana-client-998a63d41fcb9cc7b9ac04ed20ca02f4f83775c9.tar.xz
mana-client-998a63d41fcb9cc7b9ac04ed20ca02f4f83775c9.zip
Code cleanup in the color/palette code
Diffstat (limited to 'src/gui/palette.cpp')
-rw-r--r--src/gui/palette.cpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index 8cc9c57b..e007dd5c 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -82,8 +82,8 @@ Palette::Palette() :
{
std::string indent = " ";
addColor(TEXT, 0x000000, STATIC, _("Text"));
- addColor(SHADOW, 0x000000, STATIC, indent + _("Text Shadow"), 0);
- addColor(OUTLINE, 0x000000, STATIC, indent + _("Text Outline"), 0);
+ addColor(SHADOW, 0x000000, STATIC, indent + _("Text Shadow"));
+ addColor(OUTLINE, 0x000000, STATIC, indent + _("Text Outline"));
addColor(BACKGROUND, 0xffffff, STATIC, _("Background"));
@@ -122,17 +122,15 @@ Palette::Palette() :
addColor(ARMS, 0x9c24e8, STATIC, indent + _("Arms"));
addColor(AMMO, 0x8b6311, STATIC, indent + _("Ammo"));
- addColor(PARTICLE, 0xffffff, STATIC, _("Particle Effects"), 0);
- addColor(PICKUP_INFO, 0x28dc28, STATIC, indent + _("Pickup Notification"),
- 0);
- addColor(EXP_INFO, 0xffff00, STATIC, indent + _("Exp Notification"),0);
+ addColor(PARTICLE, 0xffffff, STATIC, _("Particle Effects"));
+ addColor(PICKUP_INFO, 0x28dc28, STATIC, indent + _("Pickup Notification"));
+ addColor(EXP_INFO, 0xffff00, STATIC, indent + _("Exp Notification"));
addColor(HIT_PLAYER_MONSTER, 0x0064ff, STATIC,
- indent + _("Player hits Monster"), 0);
+ indent + _("Player hits Monster"));
addColor(HIT_MONSTER_PLAYER, 0xff3232, STATIC,
- indent + _("Monster hits Player"), 0);
- addColor(HIT_CRITICAL, 0xff0000, RAINBOW,
- indent + _("Critical Hit"), 0);
- addColor(MISS, 0xffff00, STATIC, indent + _("Misses"), 0);
+ indent + _("Monster hits Player"));
+ addColor(HIT_CRITICAL, 0xff0000, RAINBOW, indent + _("Critical Hit"));
+ addColor(MISS, 0xffff00, STATIC, indent + _("Misses"));
commit(true);
}