diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-15 23:14:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-15 23:14:41 +0300 |
commit | 9502e9c968fac129ab57d7b0496c874086995b04 (patch) | |
tree | 3709ed6883222be555d39f7a606b674fb67ebb52 /src/gui/widgets/dropdown.h | |
parent | e3ec854f275cc6f79129bbdd3129be277100908f (diff) | |
download | manaverse-9502e9c968fac129ab57d7b0496c874086995b04.tar.gz manaverse-9502e9c968fac129ab57d7b0496c874086995b04.tar.bz2 manaverse-9502e9c968fac129ab57d7b0496c874086995b04.tar.xz manaverse-9502e9c968fac129ab57d7b0496c874086995b04.zip |
move actionlistener from base into listeners.
Diffstat (limited to 'src/gui/widgets/dropdown.h')
-rw-r--r-- | src/gui/widgets/dropdown.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h index af566fb69..0b6ada6dd 100644 --- a/src/gui/widgets/dropdown.h +++ b/src/gui/widgets/dropdown.h @@ -25,7 +25,6 @@ #include "gui/widgets/widget2.h" -#include "gui/base/actionlistener.hpp" #include "gui/base/basiccontainer.hpp" #include "gui/base/focuslistener.hpp" #include "gui/base/keylistener.hpp" @@ -33,6 +32,8 @@ #include "gui/base/mouselistener.hpp" #include "gui/base/selectionlistener.hpp" +#include "listeners/actionlistener.h" + #include "localconsts.h" class Image; @@ -49,7 +50,7 @@ class Skin; * DropDown you must give DropDown an implemented ListModel which represents * your list. */ -class DropDown final : public gcn::ActionListener, +class DropDown final : public ActionListener, public gcn::BasicContainer, public gcn::KeyListener, public gcn::MouseListener, @@ -70,7 +71,7 @@ class DropDown final : public gcn::ActionListener, gcn::ListModel *const listModel, const bool extended = false, const bool modal = false, - gcn::ActionListener *const listener = nullptr, + ActionListener *const listener = nullptr, const std::string &eventId = ""); A_DELETE_COPY(DropDown) |