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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h
index 27e24a030..865a67216 100644
--- a/src/gui/widgets/listbox.h
+++ b/src/gui/widgets/listbox.h
@@ -98,6 +98,12 @@ class ListBox : public gcn::ListBox,
int getPressedIndex()
{ return mPressedIndex; }
+ unsigned int getRowHeight() const override A_WARN_UNUSED
+ { return mRowHeight; }
+
+ void setRowHeight(unsigned int n)
+ { mRowHeight = n; }
+
protected:
gcn::Color mHighlightColor;
gcn::Color mForegroundSelectedColor;
@@ -105,6 +111,8 @@ class ListBox : public gcn::ListBox,
int mOldSelected;
int mPadding;
int mPressedIndex;
+ unsigned int mRowHeight;
+ int mItemPadding;
Skin *mSkin;
static float mAlpha;
bool mDistributeMousePressed;