summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-02 23:21:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-02 23:33:53 +0300
commit22dfbaa64b8c3c38de632f1d9325bd6d0e7d0cd1 (patch)
treef7693a5d2b469a954672b9e7a879d5008ef9c701 /src/gui
parent4cffca0da71771d0d51ba4cd4842d2d93aa2946e (diff)
downloadmanaverse-22dfbaa64b8c3c38de632f1d9325bd6d0e7d0cd1.tar.gz
manaverse-22dfbaa64b8c3c38de632f1d9325bd6d0e7d0cd1.tar.bz2
manaverse-22dfbaa64b8c3c38de632f1d9325bd6d0e7d0cd1.tar.xz
manaverse-22dfbaa64b8c3c38de632f1d9325bd6d0e7d0cd1.zip
fix chat window resize cursor and some other possible issues.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/chatwindow.cpp6
-rw-r--r--src/gui/minimap.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 4897a06bd..43d0f9634 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -1674,19 +1674,19 @@ void ChatWindow::optionChanged(const std::string &name)
void ChatWindow::mouseMoved(gcn::MouseEvent &event)
{
mHaveMouse = true;
- gcn::Window::mouseMoved(event);
+ Window::mouseMoved(event);
}
void ChatWindow::mouseEntered(gcn::MouseEvent& mouseEvent)
{
mHaveMouse = true;
- gcn::Window::mouseEntered(mouseEvent);
+ Window::mouseEntered(mouseEvent);
}
void ChatWindow::mouseExited(gcn::MouseEvent& mouseEvent)
{
updateVisibility();
- gcn::Window::mouseExited(mouseEvent);
+ Window::mouseExited(mouseEvent);
}
void ChatWindow::draw(gcn::Graphics* graphics)
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 1289fcd40..a93e0a422 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -399,7 +399,7 @@ void Minimap::draw(gcn::Graphics *graphics)
void Minimap::mouseReleased(gcn::MouseEvent &event)
{
- gcn::Window::mouseReleased(event);
+ Window::mouseReleased(event);
if (!player_node || !viewport)
return;