HikoGUI
A low latency retained GUI
|
#include <hikogui/geometry/alignment.hpp>
Public Member Functions | |
constexpr | alignment (alignment const &) noexcept=default |
constexpr | alignment (alignment &&) noexcept=default |
constexpr alignment & | operator= (alignment const &) noexcept=default |
constexpr alignment & | operator= (alignment &&) noexcept=default |
constexpr | alignment (uint8_t value) noexcept |
constexpr | alignment (horizontal_alignment t, vertical_alignment v=vertical_alignment::none) noexcept |
constexpr | alignment (vertical_alignment v, horizontal_alignment h=horizontal_alignment::none) noexcept |
constexpr horizontal_alignment | horizontal () const noexcept |
constexpr vertical_alignment | vertical () const noexcept |
Static Public Member Functions | |
static constexpr alignment | top_flush () noexcept |
static constexpr alignment | top_left () noexcept |
static constexpr alignment | top_center () noexcept |
static constexpr alignment | top_justified () noexcept |
static constexpr alignment | top_right () noexcept |
static constexpr alignment | middle_flush () noexcept |
static constexpr alignment | middle_left () noexcept |
static constexpr alignment | middle_center () noexcept |
static constexpr alignment | middle_justified () noexcept |
static constexpr alignment | middle_right () noexcept |
static constexpr alignment | bottom_left () noexcept |
static constexpr alignment | bottom_center () noexcept |
static constexpr alignment | bottom_right () noexcept |
Friends | |
constexpr friend bool | operator== (alignment const &lhs, alignment const &rhs) noexcept=default |
constexpr friend bool | operator== (alignment const &lhs, horizontal_alignment const &rhs) noexcept |
constexpr friend bool | operator== (horizontal_alignment const &lhs, alignment const &rhs) noexcept |
constexpr friend bool | operator== (alignment const &lhs, vertical_alignment const &rhs) noexcept |
constexpr friend bool | operator== (vertical_alignment const &lhs, alignment const &rhs) noexcept |
constexpr friend alignment | mirror (alignment const &rhs) noexcept |
constexpr friend alignment | mirror (alignment const &rhs, bool left_to_right) noexcept |
constexpr friend alignment | resolve (alignment const &rhs, bool left_to_right) noexcept |
constexpr friend alignment | resolve_mirror (alignment const &rhs, bool left_to_right) noexcept |
Horizontal/Vertical alignment combination.