diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-31 00:29:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-31 00:29:22 +0300 |
commit | 8cc6679b676103c7c6696947ea43ad439e9754c5 (patch) | |
tree | a3cf0f7d9e8eede421956942b4c325e191a9eb31 /src/gui/widgets/window.cpp | |
parent | 793bcbe5d8308c8c33419f67378df9dc83462445 (diff) | |
download | plus-8cc6679b676103c7c6696947ea43ad439e9754c5.tar.gz plus-8cc6679b676103c7c6696947ea43ad439e9754c5.tar.bz2 plus-8cc6679b676103c7c6696947ea43ad439e9754c5.tar.xz plus-8cc6679b676103c7c6696947ea43ad439e9754c5.zip |
Add theme option to show hide opaque background for some windows.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index f84376f2d..3fb0649c2 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -1029,3 +1029,10 @@ int Window::getOption(std::string name) return mSkin->getOption(name); return 0; } + +bool Window::getOptionBool(std::string name) +{ + if (mSkin) + return mSkin->getOption(name) != 0; + return 0; +} |