summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/socialwindow.cpp2
-rw-r--r--src/gui/theme.cpp2
-rw-r--r--src/gui/theme.h2
-rw-r--r--src/net/tmwa/gui/partytab.cpp2
4 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index ec414836..d52e073c 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -184,7 +184,7 @@ public:
{
setCaption(party->getName());
- setTabColor(&Theme::getThemeColor(Theme::PARTY));
+ setTabColor(&Theme::getThemeColor(Theme::PARTY_SOCIAL_TAB));
mList = new AvatarListBox(party);
mScroll = new ScrollArea(mList);
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index f80fa272..3d0bd5d3 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -398,6 +398,8 @@ static int readColorType(const std::string &type)
"BUTTON",
"BUTTON_DISABLED",
"TAB",
+ "PARTY_CHAT_TAB",
+ "PARTY_SOCIAL_TAB",
"BACKGROUND",
"HIGHLIGHT",
"TAB_FLASH",
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 6798bed5..3a5aa41a 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -127,6 +127,8 @@ class Theme : public Palette, public ConfigListener
BUTTON,
BUTTON_DISABLED,
TAB,
+ PARTY_CHAT_TAB,
+ PARTY_SOCIAL_TAB,
BACKGROUND,
HIGHLIGHT,
TAB_FLASH,
diff --git a/src/net/tmwa/gui/partytab.cpp b/src/net/tmwa/gui/partytab.cpp
index 03dadb04..b541c498 100644
--- a/src/net/tmwa/gui/partytab.cpp
+++ b/src/net/tmwa/gui/partytab.cpp
@@ -42,7 +42,7 @@ namespace TmwAthena {
PartyTab::PartyTab() :
ChatTab(_("Party"))
{
- setTabColor(&Theme::getThemeColor(Theme::PARTY));
+ setTabColor(&Theme::getThemeColor(Theme::PARTY_CHAT_TAB));
}
PartyTab::~PartyTab()