|
DUDS
|
Distributed Update of Data from Something
|
Internal data structure used to store a Panel, its configuration, and current layout status. More...
Public Member Functions | |
| PanelStatus ()=default | |
| PanelStatus (const PanelSptr &pspt, const GridLayoutConfig &conf) | |
| PanelStatus (const PanelSptr &pspt, GridLayoutConfig &&conf) | |
| const GridSizeStep & | currentStep () const |
| Returns the size-step selected by layout(). More... | |
| GridLayoutConfig::Flags | flags () const |
| Returns the configuration flags to use for rendering. More... | |
Public Attributes | |
| GridLayoutConfig | config |
| The panel's layout configuration. More... | |
| ImageDimensions | dim |
| The maximum dimensions allocated to the panel by layout(). More... | |
| bool | hidden |
| True to indicate that the panel will not be rendered. More... | |
| ImageLocation | loc |
| The location on the target image as determined by layout(). More... | |
| PanelSptr | panel |
| The Panel object. More... | |
| int | sizeStep |
| The index of the size-step to use for rendering the panel as selected by layout(). More... | |
Internal data structure used to store a Panel, its configuration, and current layout status.
Definition at line 70 of file PriorityGridLayout.hpp.
|
default |
| duds::ui::graphics::PriorityGridLayout::PanelStatus::PanelStatus | ( | const PanelSptr & | pspt, |
| const GridLayoutConfig & | conf | ||
| ) |
Definition at line 46 of file PriorityGridLayout.cpp.
| duds::ui::graphics::PriorityGridLayout::PanelStatus::PanelStatus | ( | const PanelSptr & | pspt, |
| GridLayoutConfig && | conf | ||
| ) |
Definition at line 51 of file PriorityGridLayout.cpp.
|
inline |
Returns the size-step selected by layout().
Definition at line 101 of file PriorityGridLayout.hpp.
|
inline |
Returns the configuration flags to use for rendering.
The flags are formed by OR'ing the panel config flags and the current size-step flags.
Definition at line 110 of file PriorityGridLayout.hpp.
Referenced by duds::ui::graphics::PriorityGridLayout::render().
| GridLayoutConfig duds::ui::graphics::PriorityGridLayout::PanelStatus::config |
The panel's layout configuration.
Definition at line 78 of file PriorityGridLayout.hpp.
Referenced by duds::ui::graphics::PriorityGridLayout::renderFill().
| ImageDimensions duds::ui::graphics::PriorityGridLayout::PanelStatus::dim |
The maximum dimensions allocated to the panel by layout().
Definition at line 82 of file PriorityGridLayout.hpp.
Referenced by duds::ui::graphics::PriorityGridLayout::render(), and duds::ui::graphics::PriorityGridLayout::renderFill().
| bool duds::ui::graphics::PriorityGridLayout::PanelStatus::hidden |
True to indicate that the panel will not be rendered.
This can be from a hidden flag, or from exhausting all size-steps.
Definition at line 96 of file PriorityGridLayout.hpp.
| ImageLocation duds::ui::graphics::PriorityGridLayout::PanelStatus::loc |
The location on the target image as determined by layout().
Definition at line 86 of file PriorityGridLayout.hpp.
Referenced by duds::ui::graphics::PriorityGridLayout::render().
| PanelSptr duds::ui::graphics::PriorityGridLayout::PanelStatus::panel |
The Panel object.
Definition at line 74 of file PriorityGridLayout.hpp.
Referenced by duds::ui::graphics::PriorityGridLayout::remove(), and duds::ui::graphics::PriorityGridLayout::renderFill().
| int duds::ui::graphics::PriorityGridLayout::PanelStatus::sizeStep |
The index of the size-step to use for rendering the panel as selected by layout().
Definition at line 91 of file PriorityGridLayout.hpp.
Referenced by currentStep(), and flags().