diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 03:22:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 35efb9eba3a198b1dd2959434e82c8da45af689e (patch) | |
tree | 9eeec546069c24972ba606acb8c8bd9aeab55f47 /src/gui/widgets/popup.cpp | |
parent | 4356b56d927afc83685897f0e6482f576a0ae09a (diff) | |
download | plus-35efb9eba3a198b1dd2959434e82c8da45af689e.tar.gz plus-35efb9eba3a198b1dd2959434e82c8da45af689e.tar.bz2 plus-35efb9eba3a198b1dd2959434e82c8da45af689e.tar.xz plus-35efb9eba3a198b1dd2959434e82c8da45af689e.zip |
Add load theme id for windows and popups.
New theme options:
palette - palette number for window or popup.
childPalette - palette number for window child controls.
palette and childPalette should be from 0 to 4.
Diffstat (limited to 'src/gui/widgets/popup.cpp')
-rw-r--r-- | src/gui/widgets/popup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/popup.cpp b/src/gui/widgets/popup.cpp index cd50bfe1b..9763541a5 100644 --- a/src/gui/widgets/popup.cpp +++ b/src/gui/widgets/popup.cpp @@ -68,7 +68,7 @@ Popup::Popup(const std::string &name, if (mSkin) { setPadding(mSkin->getPadding()); - // init Widget2 fields + setPalette(mSkin->getOption("palette")); } } else |