summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-31 00:29:22 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-31 00:29:22 +0300
commit8cc6679b676103c7c6696947ea43ad439e9754c5 (patch)
treea3cf0f7d9e8eede421956942b4c325e191a9eb31 /src/gui/widgets/window.cpp
parent793bcbe5d8308c8c33419f67378df9dc83462445 (diff)
downloadmv-8cc6679b676103c7c6696947ea43ad439e9754c5.tar.gz
mv-8cc6679b676103c7c6696947ea43ad439e9754c5.tar.bz2
mv-8cc6679b676103c7c6696947ea43ad439e9754c5.tar.xz
mv-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.cpp7
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;
+}