summaryrefslogtreecommitdiff
path: root/src/gui/widgets/extendedlistbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-08 15:02:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-08 17:06:36 +0300
commitb930f7f858b0ad91206939ed1b6d5695bc10f9cc (patch)
tree2b6d2be95b1f387399709e99ffedf050866f534a /src/gui/widgets/extendedlistbox.h
parent4c404e75a4e36d2d3151200e09990a9b6e82dacf (diff)
downloadmv-b930f7f858b0ad91206939ed1b6d5695bc10f9cc.tar.gz
mv-b930f7f858b0ad91206939ed1b6d5695bc10f9cc.tar.bz2
mv-b930f7f858b0ad91206939ed1b6d5695bc10f9cc.tar.xz
mv-b930f7f858b0ad91206939ed1b6d5695bc10f9cc.zip
use different item padding in listbox and extendedlistbox depend on DPI.
Diffstat (limited to 'src/gui/widgets/extendedlistbox.h')
-rw-r--r--src/gui/widgets/extendedlistbox.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/widgets/extendedlistbox.h b/src/gui/widgets/extendedlistbox.h
index 79fef2f50..854c02f8b 100644
--- a/src/gui/widgets/extendedlistbox.h
+++ b/src/gui/widgets/extendedlistbox.h
@@ -61,21 +61,13 @@ class ExtendedListBox final : public ListBox
*/
void draw(gcn::Graphics *graphics) override;
- unsigned int getRowHeight() const override A_WARN_UNUSED
- { return mRowHeight; }
-
- void setRowHeight(unsigned int n)
- { mRowHeight = n; }
-
void adjustSize() override;
int getSelectionByMouse(const int y) const override;
protected:
- unsigned int mRowHeight;
int mImagePadding;
int mSpacing;
- int mItemPadding;
int mHeight;
std::vector<ExtendedListBoxItem> mListItems;
std::vector<ExtendedListBoxItem> mSelectedItems;