From 53d28e67f8b7966596818af7cbfd360df241b332 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Dec 2013 00:23:39 +0300 Subject: rename calcTile methods into separate names calcTileVertexes, calTileCollection. --- src/gui/widgets/window.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/window.cpp') 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 { -- cgit v1.2.3-70-g09d2