summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 2c6c0ab8e..9cc6acc54 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -408,7 +408,11 @@ class Window : public gcn::Window, private gcn::WidgetListener
bool getOptionBool(std::string name);
- int getTitlePadding() const;
+ void setTitlePadding(int p)
+ { mTitlePadding = p; }
+
+ int getTitlePadding() const
+ { return mTitlePadding; }
Skin *mSkin; /**< Skin in use by this window */
@@ -472,6 +476,7 @@ class Window : public gcn::Window, private gcn::WidgetListener
int mCaptionOffsetX;
int mCaptionOffsetY;
int mCaptionAlign;
+ int mTitlePadding;
bool mRedraw;
gcn::Font *mCaptionFont;
};