#include <Layout.hpp>
◆ Layout() [1/4]
◆ Layout() [2/4]
◆ ~Layout()
virtual C3D_API castor3d::Layout::~Layout |
( |
| ) |
|
|
virtualnoexcept |
◆ Layout() [3/4]
Constructor for global layout
- Parameters
-
[in] | typeName | The layout type name. |
[in] | manager | The parent controls manager. |
◆ Layout() [4/4]
Constructor
- Parameters
-
[in] | typeName | The layout type name. |
[in] | container | The parent layout control. |
◆ addControl()
Adds a control.
- Parameters
-
[in] | control | The control. |
[in] | flags | The layout flags for the control. |
◆ addSpacer()
◆ begin()
auto castor3d::Layout::begin |
( |
| ) |
const |
|
inlinenoexcept |
◆ end()
auto castor3d::Layout::end |
( |
| ) |
const |
|
inlinenoexcept |
◆ getContainer()
◆ getManager()
◆ hasContainer()
bool castor3d::Layout::hasContainer |
( |
| ) |
const |
|
inlinenoexcept |
◆ hasManager()
bool castor3d::Layout::hasManager |
( |
| ) |
const |
|
inlinenoexcept |
◆ markDirty()
C3D_API void castor3d::Layout::markDirty |
( |
| ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ removeControl()
C3D_API void castor3d::Layout::removeControl |
( |
Control const & | control, |
|
|
bool | checkPresent = true ) |
Removes a control.
- Parameters
-
[in] | control | The control. |
[in] | checkPresent | true to log a warning if not found. |
◆ update()
C3D_API void castor3d::Layout::update |
( |
| ) |
|
|
protected |
Updates the layout and its controls.
◆ m_container
◆ m_event
◆ m_items
◆ m_manager
◆ m_spacers
◆ m_updating
std::atomic_bool castor3d::Layout::m_updating { false } |
|
protected |
The documentation for this class was generated from the following file: