summaryrefslogtreecommitdiff
path: root/src/gui/shoplistbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shoplistbox.h')
-rw-r--r--src/gui/shoplistbox.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/shoplistbox.h b/src/gui/shoplistbox.h
index aeceab1b..837f745f 100644
--- a/src/gui/shoplistbox.h
+++ b/src/gui/shoplistbox.h
@@ -52,6 +52,11 @@ class ShopListBox : public ListBox
*/
void draw(gcn::Graphics *graphics);
+ /**
+ * Returns the height of a row.
+ */
+ unsigned int getRowHeight() const { return mRowHeight; }
+
void mousePressed(gcn::MouseEvent &event);
/**
@@ -79,7 +84,7 @@ class ShopListBox : public ListBox
*/
ShopItems *mShopItems;
- int mRowHeight; /**< Row Height */
+ unsigned int mRowHeight; /**< Row Height */
bool mPriceCheck;
};