From 04f47f060f94ec0e2dfc3cccf62cff167e0ecd68 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Jun 2014 15:55:34 +0300 Subject: Reoder some text and image drawing for better batching. --- src/gui/widgets/spellshortcutcontainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/spellshortcutcontainer.cpp') diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp index 08e22ee98..419b63181 100644 --- a/src/gui/widgets/spellshortcutcontainer.cpp +++ b/src/gui/widgets/spellshortcutcontainer.cpp @@ -87,6 +87,7 @@ void SpellShortcutContainer::draw(Graphics *graphics) graphics->setColorAll(mForegroundColor, mForegroundColor2); drawBackground(graphics); + // +++ in future need reorder images and string drawing. for (unsigned i = 0; i < mMaxItems; i++) { const int itemX = (i % mGridWidth) * mBoxWidth; -- cgit v1.2.3-60-g2f50