From eed93efa8aa8539b47f225b4abafe6d59bebe67d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 23 Feb 2014 20:17:46 +0300 Subject: Rename drawImage2 methods into drawImage. --- src/gui/widgets/extendedlistbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/extendedlistbox.cpp') diff --git a/src/gui/widgets/extendedlistbox.cpp b/src/gui/widgets/extendedlistbox.cpp index 13fb70f28..15a52ee82 100644 --- a/src/gui/widgets/extendedlistbox.cpp +++ b/src/gui/widgets/extendedlistbox.cpp @@ -147,7 +147,7 @@ void ExtendedListBox::draw(Graphics *graphics) const Image *const image = model->getImageAt(row1); if (image) { - graphics->drawImage2(image, + graphics->drawImage(image, mImagePadding, item.y + (height - image->getHeight()) / 2 + mPadding); } @@ -182,7 +182,7 @@ void ExtendedListBox::draw(Graphics *graphics) const Image *const image = model->getImageAt(row1); if (image) { - graphics->drawImage2(image, + graphics->drawImage(image, mImagePadding, item.y + (height - image->getHeight()) / 2 + mPadding); } -- cgit v1.2.3-70-g09d2