Commit 40ff5793 authored by maybites's avatar maybites
Browse files

updated view with monitor abstraction

parent 752505b2
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
} }
, ,
"classnamespace" : "box", "classnamespace" : "box",
"rect" : [ 326.0, 235.0, 422.0, 340.0 ], "rect" : [ 701.0, 207.0, 422.0, 340.0 ],
"bglocked" : 0, "bglocked" : 0,
"openinpresentation" : 1, "openinpresentation" : 1,
"default_fontsize" : 12.0, "default_fontsize" : 12.0,
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
"offset" : [ 0.0, 0.0 ], "offset" : [ 0.0, 0.0 ],
"patching_rect" : [ 742.0, 103.0, 73.333333333333371, 28.0 ], "patching_rect" : [ 742.0, 103.0, 73.333333333333371, 28.0 ],
"presentation" : 1, "presentation" : 1,
"presentation_rect" : [ 6.0, 57.0, 60.0, 23.0 ], "presentation_rect" : [ 6.0, 57.0, 66.0, 23.0 ],
"viewvisibility" : 1 "viewvisibility" : 1
} }
...@@ -568,7 +568,7 @@ ...@@ -568,7 +568,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 52.5, 378.0, 49.0, 22.0 ], "patching_rect" : [ 55.5, 378.0, 49.0, 22.0 ],
"presentation" : 1, "presentation" : 1,
"presentation_rect" : [ 6.0, 303.0, 62.0, 22.0 ], "presentation_rect" : [ 6.0, 303.0, 62.0, 22.0 ],
"text" : "monitor", "text" : "monitor",
...@@ -583,584 +583,9 @@ ...@@ -583,584 +583,9 @@
"maxclass" : "newobj", "maxclass" : "newobj",
"numinlets" : 3, "numinlets" : 3,
"numoutlets" : 0, "numoutlets" : 0,
"patcher" : { "patching_rect" : [ 12.5, 425.0, 62.0, 22.0 ],
"fileversion" : 1, "text" : "tg.monitor",
"appversion" : { "varname" : "tg.monitor"
"major" : 8,
"minor" : 2,
"revision" : 0,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 285.0, 386.0, 397.0, 203.0 ],
"bglocked" : 0,
"openinpresentation" : 1,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 0,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 0,
"enablevscroll" : 0,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 603.0, 167.0, 77.0, 22.0 ],
"text" : "loadmess #2"
}
}
, {
"box" : {
"id" : "obj-25",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 456.0, 77.0, 33.0, 22.0 ],
"text" : "front"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-21",
"index" : 3,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 456.0, 22.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"id" : "obj-50",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 220.0, 69.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-60",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 2,
"revision" : 0,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 59.0, 104.0, 462.0, 405.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 204.0, 40.0, 58.0, 22.0 ],
"text" : "loadbang"
}
}
, {
"box" : {
"id" : "obj-57",
"linecount" : 6,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 196.0, 200.0, 149.0, 89.0 ],
"text" : "window flags nozoom, window flags nominimize, window flags nogrow, window flags float, window flags nomenu, window exec"
}
}
, {
"box" : {
"id" : "obj-56",
"linecount" : 6,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 200.0, 139.0, 89.0 ],
"text" : "window flags zoom, window flags minimize, window flags grow, window flags nofloat, window flags menu, window exec"
}
}
, {
"box" : {
"id" : "obj-54",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 107.0, 100.0, 56.0, 22.0 ],
"text" : "route 0 1"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-58",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 107.0, 40.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-59",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 117.0, 349.0, 30.0, 30.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-57", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-56", 0 ],
"source" : [ "obj-54", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-57", 0 ],
"source" : [ "obj-54", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-59", 0 ],
"source" : [ "obj-56", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-59", 0 ],
"source" : [ "obj-57", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-54", 0 ],
"source" : [ "obj-58", 0 ]
}
}
]
}
,
"patching_rect" : [ 280.0, 224.0, 82.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p appearance"
}
}
, {
"box" : {
"id" : "obj-24",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 370.0, 224.0, 75.0, 22.0 ],
"text" : "prepend title"
}
}
, {
"box" : {
"id" : "obj-22",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 370.0, 196.0, 252.0, 22.0 ],
"text" : "sprintf %s > UltraGrid > channel %s > monitor"
}
}
, {
"box" : {
"id" : "obj-17",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 370.0, 167.0, 58.0, 22.0 ],
"text" : "route title"
}
}
, {
"box" : {
"id" : "obj-13",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 370.0, 139.0, 60.0, 22.0 ],
"text" : "r #1_peer"
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 370.0, 318.0, 67.0, 22.0 ],
"save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ],
"text" : "thispatcher"
}
}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 168.0, 69.0, 34.0, 22.0 ],
"text" : "sel 1"
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 53.0, 69.0, 95.0, 22.0 ],
"text" : "prepend insert 0"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-5",
"index" : 2,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 168.0, 22.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"id" : "obj-4",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 168.0, 106.0, 35.0, 22.0 ],
"presentation" : 1,
"presentation_rect" : [ 5.0, 180.0, 35.0, 22.0 ],
"text" : "clear"
}
}
, {
"box" : {
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-9",
"items" : [ 0, ",", 0 ],
"maxclass" : "chooser",
"multiselect" : 0,
"numinlets" : 1,
"numoutlets" : 6,
"outlettype" : [ "", "", "", "", "", "" ],
"parameter_enable" : 0,
"patching_rect" : [ 53.0, 146.0, 200.0, 122.0 ],
"presentation" : 1,
"presentation_rect" : [ 5.0, 6.0, 387.0, 172.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 53.0, 22.0, 30.0, 30.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-17", 0 ],
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 1 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"source" : [ "obj-24", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-60", 0 ],
"source" : [ "obj-50", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"source" : [ "obj-60", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-7", 0 ]
}
}
],
"styles" : [ {
"name" : "rnbodefault",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"color1" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"color2" : [ 0.263682, 0.004541, 0.038797, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0.0
}
,
"accentcolor" : [ 0.343034118413925, 0.506230533123016, 0.86220508813858, 1.0 ],
"fontsize" : [ 12.0 ],
"elementcolor" : [ 0.357540726661682, 0.515565991401672, 0.861786782741547, 1.0 ],
"bgcolor" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"color" : [ 0.929412, 0.929412, 0.352941, 1.0 ],
"stripecolor" : [ 0.258338063955307, 0.352425158023834, 0.511919498443604, 1.0 ],
"fontname" : [ "Lato" ]
}
,
"parentstyle" : "",
"multi" : 0
}
, {
"name" : "rnbohighcontrast",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"color1" : [ 0.090196078431373, 0.090196078431373, 0.090196078431373, 1.0 ],
"color2" : [ 0.156862745098039, 0.168627450980392, 0.164705882352941, 1.0 ],
"angle" : 270.0,
"proportion" : 0.5,
"autogradient" : 0.0
}
,
"selectioncolor" : [ 0.301960784313725, 0.694117647058824, 0.949019607843137, 1.0 ],
"clearcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"accentcolor" : [ 0.666666666666667, 0.666666666666667, 0.666666666666667, 1.0 ],
"fontsize" : [ 13.0 ],
"elementcolor" : [ 0.223386004567146, 0.254748553037643, 0.998085916042328, 1.0 ],
"bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"locked_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"editing_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"color" : [ 1.0, 0.874509803921569, 0.141176470588235, 1.0 ],
"stripecolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"textcolor_inverse" : [ 1.0, 1.0, 1.0, 1.0 ],
"textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
,
"patching_rect" : [ 12.5, 425.0, 59.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p monitor"
} }
} }
...@@ -1175,25 +600,6 @@ ...@@ -1175,25 +600,6 @@
"text" : "route monitor open" "text" : "route monitor open"
} }
}
, {
"box" : {
"id" : "obj-42",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 12.5, 335.0, 76.0, 22.0 ],
"restore" : [ 0 ],
"saved_object_attributes" : {
"parameter_enable" : 0,
"parameter_mappable" : 0
}
,