summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gui/window.h b/src/gui/window.h
index 5e8d8010..625d7541 100644
--- a/src/gui/window.h
+++ b/src/gui/window.h
@@ -175,7 +175,6 @@ class Window : public gcn::Window
* Overloads window setVisible by Guichan to allow sticky window
* handling.
*/
-
void setVisible(bool visible);
/**
@@ -265,6 +264,15 @@ class Window : public gcn::Window
};
protected:
+ /**
+ * Determines if the mouse is in a resize area and returns appropriate
+ * resize handles. Also initializes drag offset in case the resize
+ * grip is used.
+ *
+ * @see ResizeHandles
+ */
+ int getResizeHandles(gcn::MouseEvent &event);
+
GCContainer *mChrome; /**< Contained container */
ResizeGrip *mGrip; /**< Resize grip */
Window *mParent; /**< The parent window */
@@ -291,8 +299,8 @@ class Window : public gcn::Window
*/
static ConfigListener *windowConfigListener;
+ static int mouseResize; /**< Active resize handles */
static int instances; /**< Number of Window instances */
- static int mouseResize; /**< Window is being resized */
static ImageRect border; /**< The window border and background */
static Image *closeImage; /**< Close Button Image */