summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-09 20:31:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-09 20:31:29 +0300
commitb5c294696cb58d00e8c4c9a005f9bf580a43dc6a (patch)
tree91279e4c7fab21a1e7f5134f19827cc4c7d5ce97 /src/gui/widgets/window.h
parent84d0d0e63d8e46187f81fdbd241062f942f5e54f (diff)
downloadplus-b5c294696cb58d00e8c4c9a005f9bf580a43dc6a.tar.gz
plus-b5c294696cb58d00e8c4c9a005f9bf580a43dc6a.tar.bz2
plus-b5c294696cb58d00e8c4c9a005f9bf580a43dc6a.tar.xz
plus-b5c294696cb58d00e8c4c9a005f9bf580a43dc6a.zip
Add theme option to show/hide window title.
New theme option: showTitle default value: 1
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index ebc44e584..cad035a1e 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -431,9 +431,10 @@ class Window : public gcn::Window,
int getOption(const std::string &name,
const int def = 0) const A_WARN_UNUSED;
- bool getOptionBool(const std::string &name) const A_WARN_UNUSED;
+ bool getOptionBool(const std::string &name,
+ const bool def = false) const A_WARN_UNUSED;
- void setTitlePadding(int p)
+ void setTitlePadding(const int p)
{ mTitlePadding = p; }
int getTitlePadding() const A_WARN_UNUSED