summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-09 01:36:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-09 01:45:28 +0300
commite153ea49f7442a82651e4e35f2be59c459ad32cb (patch)
tree8daace3c1691df379296600af4ce3ab3ba5325d0 /src/gui/widgets/browserbox.h
parentb2c430f8e0fd67c6529227f8e8bebdc407ef530d (diff)
downloadmv-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.gz
mv-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.bz2
mv-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.xz
mv-e153ea49f7442a82651e4e35f2be59c459ad32cb.zip
Use all parameters in browserbox constructors.
Also load browserbox skin for each instance.
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r--src/gui/widgets/browserbox.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index 91d8233ed..f57519700 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -111,8 +111,8 @@ class BrowserBox final : public gcn::Widget,
* Constructor.
*/
BrowserBox(const Widget2 *const widget,
- const unsigned int mode = AUTO_SIZE,
- const bool opaque = true);
+ const unsigned int mode,
+ const bool opaque);
A_DELETE_COPY(BrowserBox)
@@ -253,6 +253,7 @@ class BrowserBox final : public gcn::Widget,
Links mLinks;
LinkHandler *mLinkHandler;
+ Skin *mSkin;
unsigned int mMode;
unsigned int mHighMode;
int mSelectedLink;
@@ -277,7 +278,6 @@ class BrowserBox final : public gcn::Widget,
bool mEnableKeys;
bool mEnableTabs;
- static Skin *mSkin;
static ImageSet *mEmotes;
static int mInstances;
};