diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-15 00:42:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-15 00:42:06 +0300 |
commit | 5546ac2f1a459b3fba47b42d546469cdae3c1c27 (patch) | |
tree | 311576ac10867d5c116c1e13bd542f05be3ebe64 /src/gui/widgets | |
parent | 53d28e67f8b7966596818af7cbfd360df241b332 (diff) | |
download | plus-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.gz plus-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.bz2 plus-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.xz plus-5546ac2f1a459b3fba47b42d546469cdae3c1c27.zip |
rename drawTile methods into separate names drawTileVertexes, drawTileCollection.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/button.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/emotepage.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/popup.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/progressbar.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 5 | ||||
-rw-r--r-- | src/gui/widgets/shortcutcontainer.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/slider.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
10 files changed, 12 insertions, 11 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 0d222595d..cc9b1a262 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -305,7 +305,7 @@ void AvatarListBox::draw(gcn::Graphics *gcnGraphics) } if (useCaching) - graphics->drawTile(&vertexes); + graphics->drawTileCollection(&vertexes); if (parent) setWidth(parent->getWidth() - 10); diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index f0534c129..69cc137ba 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -495,7 +495,7 @@ void Button::draw(gcn::Graphics *graphics) } } } - g2->drawTile(mVertexes2); + g2->drawTileCollection(mVertexes2); } else { diff --git a/src/gui/widgets/emotepage.cpp b/src/gui/widgets/emotepage.cpp index 472e6c1f4..3c7d1a842 100644 --- a/src/gui/widgets/emotepage.cpp +++ b/src/gui/widgets/emotepage.cpp @@ -94,7 +94,7 @@ void EmotePage::draw(gcn::Graphics *graphics) } } } - g->drawTile(mVertexes); + g->drawTileCollection(mVertexes); } else { diff --git a/src/gui/widgets/popup.cpp b/src/gui/widgets/popup.cpp index 7a43b2c47..def641755 100644 --- a/src/gui/widgets/popup.cpp +++ b/src/gui/widgets/popup.cpp @@ -112,7 +112,7 @@ void Popup::draw(gcn::Graphics *graphics) mSkin->getBorder()); } - g->drawTile(mVertexes); + g->drawTileCollection(mVertexes); } else { diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp index 71a7c641f..33011f9fc 100644 --- a/src/gui/widgets/progressbar.cpp +++ b/src/gui/widgets/progressbar.cpp @@ -200,7 +200,7 @@ void ProgressBar::render(Graphics *graphics) mDimension.width, mDimension.height, mSkin->getBorder()); } - graphics->drawTile(mVertexes); + graphics->drawTileCollection(mVertexes); } else { diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index b786ccbb7..ebb91f518 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -286,7 +286,8 @@ void ScrollArea::draw(gcn::Graphics *graphics) calcHMarker(graphics); } } - static_cast<Graphics *const>(graphics)->drawTile(mVertexes); + static_cast<Graphics *const>(graphics)->drawTileCollection( + mVertexes); } else { @@ -378,7 +379,7 @@ void ScrollArea::drawFrame(gcn::Graphics *graphics) static_cast<Graphics*>(graphics)->calcWindow( mVertexes2, 0, 0, w, h, background); } - static_cast<Graphics*>(graphics)->drawTile(mVertexes2); + static_cast<Graphics*>(graphics)->drawTileCollection(mVertexes2); } else { diff --git a/src/gui/widgets/shortcutcontainer.cpp b/src/gui/widgets/shortcutcontainer.cpp index 7cd8a2f38..c4a6fe249 100644 --- a/src/gui/widgets/shortcutcontainer.cpp +++ b/src/gui/widgets/shortcutcontainer.cpp @@ -103,7 +103,7 @@ void ShortcutContainer::drawBackground(Graphics *g) (i / mGridWidth) * mBoxHeight); } } - g->drawTile(mVertexes); + g->drawTileCollection(mVertexes); } else { diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp index 313a08162..039af9743 100644 --- a/src/gui/widgets/slider.cpp +++ b/src/gui/widgets/slider.cpp @@ -203,7 +203,7 @@ void Slider::draw(gcn::Graphics *graphics) } } } - g->drawTile(mVertexes); + g->drawTileCollection(mVertexes); } else { diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp index f1e45fa42..3fa27bbe8 100644 --- a/src/gui/widgets/tabs/tab.cpp +++ b/src/gui/widgets/tabs/tab.cpp @@ -230,7 +230,7 @@ void Tab::draw(gcn::Graphics *graphics) } } - g->drawTile(mVertexes); + g->drawTileCollection(mVertexes); } else { diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index ad8e9e7eb..963288a03 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -265,7 +265,7 @@ void Window::draw(gcn::Graphics *graphics) { mLastRedraw = false; } - g->drawTile(mVertexes); + g->drawTileCollection(mVertexes); } else { |