mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
wip: preparing to run groovebox from edn
This commit is contained in:
parent
ce4574ed78
commit
a6efde40f8
5 changed files with 43 additions and 28 deletions
|
|
@ -4,6 +4,14 @@ use std::marker::ConstParamTy;
|
|||
use tek_engine::Render;
|
||||
use EdnItem::*;
|
||||
|
||||
const EDN: &'static str = include_str!("groovebox.edn");
|
||||
|
||||
//impl Content<Tui> for Groovebox {
|
||||
//fn content (&self) -> impl Render<Tui> {
|
||||
//self.size.of(EdnView::new(self, EDN).expect("failed to build view"))
|
||||
//}
|
||||
//}
|
||||
|
||||
render!(Tui: (self: Groovebox) => self.size.of(
|
||||
Bsp::s(self.toolbar_view(),
|
||||
Bsp::n(self.selector_view(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue