diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 19:07:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 19:07:18 +0300 |
commit | ac51e9e9d85ef6a590b6ed0e4491056b38169d78 (patch) | |
tree | 24b4fe5946a8de9eda2fe95748b60e9d8e9953c0 /src/gui/gui.cpp | |
parent | 305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6 (diff) | |
download | manaverse-ac51e9e9d85ef6a590b6ed0e4491056b38169d78.tar.gz manaverse-ac51e9e9d85ef6a590b6ed0e4491056b38169d78.tar.bz2 manaverse-ac51e9e9d85ef6a590b6ed0e4491056b38169d78.tar.xz manaverse-ac51e9e9d85ef6a590b6ed0e4491056b38169d78.zip |
add restrict into gui.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 2a0c1d641..47a533bf8 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -757,7 +757,8 @@ MouseEvent *Gui::createMouseEvent(Window *const widget) mouseX - x, mouseY - y, mClickCount); } -void Gui::getAbsolutePosition(gcn::Widget *widget, int &x, int &y) +void Gui::getAbsolutePosition(gcn::Widget *restrict widget, + int &restrict x, int &restrict y) { x = 0; y = 0; |