summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/theme.cpp6
-rw-r--r--src/gui/theme.h6
-rw-r--r--src/gui/widgets/tabs/chat/battletab.cpp1
3 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index a584f446a..e52e80ed0 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -679,6 +679,8 @@ static int readColorType(const std::string &type)
"TEXTFIELD_OUTLINE",
"WINDOW",
"WINDOW_OUTLINE",
+ "BATTLE_CHAT_TAB",
+ "BATTLE_CHAT_TAB_OUTLINE",
"PARTY_CHAT_TAB",
"PARTY_CHAT_TAB_OUTLINE",
"PARTY_SOCIAL_TAB",
@@ -689,6 +691,8 @@ static int readColorType(const std::string &type)
"GUILD_SOCIAL_TAB_OUTLINE",
"GM_CHAT_TAB",
"GM_CHAT_TAB_OUTLINE",
+ "BATTLE_CHAT_TAB_HIGHLIGHTED",
+ "BATTLE_CHAT_TAB_HIGHLIGHTED_OUTLINE",
"PARTY_CHAT_TAB_HIGHLIGHTED",
"PARTY_CHAT_TAB_HIGHLIGHTED_OUTLINE",
"PARTY_SOCIAL_TAB_HIGHLIGHTED",
@@ -699,6 +703,8 @@ static int readColorType(const std::string &type)
"GUILD_SOCIAL_TAB_HIGHLIGHTED_OUTLINE",
"GM_CHAT_TAB_HIGHLIGHTED",
"GM_CHAT_TAB_HIGHLIGHTED_OUTLINE",
+ "BATTLE_CHAT_TAB_SELECTED",
+ "BATTLE_CHAT_TAB_SELECTED_OUTLINE",
"PARTY_CHAT_TAB_SELECTED",
"PARTY_CHAT_TAB_SELECTED_OUTLINE",
"PARTY_SOCIAL_TAB_SELECTED",
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 708d12202..6e63e05e6 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -139,6 +139,8 @@ class Theme final : public Palette,
TEXTFIELD_OUTLINE,
WINDOW,
WINDOW_OUTLINE,
+ BATTLE_CHAT_TAB,
+ BATTLE_CHAT_TAB_OUTLINE,
PARTY_CHAT_TAB,
PARTY_CHAT_TAB_OUTLINE,
PARTY_SOCIAL_TAB,
@@ -149,6 +151,8 @@ class Theme final : public Palette,
GUILD_SOCIAL_TAB_OUTLINE,
GM_CHAT_TAB,
GM_CHAT_TAB_OUTLINE,
+ BATTLE_CHAT_TAB_HIGHLIGHTED,
+ BATTLE_CHAT_TAB_HIGHLIGHTED_OUTLINE,
PARTY_CHAT_TAB_HIGHLIGHTED,
PARTY_CHAT_TAB_HIGHLIGHTED_OUTLINE,
PARTY_SOCIAL_TAB_HIGHLIGHTED,
@@ -159,6 +163,8 @@ class Theme final : public Palette,
GUILD_SOCIAL_TAB_HIGHLIGHTED_OUTLINE,
GM_CHAT_TAB_HIGHLIGHTED,
GM_CHAT_TAB_HIGHLIGHTED_OUTLINE,
+ BATTLE_CHAT_TAB_SELECTED,
+ BATTLE_CHAT_TAB_SELECTED_OUTLINE,
PARTY_CHAT_TAB_SELECTED,
PARTY_CHAT_TAB_SELECTED_OUTLINE,
PARTY_SOCIAL_TAB_SELECTED,
diff --git a/src/gui/widgets/tabs/chat/battletab.cpp b/src/gui/widgets/tabs/chat/battletab.cpp
index c9672965f..73fc3802e 100644
--- a/src/gui/widgets/tabs/chat/battletab.cpp
+++ b/src/gui/widgets/tabs/chat/battletab.cpp
@@ -35,6 +35,7 @@ BattleTab::BattleTab(const Widget2 *const widget) :
// TRANSLATORS: battle chat tab name
ChatTab(widget, _("Battle"), "", "#Battle", ChatTabType::BATTLE)
{
+ setTabColors(Theme::BATTLE_CHAT_TAB);
if (config.getBoolValue("showChatHistory"))
loadFromLogFile("#Battle");
}