summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-05 03:13:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-05 03:13:43 +0300
commite3b9d60938b1299f2f66e68ff291060654c58d66 (patch)
tree28425cf579903d6735faa801a6968b56abdc7230 /src/gui/widgets/window.h
parent10c8e7da87de2219fad19fd899e97257164e4830 (diff)
downloadmv-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.gz
mv-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.bz2
mv-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.xz
mv-e3b9d60938b1299f2f66e68ff291060654c58d66.zip
Move some hardcoded paddings to themes.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 12c40859a..00e3a817f 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -399,12 +399,14 @@ class Window : public gcn::Window, gcn::WidgetListener
void setCaptionFont(gcn::Font *font)
{ mCaptionFont = font; }
- int getOption(std::string name);
+ protected:
+ bool canMove();
+
+ int getOption(std::string name, int def = 0);
bool getOptionBool(std::string name);
- protected:
- bool canMove();
+ int getTitlePadding();
Skin *mSkin; /**< Skin in use by this window */