summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/tab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-19 14:49:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-20 00:02:36 +0300
commite224a077737739a895fe533c9cce93783621d8e9 (patch)
tree28194260919ffcc8aa77f52caf45cbf3a1747334 /src/gui/widgets/tabs/tab.h
parentfd85f62f2e3003a79e90611e95b09e23710be479 (diff)
downloadManaVerse-e224a077737739a895fe533c9cce93783621d8e9.tar.gz
ManaVerse-e224a077737739a895fe533c9cce93783621d8e9.tar.bz2
ManaVerse-e224a077737739a895fe533c9cce93783621d8e9.tar.xz
ManaVerse-e224a077737739a895fe533c9cce93783621d8e9.zip
Add fast way for draw not changed text strings.
TextChunk with colors and image stored inside draw object. If string or color changed old string image moved to cache. New string image generated or moved from cache. Use new way in drawing string in label.
Diffstat (limited to 'src/gui/widgets/tabs/tab.h')
-rw-r--r--src/gui/widgets/tabs/tab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h
index 06b5a3d18..8b26ee3d4 100644
--- a/src/gui/widgets/tabs/tab.h
+++ b/src/gui/widgets/tabs/tab.h
@@ -228,6 +228,7 @@ class Tab notfinal : public BasicContainer,
ImageCollection *mVertexes;
Image *mImage;
int mMode;
+ int mLabelMode;
protected:
bool mHasMouse;