summaryrefslogtreecommitdiff
path: root/src/gui/gui.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/gui.cpp
parentca58a3cced99fc2a8989da0155c1927bc0f08b6f (diff)
downloadmanaplus-5f43cf85c7e59f0e1192f803560848777d64743f.tar.gz
manaplus-5f43cf85c7e59f0e1192f803560848777d64743f.tar.bz2
manaplus-5f43cf85c7e59f0e1192f803560848777d64743f.tar.xz
manaplus-5f43cf85c7e59f0e1192f803560848777d64743f.zip
Replace some getters to direct members access in graphics class.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 51d2f9adf..05b168b5e 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -100,7 +100,7 @@ Gui::Gui(Graphics *graphics):
WindowContainer *guiTop = new WindowContainer;
guiTop->setFocusable(true);
guiTop->setDimension(gcn::Rectangle(0, 0,
- graphics->getWidth(), graphics->getHeight()));
+ graphics->mWidth, graphics->mHeight));
guiTop->setOpaque(false);
Window::setWindowContainer(guiTop);
setTop(guiTop);