From 5f43cf85c7e59f0e1192f803560848777d64743f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Jul 2011 04:57:16 +0300 Subject: Replace some getters to direct members access in graphics class. --- src/gui/windowmenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windowmenu.cpp') 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)); } } -- cgit v1.2.3-60-g2f50