ttx 0.1.0
Loading...
Searching...
No Matches
layout.h File Reference
#include "di/container/tree/tree_set.h"
#include "di/reflect/prelude.h"
#include "di/vocab/pointer/box.h"
#include "direction.h"
#include "ttx/layout_json.h"
#include "ttx/pane.h"
#include "ttx/size.h"

Go to the source code of this file.

Classes

struct  ttx::LayoutEntry
struct  ttx::LayoutNode
struct  ttx::LayoutPane
class  ttx::LayoutGroup

Namespaces

namespace  ttx

Enumerations

enum class  ttx::ResizeDirection { ttx::Left , ttx::Right , ttx::Top , ttx::Bottom }

Functions

auto ttx::border_intersections (di::Variant< di::Box< LayoutNode >, LayoutEntry > const &layout) -> di::Tuple< di::Span< u32 const >, di::Span< u32 const > >
constexpr auto ttx::tag_invoke (di::Tag< di::reflect >, di::InPlaceType< ResizeDirection >)

Variables

constexpr auto ttx::max_layout_precision = i64(100'000)