|
HikoGUI
A low latency retained GUI
|
#include <ttauri/flow_layout.hpp>
Public Member Functions | |
| void | clear () noexcept |
| size_t | nr_items () const noexcept |
| void | update (ssize_t index, float minimum_size, float preferred_size, float maximum_size, float margin) noexcept |
| int | total_margin_size () const noexcept |
| float | minimum_size () const noexcept |
| float | preferred_size () const noexcept |
| float | maximum_size () const noexcept |
| void | set_size (float total_size) noexcept |
| Update the layout of all items based on the total size. | |
| std::pair< float, float > | get_offset_and_size (size_t index) const noexcept |
| void | reserve (ssize_t new_size) noexcept |
| Grow layout to include upto new_size of items. | |
Layout algorithm.
|
inlinenoexcept |
Grow layout to include upto new_size of items.
|
inlinenoexcept |
Update the layout of all items based on the total size.