TachyonUI 1.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

Gesture< int > drag
 a drag from the press on; before is the size, put back by Escape
ID previousFocusID = ID::Invalid()
 focus to give back after the drag
ID previousTextFocusID = ID::Invalid()
DoubleClickTracker clicks
 a double-click auto-sizes

Detailed Description

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

Member Data Documentation

◆ drag

Gesture<int> tachyon::SizerState::drag

a drag from the press on; before is the size, put back by Escape

◆ previousFocusID

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

focus to give back after the drag

◆ previousTextFocusID

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

◆ clicks

DoubleClickTracker tachyon::SizerState::clicks

a double-click auto-sizes


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