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

Per-element state of MakeSliderHandler and the integer slider (element data store); internal. More...

#include <gui_controls/gui_default_handlers.h>

Public Attributes

Gesture< float > drag
 the press on the bar; before is the value at it or at a label drag's start, put back by Escape and a cancelled label drag
bool editMode = false
 set by a clean click: in-place text editing

Detailed Description

Per-element state of MakeSliderHandler and the integer slider (element data store); internal.

Member Data Documentation

◆ drag

Gesture<float> tachyon::SliderState::drag

the press on the bar; before is the value at it or at a label drag's start, put back by Escape and a cancelled label drag

◆ editMode

bool tachyon::SliderState::editMode = false

set by a clean click: in-place text editing


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