TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::NumericFieldConfig< T > Struct Template Reference

Drag speed and range of a numeric Field, specialized per value type. More...

#include <gui_core/text/gui_numeric_field_config.h>

Detailed Description

template<typename T>
struct tachyon::NumericFieldConfig< T >

Drag speed and range of a numeric Field, specialized per value type.

Typed and dragged values are clamped to [minVal, maxVal].

Field(opacity, NumericFieldConfig<float>{ .minVal = 0.0f, .maxVal = 1.0f }); 
Examples
controls/controls.cpp.

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