relayer arranger view and extract button_2 and button_3 to top level

This commit is contained in:
🪞👃🪞 2025-02-09 13:59:51 +01:00
parent d1bb33dc41
commit fe9d5a309e
43 changed files with 7158 additions and 276 deletions

19
plugin/vst/src/cache.rs Normal file
View file

@ -0,0 +1,19 @@
use std::sync::Arc;
use crate::{editor::Editor, prelude::*};
pub(crate) struct PluginCache {
pub info: Info,
pub params: Arc<dyn PluginParameters>,
pub editor: Option<Box<dyn Editor>>,
}
impl PluginCache {
pub fn new(info: &Info, params: Arc<dyn PluginParameters>, editor: Option<Box<dyn Editor>>) -> Self {
Self {
info: info.clone(),
params,
editor,
}
}
}