|
TachyonUI 1.1.0
High-performance UI for building tools.
|
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) |
| 0 until the slider has drawn once. | |
| RecentIDMap< int > & | Widths () |
| For the custom-draw lambdas to write into. | |
| void | EndFrame () |
| Once per frame: the widths of sliders no longer shown go after a while. | |
Slider track widths written by the sliders' custom draws and read next frame (keyboard step sizes, drag mapping).
|
inline |
0 until the slider has drawn once.
Asked while the slider is built, which keeps its width (a cached panel doesn't draw it again).
|
inline |
For the custom-draw lambdas to write into.
|
inline |
Once per frame: the widths of sliders no longer shown go after a while.