#include <Layout.hpp>
◆ Type
| Enumerator |
|---|
| eControl | |
| eSpacer | |
◆ Item() [1/2]
Creates a control item.
- Parameters
-
| [in] | c | The item control. |
| [in] | f | The item flags. |
| [in] | o | The connection to the control changed signal. |
References eControl.
◆ Item() [2/2]
| castor3d::Layout::Item::Item |
( |
Spacer & | s | ) |
|
|
inlineexplicitnoexcept |
Creates a spacer item.
- Parameters
-
References eSpacer.
◆ control()
| auto castor3d::Layout::Item::control |
( |
| ) |
const |
|
inlinenoexcept |
◆ expand()
| auto castor3d::Layout::Item::expand |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The item expand status.
References flags().
◆ flags()
| auto castor3d::Layout::Item::flags |
( |
| ) |
const |
|
inlinenoexcept |
◆ getPaddedSize()
- Returns
- The size including padding.
◆ hAlign()
| auto castor3d::Layout::Item::hAlign |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The item horizontal alignment.
References flags().
◆ isControl()
| auto castor3d::Layout::Item::isControl |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
true if this item is a control, nullptr if not.
References eControl.
Referenced by control().
◆ isSpacer()
| auto castor3d::Layout::Item::isSpacer |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
true if this item is a spacer, nullptr if not.
References eSpacer.
Referenced by spacer().
◆ padding()
| uint32_t castor3d::Layout::Item::padding |
( |
uint32_t | i | ) |
const |
|
inlinenoexcept |
- Returns
- The padding value at given index.
References flags().
◆ paddingSize()
| uint32_t castor3d::Layout::Item::paddingSize |
( |
uint32_t | i | ) |
const |
|
inlinenoexcept |
- Returns
- The padding size at given index.
References flags().
◆ reserveSpaceIfHidden()
| auto castor3d::Layout::Item::reserveSpaceIfHidden |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The item reserve space if hidden status.
References flags().
◆ spacer()
| auto castor3d::Layout::Item::spacer |
( |
| ) |
const |
|
inlinenoexcept |
◆ vAlign()
| auto castor3d::Layout::Item::vAlign |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The item vertical alignment.
References flags().
The documentation for this struct was generated from the following file: