diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-22 15:43:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-22 15:43:12 +0300 |
commit | 4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06 (patch) | |
tree | 22b6f851e3ac90590828761a79e91fe1512c2adf /src/gui/widgets/guitable.h | |
parent | 2c110bf45eb53807378bbd2abf70268aa0c2197f (diff) | |
download | mv-4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06.tar.gz mv-4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06.tar.bz2 mv-4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06.tar.xz mv-4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06.zip |
Move Widget into gui/widgets directory.
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r-- | src/gui/widgets/guitable.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h index 055c6c5f2..23185a903 100644 --- a/src/gui/widgets/guitable.h +++ b/src/gui/widgets/guitable.h @@ -30,7 +30,7 @@ #include "listeners/keylistener.h" #include "listeners/mouselistener.h" -#include "gui/base/widget.hpp" +#include "gui/widgets/widget.h" #include <vector> @@ -45,7 +45,7 @@ class GuiTableActionListener; * * \ingroup GUI */ -class GuiTable final : public gcn::Widget, +class GuiTable final : public Widget, public MouseListener, public KeyListener, public TableModelListener @@ -114,11 +114,11 @@ public: // Inherited from Widget void draw(Graphics* graphics) override final; - gcn::Widget *getWidgetAt(int x, int y) override final A_WARN_UNUSED; + Widget *getWidgetAt(int x, int y) override final A_WARN_UNUSED; - void moveToTop(gcn::Widget *child) override final; + void moveToTop(Widget *child) override final; - void moveToBottom(gcn::Widget *child) override final; + void moveToBottom(Widget *child) override final; void _setFocusHandler(FocusHandler* focusHandler) override final; @@ -180,7 +180,7 @@ private: TableModel *mModel; /** If someone moves a fresh widget to the top, we must display it. */ - gcn::Widget *mTopWidget; + Widget *mTopWidget; /** Vector for compactness; used as a list in practice. */ std::vector<GuiTableActionListener *> mActionListeners; |