35 _parent(0), _owner(0),
36 _active(false), _visible(false), _disabled(false), _invisible(false),
37 _x(0.0f), _y(0.0f), _z(0.0f),
38 _lastClickButton(0), _lastClickTime(0), _lastClickX(0.0f), _lastClickY(0.0f) {
86 for (std::list<Widget *>::iterator it =
_children.begin(); it !=
_children.end(); ++it)
98 for (std::list<Widget *>::iterator it =
_children.begin(); it !=
_children.end(); ++it)
111 for (std::list<Widget *>::iterator it =
_children.begin(); it !=
_children.end(); ++it) {
112 if ((*it)->getTag() == childTag)
120 for (std::list<Widget *>::iterator it =
_children.begin(); it !=
_children.end(); ++it) {
122 (*it)->getPosition(sX, sY, sZ);
128 (*it)->setPosition(sX + x, sY + y, sZ + z);
162 for (std::list<Widget *>::iterator it =
_children.begin(); it !=
_children.end(); ++it)
163 (*it)->setDisabled(disabled);
165 (*it)->setDisabled(disabled);
176 for (std::list<Widget *>::iterator it =
_children.begin(); it !=
_children.end(); ++it)
177 (*it)->setInvisible(invisible);
179 (*it)->setInvisible(invisible);
239 for (std::list<Widget *>::iterator i =
_children.begin(); i !=
_children.end(); ++i) {
278 (*it)->signalGroupMemberActive();
A class holding an UTF-8 string.
virtual void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
bool empty() const
Is the string empty?
Low-level detection of architecture/system properties.
void addWidget(Widget *widget)
Add a widget.
bool hasWidget(const Common::UString &tag) const
Does this specific widget exist within the GUI?
void removeWidget(Widget *widget)
Remove a widget.