TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::LayoutGrid Struct Reference

#include <gui_core/layout/gui_layout_grid.h>

Static Public Member Functions

static int32_t HorizontalSizing (const ElementRect &parentRect, std::span< const ElementRect > children)
 Returns the content width required by the grid.
static int32_t VerticalSizing (const ElementRect &parentRect, std::span< const ElementRect > children)
 Returns the content height required by the grid.
static void HorizontalPositioning (const ElementRect &parentRect, std::span< ElementRect > childRects)
static IntRect VerticalPositioning (const ElementRect &parentRect, const IntRect &clipRect, std::span< ElementRect > childRects)
 Returns the content bounds.

Member Function Documentation

◆ HorizontalSizing()

int32_t tachyon::LayoutGrid::HorizontalSizing ( const ElementRect & parentRect,
std::span< const ElementRect > children )
static

Returns the content width required by the grid.

◆ VerticalSizing()

int32_t tachyon::LayoutGrid::VerticalSizing ( const ElementRect & parentRect,
std::span< const ElementRect > children )
static

Returns the content height required by the grid.

◆ HorizontalPositioning()

void tachyon::LayoutGrid::HorizontalPositioning ( const ElementRect & parentRect,
std::span< ElementRect > childRects )
static

◆ VerticalPositioning()

IntRect tachyon::LayoutGrid::VerticalPositioning ( const ElementRect & parentRect,
const IntRect & clipRect,
std::span< ElementRect > childRects )
static

Returns the content bounds.


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