diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-26 16:26:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-26 16:26:55 +0300 |
commit | ef6a173d875114f31509823541c972667d987f87 (patch) | |
tree | d646abf1ef4c82e0cdaeed1627d058cc2bd14a70 /src/gui/widgets/browserbox.cpp | |
parent | 01ca306dc4c227438b4cc1ed2ad5d2fba5e4a1d3 (diff) | |
download | manaplus-ef6a173d875114f31509823541c972667d987f87.tar.gz manaplus-ef6a173d875114f31509823541c972667d987f87.tar.bz2 manaplus-ef6a173d875114f31509823541c972667d987f87.tar.xz manaplus-ef6a173d875114f31509823541c972667d987f87.zip |
Move define readColor from browserbox.cpp/staticbrowserbox.cpp into browserbox.inc
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index fc8406546..08db7e3bf 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -31,6 +31,7 @@ #include "gui/fonts/font.h" +#include "gui/widgets/browserbox.inc" #include "gui/widgets/linkhandler.h" #include "render/graphics.h" @@ -55,10 +56,6 @@ ImageSet *BrowserBox::mEmotes = nullptr; int BrowserBox::mInstances = 0; -#define readColor(color) \ - mColors[0][ColorName::color] = getThemeColor(ThemeColorId::color); \ - mColors[1][ColorName::color] = getThemeColor(ThemeColorId::color##_OUTLINE) - BrowserBox::BrowserBox(const Widget2 *const widget, const Opaque opaque, const std::string &skin) : |