From 35efb9eba3a198b1dd2959434e82c8da45af689e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 03:22:32 +0300 Subject: 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. --- src/gui/widgets/popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/popup.cpp') 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 -- cgit v1.2.3-70-g09d2