summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-16 19:28:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-16 19:28:44 +0300
commit3c02e309bbe285f9fb625f20f55533ff0b22b3cc (patch)
treec18db46312c4f430da82688903007682f4d69dcf /src/gui/widgets/widget.h
parent0ebe35be8527732a9c04a20103db6a34391efb24 (diff)
downloadmanaplus-3c02e309bbe285f9fb625f20f55533ff0b22b3cc.tar.gz
manaplus-3c02e309bbe285f9fb625f20f55533ff0b22b3cc.tar.bz2
manaplus-3c02e309bbe285f9fb625f20f55533ff0b22b3cc.tar.xz
manaplus-3c02e309bbe285f9fb625f20f55533ff0b22b3cc.zip
Improve basiccontainer.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 3af00d247..86bf0f773 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -76,6 +76,7 @@
#include "localconsts.h"
class ActionListener;
+class BasicContainer;
class DeathListener;
class FocusHandler;
class FocusListener;
@@ -99,6 +100,8 @@ class WidgetListener;
class Widget : public Widget2
{
public:
+ friend BasicContainer;
+
/**
* Constructor. Resets member variables. Noteable, a widget is not
* focusable as default, therefore, widgets that are supposed to be
@@ -970,7 +973,7 @@ class Widget : public Widget2
* has an id.
*
* @param id The id to set to the widget.
- * @see getId, BasicContainer::findWidgetById
+ * @see getId
* @since 0.8.0
*/
void setId(const std::string& id)
@@ -983,7 +986,7 @@ class Widget : public Widget2
* has an id.
*
* @param id The id to set to the widget.
- * @see setId, BasicContainer::findWidgetById
+ * @see setId
* @since 0.8.0
*/
const std::string& getId() const A_WARN_UNUSED