summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-02 04:57:16 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-02 04:57:16 +0300
commit5f43cf85c7e59f0e1192f803560848777d64743f (patch)
tree283ddb56228ab7b19a62be6f6be0344e77745757 /src/gui/windowmenu.cpp
parentca58a3cced99fc2a8989da0155c1927bc0f08b6f (diff)
downloadmv-5f43cf85c7e59f0e1192f803560848777d64743f.tar.gz
mv-5f43cf85c7e59f0e1192f803560848777d64743f.tar.bz2
mv-5f43cf85c7e59f0e1192f803560848777d64743f.tar.xz
mv-5f43cf85c7e59f0e1192f803560848777d64743f.zip
Replace some getters to direct members access in graphics class.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index fd1582656..c62ab9bba 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -101,7 +101,7 @@ WindowMenu::WindowMenu():
if (graphics)
{
- setDimension(gcn::Rectangle(graphics->getWidth() - x - 3,
+ setDimension(gcn::Rectangle(graphics->mWidth - x - 3,
3, x - 3, h));
}
@@ -347,7 +347,7 @@ void WindowMenu::updateButtons()
}
if (graphics)
{
- setDimension(gcn::Rectangle(graphics->getWidth() - x - 3,
+ setDimension(gcn::Rectangle(graphics->mWidth - x - 3,
3, x - 3, h));
}
}