TermOx
Public Member Functions | List of all members
ox::layout::detail::Shared_space< Parameters > Class Template Reference

Divides up space between child Widgets where all Widgets share the length. More...

#include <shared_space.hpp>

Public Member Functions

auto calculate_lengths (Widget &parent) -> Length_list
 
auto calculate_positions (Length_list const &lengths) -> Position_list
 Returns local primary dimension positions, starting at zero.
 
auto get_offset () const -> std::size_t
 Return the child Widget offset, the first widget included in the layout.
 
void set_offset (std::size_t index)
 Sets the child Widget offset, does not do bounds checking.
 

Detailed Description

template<typename Parameters>
class ox::layout::detail::Shared_space< Parameters >

Divides up space between child Widgets where all Widgets share the length.


The documentation for this class was generated from the following file: