diff options
author | Ira Rice <irarice@gmail.com> | 2009-04-20 22:06:05 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-20 22:06:05 +0200 |
commit | 654cc39c7750bd7a8d798ab5c4732ed960135573 (patch) | |
tree | 847b7f9bbd964a50e1b15639a36a69743f0dda63 /src/gui/widgets/window.cpp | |
parent | 0689ecac058ce1ef063b0250c48a39ed1db11f82 (diff) | |
download | mana-654cc39c7750bd7a8d798ab5c4732ed960135573.tar.gz mana-654cc39c7750bd7a8d798ab5c4732ed960135573.tar.bz2 mana-654cc39c7750bd7a8d798ab5c4732ed960135573.tar.xz mana-654cc39c7750bd7a8d798ab5c4732ed960135573.zip |
Repaired table and listbox scrolling when using the keyboard.
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index de48dfa2..dde455e6 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -377,9 +377,7 @@ void Window::mouseReleased(gcn::MouseEvent &event) void Window::mouseExited(gcn::MouseEvent &event) { if (mGrip && !mouseResize) - { gui->setCursorType(Gui::CURSOR_POINTER); - } } void Window::mouseMoved(gcn::MouseEvent &event) @@ -435,9 +433,7 @@ void Window::mouseDragged(gcn::MouseEvent &event) std::max(mMinWinHeight, newHeight)); if (mouseResize & TOP) - { newDim.y -= newDim.height - getHeight(); - } } if (mouseResize & (LEFT | RIGHT)) @@ -447,9 +443,7 @@ void Window::mouseDragged(gcn::MouseEvent &event) std::max(mMinWinWidth, newWidth)); if (mouseResize & LEFT) - { newDim.x -= newDim.width - getWidth(); - } } // Keep guichan window inside screen (supports resizing any side) |