diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-03-25 13:27:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-03-25 13:27:22 +0900 |
commit | e861c6188bc38088422b32b505daff627915d53b (patch) | |
tree | ebdd3cd02aabbe185ccca63a7d6abc408e8c523d /ksplashml/themeengine/default/themelegacy.h | |
parent | 504dfac148d5fdaaa88c7b932284329bc5d4e6a8 (diff) | |
download | tdebase-e861c6188bc38088422b32b505daff627915d53b.tar.gz tdebase-e861c6188bc38088422b32b505daff627915d53b.zip |
Fixed KSplash icon flashing position problem for 'default' theme engine.
Removed nasty hardcoded hack and added 'Icon Offsets' option to Theme.rc file.
Diffstat (limited to 'ksplashml/themeengine/default/themelegacy.h')
-rw-r--r-- | ksplashml/themeengine/default/themelegacy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ksplashml/themeengine/default/themelegacy.h b/ksplashml/themeengine/default/themelegacy.h index 0f73e80c1..1f56d05b0 100644 --- a/ksplashml/themeengine/default/themelegacy.h +++ b/ksplashml/themeengine/default/themelegacy.h @@ -19,6 +19,9 @@ #include <tqwidget.h> #include "themeengine.h" + +static const int MAX_ICONS=7; + class TQPixmap; class TQTimer; @@ -88,8 +91,9 @@ private: TQString _findPicture( const TQString &pic ); // Configurable Options - bool mIconsFlashing; + bool mIconsFlashing; TQColor mLabelForeground; + int mIconOffsets[MAX_ICONS]; // Internals. KProgress *mProgressBar; |