From e3b9d60938b1299f2f66e68ff291060654c58d66 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 5 Aug 2012 03:13:43 +0300 Subject: Move some hardcoded paddings to themes. --- src/gui/widgets/window.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/window.h') 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 */ -- cgit v1.2.3-70-g09d2