mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-08-07 22:17:07 +02:00
main menu-ish
This commit is contained in:
parent
8e97d52a2f
commit
7d4998601b
2 changed files with 17 additions and 24 deletions
21
src/tek.edn
21
src/tek.edn
|
|
@ -1,6 +1,7 @@
|
|||
(view :logo (bsp/s (exact/y 1 (text ~~ ╓─╥─╖ ╓──╖ ╥ ╖ ~~~~~~~~~~~~))
|
||||
(bsp/s (exact/y 1 (text ~~~~ ║ ~ ╟─╌ ~╟─< ~~ v0.3.0 ~~))
|
||||
(bsp/s (exact/y 1 (text ~~~~ ╨ ~ ╙──╜ ╨ ╜ ~~~~~~~~~~~~)) (text dig?)))))
|
||||
(view :logo (bsp/s (text ~~ ╓─╥─╖ ╓──╖ ╥ ╖ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~)
|
||||
(bsp/s (text ~~~~ ║ ~ ╟─╌ ~╟─< ~~ heatwave is the new darkwave ~~)
|
||||
(bsp/s (text ~~~~ ╨ ~ ╙──╜ ╨ ╜ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~)
|
||||
(text powered by tengri & dizzle\n)))))
|
||||
|
||||
(view :browse (bsp/s
|
||||
(padding 3 1 :browse-title)
|
||||
|
|
@ -13,15 +14,7 @@
|
|||
:transport)
|
||||
|
||||
(mode :menu (name Menu) (info Mode selector.) (keys :axis/y :confirm)
|
||||
(view (bg (g 16) (bsp/n
|
||||
(bg (g 32) (max/xy 80 2 :transport))
|
||||
(bsp/s
|
||||
(max/y 3 (bg (g 80) :ports/out))
|
||||
(bsp/n
|
||||
(max/y 3 (bg (g 80) :ports/in))
|
||||
(bg (g 30) (bsp/s
|
||||
(max/y 6 :logo)
|
||||
:dialog/menu))))))))
|
||||
(view (bg (g 16) (bsp/s (bsp/w (bg (g 32) :logo) (bsp/e :ports/out (bsp/e :transport :ports/in))) :dialog/menu))))
|
||||
|
||||
(view :ports/out
|
||||
(bsp/s (align/w (text L-AUDIO-OUT))
|
||||
|
|
@ -78,9 +71,9 @@
|
|||
(mode :track (keys :track))
|
||||
(mode :scene (keys :scene))
|
||||
(mode :mix (keys :mix))
|
||||
(bsp/n :status (bsp/w :meters/output (bsp/e :meters/input (bsp/n :tracks/inputs
|
||||
(view (bsp/n :status (bsp/w :meters/output (bsp/e :meters/input (bsp/n :tracks/inputs
|
||||
(bsp/s :tracks/outputs (bsp/s :tracks/names (bsp/s :tracks/devices
|
||||
(fill (either :mode/editor (bsp/e :scenes/names :editor) :scenes))))))))))
|
||||
(fill (either :mode/editor (bsp/e :scenes/names :editor) :scenes)))))))))))
|
||||
|
||||
(keys :back (@escape back))
|
||||
(keys :confirm (@enter confirm))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue