mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
almost back in commission
This commit is contained in:
parent
fa5f67f010
commit
d5865d941f
7 changed files with 219 additions and 216 deletions
16
tek.edn
16
tek.edn
|
|
@ -1,12 +1,16 @@
|
|||
(mode :menu (keys :x :y :confirm) :menu)
|
||||
(keys :x (@left x/dec) (@right x/inc))
|
||||
(keys :y (@up y/dec) (@down y/inc))
|
||||
(keys :confirm (@enter confirm))
|
||||
(view :menu (bg :color/bg (bsp/s :ports/out (bsp/n :ports/in (bsp/e :sessions :templates)))))
|
||||
(view :ports/out (fill/x (fixed/y 3 (bsp/a (fill/x (align/w "L AUDIO OUT")
|
||||
(bsp/a "MIDI OUT" (fill/x (align/e "AUDIO OUT R"))))))))
|
||||
(view :ports/in (fill/x (fixed/y 3 (bsp/a (fill/x (align/w "L AUDIO IN ")
|
||||
(bsp/a "MIDI IN " (fill/x (align/e "AUDIO IN R"))))))))
|
||||
(keys :confirm (@enter confirm))
|
||||
(view :menu (bg (g 40) (bsp/s :ports/out (bsp/n :ports/in
|
||||
(bg (g 30) (fill/xy (align/c (bg (g 40) (bsp/s
|
||||
(text CONTINUE-SESSION)
|
||||
(bsp/s (text LOAD-OTHER-SESSION)
|
||||
(text BEGIN-NEW-SESSION)))))))))))
|
||||
(view :ports/out (fill/x (fixed/y 3 (bsp/a (fill/x (align/w (text L-AUDIO-OUT)))
|
||||
(bsp/a (text MIDI-OUT) (fill/x (align/e (text AUDIO-OUT R))))))))
|
||||
(view :ports/in (fill/x (fixed/y 3 (bsp/a (fill/x (align/w (text L-AUDIO-IN)))
|
||||
(bsp/a (text MIDI-IN) (fill/x (align/e (text AUDIO-IN-R))))))))
|
||||
(view :browse (bsp/s (padding/xy 3 1 :browse-title) (enclose (fg (g 96)) browser)))
|
||||
|
||||
(keys :help (@f1 dialog :help))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue