mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
wip: p.46, e=26, still lotta todo!
This commit is contained in:
parent
627c7d8820
commit
2977247597
13 changed files with 392 additions and 443 deletions
|
|
@ -24,12 +24,15 @@ submod! {
|
|||
|
||||
//tui_mixer // TODO
|
||||
tui_phrase
|
||||
tui_phrase_cmd
|
||||
tui_phrase_view
|
||||
//tui_plugin // TODO
|
||||
//tui_plugin_lv2
|
||||
//tui_plugin_lv2_gui
|
||||
//tui_plugin_vst2
|
||||
//tui_plugin_vst3
|
||||
tui_pool
|
||||
tui_pool_cmd
|
||||
tui_pool_view
|
||||
//tui_sampler // TODO
|
||||
//tui_sampler_cmd
|
||||
|
|
@ -44,57 +47,7 @@ submod! {
|
|||
tui_transport_view
|
||||
}
|
||||
|
||||
//pub struct AppView<E, A, C, S>
|
||||
//where
|
||||
//E: Engine,
|
||||
//A: Widget<Engine = E> + Audio,
|
||||
//C: Command<Self>,
|
||||
//S: StatusBar,
|
||||
//{
|
||||
//pub app: A,
|
||||
//pub cursor: (usize, usize),
|
||||
//pub entered: bool,
|
||||
//pub menu_bar: Option<MenuBar<E, Self, C>>,
|
||||
//pub status_bar: Option<S>,
|
||||
//pub history: Vec<C>,
|
||||
//pub size: Measure<E>,
|
||||
//}
|
||||
|
||||
//#[derive(Debug, Clone)]
|
||||
//pub enum AppViewCommand<T: Debug + Clone> {
|
||||
//App(T)
|
||||
//}
|
||||
|
||||
//#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
//pub enum AppViewFocus<F: Debug + Copy + Clone + PartialEq> {
|
||||
//Menu,
|
||||
//Content(F),
|
||||
//}
|
||||
|
||||
//impl<E, A, C, S> AppView<E, A, C, S>
|
||||
//where
|
||||
//E: Engine,
|
||||
//A: Widget<Engine = E> + Audio,
|
||||
//C: Command<Self>,
|
||||
//S: StatusBar
|
||||
//{
|
||||
//pub fn new (
|
||||
//app: A,
|
||||
//menu_bar: Option<MenuBar<E, Self, C>>,
|
||||
//status_bar: Option<S>,
|
||||
//) -> Self {
|
||||
//Self {
|
||||
//app,
|
||||
//cursor: (0, 0),
|
||||
//entered: false,
|
||||
//history: vec![],
|
||||
//size: Measure::new(),
|
||||
//menu_bar,
|
||||
//status_bar,
|
||||
//}
|
||||
//}
|
||||
//}
|
||||
|
||||
// TODO
|
||||
impl<A, C, S> Content for AppView<Tui, A, C, S>
|
||||
where
|
||||
A: Widget<Engine = Tui> + Audio,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue