summaryrefslogtreecommitdiff
path: root/src/gui/widgets/staticbrowserbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/staticbrowserbox.cpp')
-rw-r--r--src/gui/widgets/staticbrowserbox.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/widgets/staticbrowserbox.cpp b/src/gui/widgets/staticbrowserbox.cpp
index 6cfbff014..3efcda283 100644
--- a/src/gui/widgets/staticbrowserbox.cpp
+++ b/src/gui/widgets/staticbrowserbox.cpp
@@ -31,6 +31,7 @@
#include "gui/fonts/font.h"
+#include "gui/widgets/browserbox.inc"
#include "gui/widgets/linkhandler.h"
#include "render/graphics.h"
@@ -54,10 +55,6 @@
ImageSet *StaticBrowserBox::mEmotes = nullptr;
int StaticBrowserBox::mInstances = 0;
-#define readColor(color) \
- mColors[0][ColorName::color] = getThemeColor(ThemeColorId::color); \
- mColors[1][ColorName::color] = getThemeColor(ThemeColorId::color##_OUTLINE)
-
StaticBrowserBox::StaticBrowserBox(const Widget2 *const widget,
const Opaque opaque,
const std::string &skin) :