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/gui.h | |
parent | 2c110bf45eb53807378bbd2abf70268aa0c2197f (diff) | |
download | plus-4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06.tar.gz plus-4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06.tar.bz2 plus-4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06.tar.xz plus-4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06.zip |
Move Widget into gui/widgets directory.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index 232d47a22..4038bbec4 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -148,7 +148,7 @@ class Gui final : public gcn::Gui MouseEvent *createMouseEvent(Window *const widget) A_WARN_UNUSED; - static void getAbsolutePosition(gcn::Widget *restrict widget, + static void getAbsolutePosition(Widget *restrict widget, int &restrict x, int &restrict y); @@ -158,7 +158,7 @@ class Gui final : public gcn::Gui void distributeGlobalFocusGainedEvent(const Event &focusEvent); - void removeDragged(gcn::Widget *widget); + void removeDragged(Widget *widget); int getLastMouseX() const { return mLastMouseX; } @@ -177,7 +177,7 @@ class Gui final : public gcn::Gui void handleMouseInput(); - void distributeMouseEvent(gcn::Widget* source, int type, int button, + void distributeMouseEvent(Widget* source, int type, int button, int x, int y, bool force = false, bool toSourceOnly = false); |