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

User-owned, persistent state of a virtualized GridView; keep it alive across frames. More...

#include <gui_controls/gui_tree_grid_types.h>

Classes

struct  Internal
 Written by the grid view each frame; not part of the API. More...

Public Attributes

int32_t lastViewportW = 0
 last frame's viewport width, pixels
int32_t lastViewportH = 0
 last frame's viewport height, pixels
int32_t cellStretchedW = 0
 Cell width (pixels) that makes the columns exactly fill the viewport; use it for fill-width items.
struct tachyon::GridViewVirtualState::Internal internal
 not part of the API

Detailed Description

User-owned, persistent state of a virtualized GridView; keep it alive across frames.

Member Data Documentation

◆ lastViewportW

int32_t tachyon::GridViewVirtualState::lastViewportW = 0

last frame's viewport width, pixels

◆ lastViewportH

int32_t tachyon::GridViewVirtualState::lastViewportH = 0

last frame's viewport height, pixels

◆ cellStretchedW

int32_t tachyon::GridViewVirtualState::cellStretchedW = 0

Cell width (pixels) that makes the columns exactly fill the viewport; use it for fill-width items.

◆ internal

struct tachyon::GridViewVirtualState::Internal tachyon::GridViewVirtualState::internal

not part of the API


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