- auto iterated tab/widget unique ids if not set in session file
- docs, wip
This commit is contained in:
parent
a93e8dc9c8
commit
60967e0e89
8 changed files with 124 additions and 53 deletions
|
|
@ -5,34 +5,27 @@ TABS = function(){
|
|||
var tabs = new Array()
|
||||
tabs.push(function(){
|
||||
var tab = {}
|
||||
tab.id = 'Audio Surface'
|
||||
tab.widgets = new Array()
|
||||
|
||||
for (i in [0,1,2,3,4,5,6,7,8,9]) {
|
||||
tab.widgets.push({
|
||||
id:'strip_'+i,
|
||||
type:'strip',
|
||||
widgets: [
|
||||
{
|
||||
id:'w0'+i,
|
||||
type:"knob",
|
||||
target:target
|
||||
},
|
||||
{
|
||||
id:'w1'+i,
|
||||
type:"switch",
|
||||
values:['ozehfozeizadz',1,2],
|
||||
values:[0,1,2],
|
||||
target:target
|
||||
},
|
||||
{
|
||||
id:'w2'+i,
|
||||
type:"fader",
|
||||
target:target
|
||||
},
|
||||
{
|
||||
id:'w3'+i,
|
||||
type:"toggle",
|
||||
mode:"horizontal",
|
||||
target:target
|
||||
// color:'orange'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue