Castor3D 0.16.0
Multiplatform 3D engine
|
#include <LayoutBox.hpp>
General | |
C3D_API | LayoutBox (ControlsManager &manager) |
C3D_API | LayoutBox (LayoutControl &container) |
void | setHorizontal (bool v) noexcept |
bool | isHorizontal () const noexcept |
Additional Inherited Members | |
Public Member Functions inherited from castor3d::Layout | |
C3D_API | Layout (Layout const &) noexcept=delete |
C3D_API Layout & | operator= (Layout const &) noexcept=delete |
C3D_API | Layout (Layout &&) noexcept=delete |
C3D_API Layout & | operator= (Layout &&) noexcept=delete |
virtual C3D_API | ~Layout () noexcept |
C3D_API | Layout (castor::String const &typeName, ControlsManager &manager) |
C3D_API | Layout (castor::String const &typeName, LayoutControl &container) |
C3D_API void | markDirty () |
C3D_API void | addControl (Control &control, LayoutItemFlags flags={}) |
C3D_API void | removeControl (Control const &control, bool checkPresent=true) |
C3D_API void | addSpacer (uint32_t size=Spacer::Dynamic) |
bool | hasManager () const noexcept |
ControlsManager & | getManager () const noexcept |
bool | hasContainer () const noexcept |
LayoutControl & | getContainer () const noexcept |
auto | begin () const noexcept |
auto | end () const noexcept |
Public Member Functions inherited from castor::NamedBaseT< T > | |
NamedBaseT (T name) noexcept | |
Constructor. | |
T const & | getName () const noexcept |
Retrieves the name. | |
void | rename (T name) noexcept |
Protected Member Functions inherited from castor3d::Layout | |
C3D_API void | update () |
Protected Attributes inherited from castor3d::Layout | |
ControlsManager * | m_manager {} |
LayoutControl * | m_container {} |
castor::Vector< Item > | m_items |
castor::Vector< SpacerUPtr > | m_spacers |
CpuFrameEvent * | m_event {} |
std::atomic_bool | m_updating { false } |
Protected Attributes inherited from castor::NamedBaseT< T > | |
T | m_name |
|
explicit |
Constructor for global layout
|
explicit |
Constructor
[in] | container | The control affected by this layout. |
|
inlinenoexcept |
|
inlinenoexcept |
Sets the layout direction.
[in] | v | true for an horizontal layout. |
References castor3d::Layout::markDirty().