 |
Gorgon Game Engine
|
Go to the documentation of this file.
5 namespace Gorgon {
namespace UI {
44 return base !=
nullptr;
virtual void Resize(const Geometry::Size &size)
Resizes the layer to the given size.
Definition: Layer.h:337
LayerAdapter(Layer &base)
Constructor requires the base layer.
Definition: LayerAdapter.h:21
virtual Geometry::Size GetInteriorSize() const override
Should return the interior (usable) size of the container.
Definition: LayerAdapter.h:29
virtual bool IsVisible() const
Returns whether this layer is effectively visible.
Definition: Layer.h:459
virtual Gorgon::Layer & getlayer() override
Returns the layer that will be used to place the contained widgets.
Definition: LayerAdapter.h:58
Geometry::Size GetCalculatedSize() const
Returns the size of the layer.
Definition: Layer.h:369
void SetLayer(Gorgon::Layer &value)
Definition: LayerAdapter.h:47
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
This class represents a 2D geometric size.
Definition: Size.h:23
This class turns a layer into a widget container.
Definition: LayerAdapter.h:12
This structure is used to transfer extender request response.
Definition: WidgetContainer.h:15
This class is the base class for all layer types.
Definition: Layer.h:79
Gorgon::Layer & GetLayer() const
Definition: LayerAdapter.h:51
virtual bool ResizeInterior(Geometry::Size size) override
Should resize the interior (usable) size of the container.
Definition: LayerAdapter.h:33
virtual ExtenderRequestResponse RequestExtender(const Gorgon::Layer &self) override
This function will return a container that will act as an extender.
Definition: LayerAdapter.cpp:7
UI window allows programmers to create an OS window that will accept widgets and has the ability to r...
Definition: Window.h:24
bool IsReady() const
Definition: LayerAdapter.h:43
virtual ExtenderRequestResponse RequestExtender(const Gorgon::Layer &self) override
This function will return a container that will act as an extender.
Definition: Window.h:107
Layer * base
Definition: LayerAdapter.h:62
LayerAdapter()
This constructor will leave the LayerAdapter in an invalid state.
Definition: LayerAdapter.h:17
virtual bool EnsureVisible(const Gorgon::UI::Widget &widget) override
Ensures the widget is visible.
Definition: LayerAdapter.h:25
virtual bool IsVisible() const override
Should return whether the container is visible.
Definition: LayerAdapter.h:39