diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-16 00:12:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-16 00:12:40 +0300 |
commit | 9093f12ebbfbdacb3df7a5f5fcdda422daa22754 (patch) | |
tree | ca12da26dad550f515ca1e56e1288a92741e6c7f /src/gui/widgets/tabs | |
parent | 768523601ff80a23bf3e821484cc116c62498a38 (diff) | |
download | manaplus-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.gz manaplus-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.bz2 manaplus-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.xz manaplus-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.zip |
move mouselistener from base into listeners.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/tab.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp index bba1ef7b6..877329cf8 100644 --- a/src/gui/widgets/tabs/tab.cpp +++ b/src/gui/widgets/tabs/tab.cpp @@ -46,7 +46,7 @@ Skin *Tab::tabImg[Tab::TAB_COUNT]; Tab::Tab(const Widget2 *const widget) : gcn::BasicContainer(), Widget2(widget), - gcn::MouseListener(), + MouseListener(), gcn::WidgetListener(), mLabel(new Label(this)), mTabbedArea(nullptr), diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h index 66f7521d9..a67025842 100644 --- a/src/gui/widgets/tabs/tab.h +++ b/src/gui/widgets/tabs/tab.h @@ -26,7 +26,8 @@ #include "gui/widgets/widget2.h" #include "gui/base/basiccontainer.hpp" -#include "gui/base/mouselistener.hpp" + +#include "listeners/mouselistener.h" #include "gui/base/widgetlistener.hpp" #include "localconsts.h" @@ -41,7 +42,7 @@ class TabbedArea; */ class Tab : public gcn::BasicContainer, public Widget2, - public gcn::MouseListener, + public MouseListener, public gcn::WidgetListener { public: |