 |
Gorgon Game Engine
|
Go to the documentation of this file.
3 #include "../UI/Widget.h"
4 #include "../UI/WidgetContainer.h"
6 namespace Gorgon {
namespace Widgets {
60 using Widget::EnsureVisible;
67 using Widget::Disable;
68 using Widget::ToggleEnabled;
98 virtual void focused()
override;
123 virtual void hide()
override;
125 virtual void show()
override;
virtual void Resize(const Geometry::Size &size)
Resizes the layer to the given size.
Definition: Layer.h:337
void Remove(const I_ &first, const I_ &end)
This function works with collection iterators.
Definition: Iterator.h:386
void Add(Layer &layer)
Adds the given layer as a child.
Definition: Layer.cpp:23
Geometry::Point GetLocation() const
Returns the current location of the layer.
Definition: Layer.h:403
virtual bool IsVisible() const
Returns whether this layer is effectively visible.
Definition: Layer.h:459
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
This class represents a 2D geometric size.
Definition: Size.h:23
uint32_t Char
Definition: Types.h:46
void PlaceBefore(int before)
Places this layer before the given index.
Definition: Layer.h:290
virtual void Move(const Geometry::Point &location)
Moves this layer to the given location.
Definition: Layer.h:327
This structure is used to transfer extender request response.
Definition: WidgetContainer.h:15
void Remove(Layer &layer)
Removes the given layer.
Definition: Layer.h:203
This class is the base class for all layer types.
Definition: Layer.h:79
Geometry::Point CoordinatesInExtender
Coordinates of the given point in the extender container.
Definition: WidgetContainer.h:24
This class represents a 2D point.
Definition: Point.h:32
virtual void Hide()
Hides this layer.
Definition: Layer.h:456
virtual void Show()
Displays this layer.
Definition: Layer.h:453
void Resize(const Geometry::Size &size)
Resizes the active context.
Definition: OpenGL.cpp:273
Geometry::Size GetSize() const
Returns the size of the layer.
Definition: Layer.h:362