Concepts | |
| concept | Scalar |
Whether T is a scalar type that we can use with our widgets. | |
| concept | VectorOrScalar |
Whether T is a scalar or vector that we can use with our widgets. | |
| concept | ValidBoundForTargetType |
| concept | ValidDragSpeedForTargetType |
Functions | |
| MRVIEWER_API void | setScale (float newScale) |
Strictly for internal use. Updates the value that scale() returns. | |
| MRVIEWER_API bool | genericSlider (const char *label, ImGuiDataType data_type, void *p_data, const void *p_min, const void *p_max, const char *format, ImGuiSliderFlags flags) |
| A type-erased slider. | |
| template<UnitEnum E, VectorOrScalar T, typename F > | |
| bool | unitWidget (const char *label, T &v, UnitToStringParams< E > &unitParams, F &&func) |