mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Mention vizia ParamSlider set_style() method
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user