From bfab477aead2b4376e9caa193dca2c62c2ff26f9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 May 2012 01:03:20 +0300 Subject: Add titlepadding option to theme file. Now used only in shortcuts window without title bar. --- src/gui/theme.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gui/theme.h') diff --git a/src/gui/theme.h b/src/gui/theme.h index c547e5351..8c5675454 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -44,7 +44,7 @@ class Skin public: Skin(ImageRect skin, Image *close, Image *stickyUp, Image *stickyDown, const std::string &filePath, const std::string &name = "", - int padding = 3); + int padding = 3, int titlePadding = 4); ~Skin(); @@ -98,6 +98,9 @@ class Skin int getPadding() const { return mPadding; } + int getTitlePadding() const + { return mTitlePadding; } + int instances; private: @@ -108,6 +111,7 @@ class Skin Image *mStickyImageUp; /**< Sticky Button Image */ Image *mStickyImageDown; /**< Sticky Button Image */ int mPadding; + int mTitlePadding; }; class Theme : public Palette, public ConfigListener -- cgit v1.2.3-70-g09d2