summaryrefslogtreecommitdiff
path: root/src/gui/widgets/emoteshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:07:55 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit4c7a11b639ec94c8a32a9a52e99652c464745037 (patch)
treeb17c6a46a06eb00f385347c8147a00cded21c3b6 /src/gui/widgets/emoteshortcutcontainer.cpp
parent376c7e4a46c2c18d117db49b143a3f138d6a81c7 (diff)
downloadplus-4c7a11b639ec94c8a32a9a52e99652c464745037.tar.gz
plus-4c7a11b639ec94c8a32a9a52e99652c464745037.tar.bz2
plus-4c7a11b639ec94c8a32a9a52e99652c464745037.tar.xz
plus-4c7a11b639ec94c8a32a9a52e99652c464745037.zip
Add palette inheritance to other shortcutcontainer classes.
Diffstat (limited to 'src/gui/widgets/emoteshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp
index a2a6b5f22..87719b775 100644
--- a/src/gui/widgets/emoteshortcutcontainer.cpp
+++ b/src/gui/widgets/emoteshortcutcontainer.cpp
@@ -95,6 +95,12 @@ EmoteShortcutContainer::~EmoteShortcutContainer()
}
}
+void EmoteShortcutContainer::setWidget2(const Widget2 *const widget)
+{
+ Widget2::setWidget2(widget);
+ mForegroundColor = getThemeColor(Theme::TEXT);
+}
+
void EmoteShortcutContainer::draw(gcn::Graphics *graphics)
{
if (!emoteShortcut)