summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-23 22:11:54 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-23 23:22:45 +0300
commit89694323abffb1c73c85d49460991b3e6f20f098 (patch)
treee4c11c4236bec6db774dd56925335a1535568ef8 /src/gui/widgets/widget.h
parent0c3a1befd07924ce17ce2051eb45e60776480830 (diff)
downloadmanaverse-89694323abffb1c73c85d49460991b3e6f20f098.tar.gz
manaverse-89694323abffb1c73c85d49460991b3e6f20f098.tar.bz2
manaverse-89694323abffb1c73c85d49460991b3e6f20f098.tar.xz
manaverse-89694323abffb1c73c85d49460991b3e6f20f098.zip
Move window variable from widget class to widget2 class.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index f1db2b481..8191754e5 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -199,9 +199,6 @@ class Widget notfinal : public Widget2
Widget* getParent() const A_WARN_UNUSED
{ return mParent; }
- Widget* getWindow() const A_WARN_UNUSED
- { return mWindow; }
-
/**
* Sets the width of the widget.
*
@@ -669,9 +666,6 @@ class Widget notfinal : public Widget2
virtual void setParent(Widget* parent)
{ mParent = parent; }
- virtual void setWindow(Widget* window)
- { mWindow = window; }
-
/**
* Gets the font set for the widget. If no font has been set,
* the global font will be returned. If no global font has been set,
@@ -1199,8 +1193,6 @@ class Widget notfinal : public Widget2
*/
Widget* mParent;
- Widget* mWindow;
-
/**
* Holds the font used by the widget.
*/