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/button.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/button.cpp') diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index 91c531f6b..f0534c129 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -485,12 +485,13 @@ void Button::draw(gcn::Graphics *graphics) { if (isPressed()) { - g2->calcTile(mVertexes2, mImages[mode], + g2->calcTileCollection(mVertexes2, mImages[mode], imageX + 1, imageY + 1); } else { - g2->calcTile(mVertexes2, mImages[mode], imageX, imageY); + g2->calcTileCollection(mVertexes2, + mImages[mode], imageX, imageY); } } } -- cgit v1.2.3-70-g09d2