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, 5 insertions, 2 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 11193654..563e2f2f 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -25,6 +25,8 @@
#include "graphics.h"
#include "guichanfwd.h"
+#include "gui/widgets/resizegrip.h"
+
#include <guichan/widgetlistener.hpp>
#include <guichan/widgets/window.hpp>
@@ -32,7 +34,6 @@
class ContainerPlacer;
class Layout;
class LayoutCell;
-class ResizeGrip;
class Skin;
class WindowContainer;
@@ -336,6 +337,9 @@ class Window : public gcn::Window, gcn::WidgetListener
*/
int getGuiAlpha();
+ protected:
+ ResizeGrip *mGrip; /**< Resize grip */
+
private:
enum ResizeHandles
{
@@ -354,7 +358,6 @@ class Window : public gcn::Window, gcn::WidgetListener
*/
int getResizeHandles(gcn::MouseEvent &event);
- ResizeGrip *mGrip; /**< Resize grip */
Window *mParent; /**< The parent window */
Layout *mLayout; /**< Layout handler */
std::string mWindowName; /**< Name of the window */