summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-15 00:23:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-15 00:23:39 +0300
commit53d28e67f8b7966596818af7cbfd360df241b332 (patch)
tree2924b2c260c14bfb8344d75c4bf7482d5263a39a /src/gui/widgets/window.cpp
parent36de2c64d6bba077775360c9c0d681f0a096ffc3 (diff)
downloadmanaverse-53d28e67f8b7966596818af7cbfd360df241b332.tar.gz
manaverse-53d28e67f8b7966596818af7cbfd360df241b332.tar.bz2
manaverse-53d28e67f8b7966596818af7cbfd360df241b332.tar.xz
manaverse-53d28e67f8b7966596818af7cbfd360df241b332.zip
rename calcTile methods into separate names calcTileVertexes, calTileCollection.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index a95bc0877..ad8e9e7eb 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -239,7 +239,10 @@ void Window::draw(gcn::Graphics *graphics)
const Image *const button = mSkin->getCloseImage(
mResizeHandles == CLOSE);
if (button)
- g->calcTile(mVertexes, button, mCloseRect.x, mCloseRect.y);
+ {
+ g->calcTileCollection(mVertexes, button,
+ mCloseRect.x, mCloseRect.y);
+ }
}
// Draw Sticky Button
if (mStickyButton)
@@ -247,13 +250,16 @@ void Window::draw(gcn::Graphics *graphics)
const Image *const button = mSkin->getStickyImage(mSticky);
if (button)
{
- g->calcTile(mVertexes, button,
+ g->calcTileCollection(mVertexes, button,
mStickyRect.x, mStickyRect.y);
}
}
if (mGrip)
- g->calcTile(mVertexes, mGrip, mGripRect.x, mGripRect.y);
+ {
+ g->calcTileCollection(mVertexes, mGrip,
+ mGripRect.x, mGripRect.y);
+ }
}
else
{