Castor3D 0.15.0
Multiplatform 3D engine
|
#include <LayoutBox.hpp>
General | |
C3D_API | LayoutBox (LayoutControl &container) |
void | setHorizontal (bool v) noexcept |
bool | isHorizontal () const noexcept |
Membres hérités additionnels | |
Fonctions membres publiques hérités de 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, LayoutControl &container) |
C3D_API void | markDirty () |
C3D_API void | addControl (Control &control, LayoutItemFlags flags={}) |
C3D_API void | removeControl (Control &control) |
C3D_API void | addSpacer (uint32_t size=Spacer::Dynamic) |
LayoutControl & | getContainer () const noexcept |
auto | begin () const noexcept |
auto | end () const noexcept |
Fonctions membres protégées hérités de castor3d::Layout | |
C3D_API void | update () |
Attributs protégés hérités de castor3d::Layout | |
LayoutControl & | m_container |
std::vector< Item > | m_items |
std::vector< SpacerUPtr > | m_spacers |
CpuFrameEvent * | m_event {} |
std::atomic_bool | m_updating { false } |
|
explicit |
Constructor
[in] | container | The control affected by this layout. |
|
inlinenoexcept |
|
inlinenoexcept |
Sets the layout direction.
[in] | v | true for an horizontal layout. |
Références castor3d::Layout::markDirty().