summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r--src/gui/widgets/listbox.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h
index c9a70557f..0512183d1 100644
--- a/src/gui/widgets/listbox.h
+++ b/src/gui/widgets/listbox.h
@@ -28,6 +28,7 @@
#include "localconsts.h"
class SelectionListener;
+class Skin;
/**
* A list box, meant to be used inside a scroll area. Same as the Guichan list
@@ -70,6 +71,8 @@ class ListBox : public gcn::ListBox
void mousePressed(gcn::MouseEvent &event) override;
+ void mousePressed1(gcn::MouseEvent &event);
+
void mouseDragged(gcn::MouseEvent &event) override;
void refocus();
@@ -85,7 +88,10 @@ class ListBox : public gcn::ListBox
gcn::Color mHighlightColor;
bool mDistributeMousePressed;
int mOldSelected;
+ int mPadding;
static float mAlpha;
+ static Skin *mSkin;
+ static int mInstances;
};
#endif