diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-23 22:33:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-23 22:33:26 +0300 |
commit | c3755c31222a7cd4e90f772eb88a992dd64f6c06 (patch) | |
tree | ca0240e6b8597276a3e761d3ba18d838d8a94bc5 /src/gui/widgets/extendedlistbox.cpp | |
parent | 533e703a2c394b9c4a0c0e2d7367dd5cc48c1502 (diff) | |
download | manaverse-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.gz manaverse-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.bz2 manaverse-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.xz manaverse-c3755c31222a7cd4e90f772eb88a992dd64f6c06.zip |
Use in different listbox derived classes different xml skin.
Diffstat (limited to 'src/gui/widgets/extendedlistbox.cpp')
-rw-r--r-- | src/gui/widgets/extendedlistbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/extendedlistbox.cpp b/src/gui/widgets/extendedlistbox.cpp index 34f4f1a45..d83a2a1ba 100644 --- a/src/gui/widgets/extendedlistbox.cpp +++ b/src/gui/widgets/extendedlistbox.cpp @@ -38,8 +38,9 @@ ExtendedListBox::ExtendedListBox(const Widget2 *const widget, gcn::ListModel *const listModel, + const std::string &skin, int rowHeight) : - ListBox(widget, listModel), + ListBox(widget, listModel, skin), mRowHeight(rowHeight), mImagePadding(mSkin ? mSkin->getOption("imagePadding") : 0), mSpacing(mSkin ? mSkin->getOption("spacing") : 0), |