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

Per-element state of the sizer handlers (element data store); internal. More...

#include <gui_controls/gui_default_handlers.h>

Public Attributes

PointerDrag drag
 a drag from the press on
ID previousFocusID = ID::Invalid()
 focus to give back after the drag
ID previousTextFocusID = ID::Invalid()
int startSize = 0
 put back by Escape
DoubleClickTracker clicks
 a double-click auto-sizes

Detailed Description

Per-element state of the sizer handlers (element data store); internal.

Member Data Documentation

◆ drag

PointerDrag tachyon::SizerState::drag

a drag from the press on

◆ previousFocusID

ID tachyon::SizerState::previousFocusID = ID::Invalid()

focus to give back after the drag

◆ previousTextFocusID

ID tachyon::SizerState::previousTextFocusID = ID::Invalid()

◆ startSize

int tachyon::SizerState::startSize = 0

put back by Escape

◆ clicks

DoubleClickTracker tachyon::SizerState::clicks

a double-click auto-sizes


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