GGUI::Hints namespace

Hints read by the built-in editors.

Variables

GGHint<double> Min constexpr
Minimum value.
GGHint<double> Max constexpr
Maximum value.
GGHint<double> SoftMin constexpr
Lowest value a drag or slider reaches. Typing can go lower, down to Min.
GGHint<double> SoftMax constexpr
Highest value a drag or slider reaches. Typing can go higher, up to Max.
GGHint<double> Step constexpr
Amount one drag step or arrow key press changes the value.
GGHint<int> Decimals constexpr
Decimal places shown.
GGHint<bool> Slider constexpr
Edit with a slider instead of a number field.
GGHint<std::string_view> Units constexpr
Unit label shown after the number, e.g. m/s.
GGHint<bool> Multiline constexpr
Multi-line text.
GGHint<bool> Password constexpr
Mask the text as it is typed.
GGHint<bool> Wrap constexpr
Components wrap from Max back to Min, for rotations.
GGHint<bool> Opaque constexpr
Colour without an alpha (transparency) channel.
GGHint<bool> List constexpr
The field is a list: its nested fields are elements that can be added and removed.
GGHint<std::string_view> Class constexpr
Style class for the field's editor.