summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropdown.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/dropdown.h')
-rw-r--r--src/gui/widgets/dropdown.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h
index 81e3b6e8f..b8c3e7150 100644
--- a/src/gui/widgets/dropdown.h
+++ b/src/gui/widgets/dropdown.h
@@ -34,14 +34,10 @@
#include "localconsts.h"
class Image;
+class ListModel;
class PopupList;
class Skin;
-namespace gcn
-{
- class ListModel;
-}
-
/**
* A drop down box from which you can select different values.
*
@@ -66,7 +62,7 @@ class DropDown final : public ActionListener,
* @see ListModel, ScrollArea, ListBox.
*/
DropDown(const Widget2 *const widget,
- gcn::ListModel *const listModel,
+ ListModel *const listModel,
const bool extended = false,
const bool modal = false,
ActionListener *const listener = nullptr,
@@ -121,9 +117,9 @@ class DropDown final : public ActionListener,
void setSelected(int selected);
- void setListModel(gcn::ListModel *const listModel);
+ void setListModel(ListModel *const listModel);
- gcn::ListModel *getListModel();
+ ListModel *getListModel();
void addSelectionListener(SelectionListener* listener);