summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r--src/gui/widgets/browserbox.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index 74acc8847..c578c2633 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -26,6 +26,8 @@
#include "listeners/mouselistener.h"
+#include "enums/simpletypes/opaque.h"
+
#include "gui/widgets/linepart.h"
#include "gui/widgets/widget.h"
@@ -66,7 +68,7 @@ class BrowserBox final : public Widget,
*/
BrowserBox(const Widget2 *const widget,
const unsigned int mode,
- const bool opaque,
+ const Opaque opaque,
const std::string &skin);
A_DELETE_COPY(BrowserBox)
@@ -84,7 +86,7 @@ class BrowserBox final : public Widget,
/**
* Sets the BrowserBox opacity.
*/
- void setOpaque(bool opaque)
+ void setOpaque(Opaque opaque)
{ mOpaque = opaque; }
/**
@@ -238,7 +240,7 @@ class BrowserBox final : public Widget,
Color mHyperLinkColor;
Color mColors[2][COLORS_MAX];
- bool mOpaque;
+ Opaque mOpaque;
bool mUseLinksAndUserColors;
bool mUseEmotes;
bool mAlwaysUpdate;