diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-22 16:26:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-22 16:26:52 +0300 |
commit | 5fc6d9e0f9637e3aaa71972478bee9febbe78ca7 (patch) | |
tree | 0b65e519506388e0f4c225ab585b85c84aa03a55 /src/gui/widgets/popuplist.h | |
parent | 4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06 (diff) | |
download | manaplus-5fc6d9e0f9637e3aaa71972478bee9febbe78ca7.tar.gz manaplus-5fc6d9e0f9637e3aaa71972478bee9febbe78ca7.tar.bz2 manaplus-5fc6d9e0f9637e3aaa71972478bee9febbe78ca7.tar.xz manaplus-5fc6d9e0f9637e3aaa71972478bee9febbe78ca7.zip |
Move listmodel into gui/modesl directory.
Diffstat (limited to 'src/gui/widgets/popuplist.h')
-rw-r--r-- | src/gui/widgets/popuplist.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/gui/widgets/popuplist.h b/src/gui/widgets/popuplist.h index a495d7c46..32a9dfc47 100644 --- a/src/gui/widgets/popuplist.h +++ b/src/gui/widgets/popuplist.h @@ -29,19 +29,15 @@ class DropDown; class ListBox; +class ListModel; class ScrollArea; -namespace gcn -{ - class ListModel; -} - class PopupList final : public Popup, public FocusListener { public: PopupList(DropDown *const widget, - gcn::ListModel *const listModel, bool extended, + ListModel *const listModel, bool extended, bool modal = false); ~PopupList(); @@ -58,9 +54,9 @@ class PopupList final : public Popup, int getSelected() const; - void setListModel(gcn::ListModel *const model); + void setListModel(ListModel *const model); - gcn::ListModel *getListModel() const + ListModel *getListModel() const { return mListModel; } void adjustSize(); @@ -74,7 +70,7 @@ class PopupList final : public Popup, void mouseReleased(MouseEvent& mouseEvent) override final; private: - gcn::ListModel *mListModel; + ListModel *mListModel; ListBox *mListBox; ScrollArea *mScrollArea; DropDown *mDropDown; |