summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-19 00:21:38 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-19 00:21:38 +0300
commit9847915fafee7fc3872aafb4395543b12174a1ae (patch)
tree2230ad7e345fdc46bd30c2c49864194ba1180ab6 /src/gui/widgets/window.h
parent0ebeb9512515249f33a9334abf1c52cbb0b6b7bb (diff)
downloadplus-9847915fafee7fc3872aafb4395543b12174a1ae.tar.gz
plus-9847915fafee7fc3872aafb4395543b12174a1ae.tar.bz2
plus-9847915fafee7fc3872aafb4395543b12174a1ae.tar.xz
plus-9847915fafee7fc3872aafb4395543b12174a1ae.zip
Add resize grip padding.
Fix resize grip position. New theme option: resizePadding
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 1e1caa6cd..fdcfc23de 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -442,11 +442,12 @@ class Window : public gcn::Window, private gcn::WidgetListener
*/
int getResizeHandles(const gcn::MouseEvent &event);
- ResizeGrip *mGrip; /**< Resize grip */
+ Image *mGrip; /**< Resize grip */
Window *mParent; /**< The parent window */
Layout *mLayout; /**< Layout handler */
gcn::Rectangle mCloseRect; /**< Close button rectangle */
gcn::Rectangle mStickyRect; /**< Sticky button rectangle */
+ gcn::Rectangle mGripRect; /**< Resize grip rectangle */
std::string mWindowName; /**< Name of the window */
bool mShowTitle; /**< Window has a title bar */
bool mModal; /**< Window is modal */
@@ -480,6 +481,7 @@ class Window : public gcn::Window, private gcn::WidgetListener
int mCaptionOffsetY;
int mCaptionAlign;
int mTitlePadding;
+ int mGripPadding;
int mResizeHandles;
bool mRedraw;
gcn::Font *mCaptionFont;