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

Slider track widths written by the sliders' custom draws and read next frame (keyboard step sizes, drag mapping). More...

#include <gui_controls/subsystems/gui_subsystem_state.h>

Public Member Functions

int GetWidth (tachyon::ID id) const
 0 until the slider has drawn once.
std::unordered_map< tachyon::ID, int > & Widths ()
 For the custom-draw lambdas to write into.

Detailed Description

Slider track widths written by the sliders' custom draws and read next frame (keyboard step sizes, drag mapping).

Member Function Documentation

◆ GetWidth()

int tachyon::SliderFieldTrackSubsystem::GetWidth ( tachyon::ID id) const
inline

0 until the slider has drawn once.

◆ Widths()

std::unordered_map< tachyon::ID, int > & tachyon::SliderFieldTrackSubsystem::Widths ( )
inline

For the custom-draw lambdas to write into.


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