 |
Gorgon Game Engine
|
Go to the documentation of this file.
6 namespace Gorgon {
namespace UI {
14 namespace Organizers {
33 return attachedto !=
nullptr;
40 throw std::runtime_error(
"Organizer is not attached to any container");
58 bool organizing =
false;
bool IsAttached() const
Returns if this organizer is attached to a container.
Definition: Base.h:32
virtual void attachmentchanged()
Called when the attachment of the organizer is changed.
Definition: Base.h:50
Provides the basis for the automatic UI organizers.
Definition: Base.h:18
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
virtual void reorganize()=0
Should reorganize the contents of the organizer.
void RemoveFrom()
Removes the organizer from the container.
Definition: Base.cpp:17
void AttachTo(WidgetContainer &container)
Attaches this organizer to a container.
Definition: Base.cpp:6
virtual ~Base()
Ensuring correct destruction.
Definition: Base.h:22
void Reorganize()
Reorganizes the widgets that are organized by this organizer.
Definition: Base.cpp:31
WidgetContainer & GetAttached() const
Returns the container that this organizer is attached to.
Definition: Base.h:38