summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/chattab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.h')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index b6c3d9af3..aa4162ce3 100644
--- a/src/gui/widgets/tabs/chat/chattab.h
+++ b/src/gui/widgets/tabs/chat/chattab.h
@@ -39,6 +39,14 @@ class ScrollArea;
if (debugChatTab) \
debugChatTab->chatLog(str);
+#define setTabColors(name) \
+ setTabColor(&getThemeColor(name), \
+ &getThemeColor(name##_OUTLINE)); \
+ setHighlightedTabColor(&getThemeColor(name##_HIGHLIGHTED), \
+ &getThemeColor(name##_HIGHLIGHTED_OUTLINE)); \
+ setSelectedTabColor(&getThemeColor(name##_SELECTED), \
+ &getThemeColor(name##_SELECTED_OUTLINE))
+
/**
* A tab for the chat window. This is special to ease chat handling.
*/