1
0
Fork 0

Mention vizia ParamSlider set_style() method

This commit is contained in:
Robbert van der Helm 2022-03-21 18:36:41 +01:00
parent 933a54053c
commit d83f55728a
2 changed files with 4 additions and 3 deletions

View file

@ -4,5 +4,5 @@ This provides an adapter to create [egui](https://github.com/emilk/egui) based
GUIs with NIH-plug through
[egui-baseview](https://github.com/BillyDM/egui-baseview).
Consider using [`nih_plug_iced`](../nih_plug_iced) instead or
[`nih_plug_vizia`](../nih_plug_vizia).
Consider using [`nih_plug_iced`](../nih_plug_iced) or
[`nih_plug_vizia`](../nih_plug_vizia) instead.

View file

@ -11,7 +11,8 @@ use super::RawParamEvent;
/// noramlized parameter.
const GRANULAR_DRAG_MULTIPLIER: f32 = 0.1;
/// A slider that integrates with NIH-plug's [`Param`] types.
/// A slider that integrates with NIH-plug's [`Param`] types. Use the
/// [`set_style()`][Self::set_style()] method to change how the value gets displayed.
///
/// TODO: Handle scrolling for steps (and shift+scroll for smaller steps?)
/// TODO: We may want to add a couple dedicated event handlers if it seems like those would be