summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-24 22:36:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-24 22:36:00 +0300
commit52039744fa2e5e116548e5236cd8ba5f5d81702a (patch)
treed367514cfc2a00c0b1f181dbfb5a8c3b0ca5785d /src/gui/widgets/tabs/chat
parent35d796b927447760772d2720a221e21fdf9fd10e (diff)
downloadmanaverse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.gz
manaverse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.bz2
manaverse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.xz
manaverse-52039744fa2e5e116548e5236cd8ba5f5d81702a.zip
Remove default parameters from widget2.
Diffstat (limited to 'src/gui/widgets/tabs/chat')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index 6e51ca172..aeefe43db 100644
--- a/src/gui/widgets/tabs/chat/chattab.h
+++ b/src/gui/widgets/tabs/chat/chattab.h
@@ -48,12 +48,12 @@ class ScrollArea;
}
#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))
+ setTabColor(&getThemeColor(name, 255U), \
+ &getThemeColor(name##_OUTLINE, 255U)); \
+ setHighlightedTabColor(&getThemeColor(name##_HIGHLIGHTED, 255U), \
+ &getThemeColor(name##_HIGHLIGHTED_OUTLINE, 255U)); \
+ setSelectedTabColor(&getThemeColor(name##_SELECTED, 255U), \
+ &getThemeColor(name##_SELECTED_OUTLINE, 255U))
/**
* A tab for the chat window. This is special to ease chat handling.