diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-02 04:57:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-02 04:57:16 +0300 |
commit | 5f43cf85c7e59f0e1192f803560848777d64743f (patch) | |
tree | 283ddb56228ab7b19a62be6f6be0344e77745757 /src/gui/gui.cpp | |
parent | ca58a3cced99fc2a8989da0155c1927bc0f08b6f (diff) | |
download | mv-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/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 2 |
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); |