Commit 30177e48 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

redesign gid button

parent 4d85c969
......@@ -620,7 +620,7 @@ id float gid float vel float c float vis;
#X msg 481 337 const 0;
#X obj 565 306 array define \$0.active 1000;
#X obj 461 58 t b b b b b;
#N canvas 188 187 640 399 create_guis 0;
#N canvas 148 155 640 399 create_guis 0;
#X obj 355 32 inlet;
#X obj 404 294 outlet;
#X obj 16 346 list store;
......@@ -628,7 +628,7 @@ id float gid float vel float c float vis;
#X obj 16 371 s \$0.gid2lr.set;
#X obj 16 292 r \$0.gid2lr.get;
#X obj 80 318 r \$0.gidcolorlist;
#N canvas 663 446 439 518 create.gid.buttons 0;
#N canvas 633 422 439 518 create.gid.buttons 0;
#X obj 60 316 r \$0.canvasleftmargin;
#X obj 28 120 f;
#X obj 28 143 t a a;
......@@ -636,7 +636,6 @@ id float gid float vel float c float vis;
#X msg 70 95 0;
#X obj 81 126 + 1;
#X obj 28 340 +;
#X msg 62 254 1;
#N canvas 645 450 401 207 get.gid.clr 0;
#X obj 11 15 inlet;
#X obj 30 74 s \$0.gid2lr.get;
......@@ -650,7 +649,7 @@ id float gid float vel float c float vis;
#X connect 3 1 1 0;
#X connect 3 2 4 1;
#X connect 4 0 5 0;
#X restore 45 291 pd get.gid.clr;
#X restore 45 241 pd get.gid.clr;
#X obj 109 41 r \$0.gidcolorlist;
#X obj 109 64 list length;
#X obj 28 65 t a b;
......@@ -662,33 +661,34 @@ id float gid float vel float c float vis;
#X obj 28 12 inlet;
#X msg 28 445 scalar \$1.gid.button \$2 20 \$3 \$4 \$5;
#X obj 28 170 t a a b a;
#X obj 28 317 * 15;
#X obj 60 339 + 180;
#X connect 0 0 21 0;
#X obj 28 317 * 16;
#X obj 45 264 t a a;
#X connect 0 0 19 0;
#X connect 1 0 2 0;
#X connect 2 0 19 0;
#X connect 2 0 18 0;
#X connect 2 1 5 0;
#X connect 3 0 18 0;
#X connect 3 0 17 0;
#X connect 4 0 1 1;
#X connect 5 0 1 1;
#X connect 6 0 15 0;
#X connect 7 0 15 2;
#X connect 8 0 15 1;
#X connect 9 0 10 0;
#X connect 10 0 12 1;
#X connect 11 0 13 0;
#X connect 11 1 4 0;
#X connect 12 0 11 0;
#X connect 13 0 1 0;
#X connect 15 0 3 0;
#X connect 17 0 12 0;
#X connect 18 0 16 0;
#X connect 19 0 20 0;
#X connect 19 1 8 0;
#X connect 19 2 7 0;
#X connect 19 3 15 3;
#X connect 6 0 14 0;
#X connect 7 0 21 0;
#X connect 8 0 9 0;
#X connect 9 0 11 1;
#X connect 10 0 12 0;
#X connect 10 1 4 0;
#X connect 11 0 10 0;
#X connect 12 0 1 0;
#X connect 14 0 3 0;
#X connect 16 0 11 0;
#X connect 17 0 15 0;
#X connect 18 0 20 0;
#X connect 18 1 7 0;
#X connect 18 3 14 3;
#X connect 19 0 6 1;
#X connect 20 0 6 0;
#X connect 21 0 6 1;
#X connect 21 0 14 1;
#X connect 21 1 14 2;
#X restore 442 89 pd create.gid.buttons;
#N canvas 0 99 450 300 create.vel.number 0;
#X obj 24 21 inlet;
......@@ -774,15 +774,12 @@ id float gid float vel float c float vis;
#X connect 17 0 2 0;
#X connect 18 0 1 0;
#X restore 384 204 pd create.show.selector;
#N canvas 0 99 450 300 gid.state 0;
#N canvas 174 249 550 482 gid.state 0;
#X obj 12 76 route click;
#X obj 12 99 t b p p b;
#X obj 63 145 pointer;
#X obj 63 168 t b p;
#X msg 63 217 1;
#X msg 12 211 3;
#X obj 12 52 r \$0.gid.button.send;
#X obj 12 249 set \$0.gid.button hl;
#X obj 12 324 set \$0.gid.button hl;
#N canvas 357 99 390 345 init.pointer 0;
#X obj 17 79 until;
#X msg 17 102 next;
......@@ -818,22 +815,26 @@ id float gid float vel float c float vis;
#X restore 181 93 pd init.pointer;
#X obj 181 66 inlet;
#X obj 181 116 t p b p;
#X obj 63 205 get \$0.gid.button clr;
#X obj 63 233 set \$0.gid.button hl;
#X msg 12 211 0;
#X obj 63 168 t p p;
#X connect 0 0 1 0;
#X connect 1 0 5 0;
#X connect 1 1 7 1;
#X connect 1 0 10 0;
#X connect 1 1 4 1;
#X connect 1 2 2 1;
#X connect 1 3 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 1 7 1;
#X connect 4 0 7 0;
#X connect 2 0 11 0;
#X connect 3 0 0 0;
#X connect 5 0 7 0;
#X connect 6 0 0 0;
#X connect 8 0 10 0;
#X connect 9 0 8 0;
#X connect 10 0 2 1;
#X connect 10 1 5 0;
#X connect 10 2 7 1;
#X connect 6 0 5 0;
#X connect 7 0 2 1;
#X connect 7 1 10 0;
#X connect 7 2 4 1;
#X connect 8 0 9 0;
#X connect 10 0 4 0;
#X connect 11 0 8 0;
#X connect 11 1 9 1;
#X restore 55 135 pd gid.state;
#N canvas 119 100 450 300 show.selector.state 0;
#X obj 12 76 route click;
......@@ -977,19 +978,19 @@ id float gid float vel float c float vis;
#X obj 24 69 unpack f f s;
#X obj 24 112 pack f f s;
#X msg 24 182 scalar \$1.mode.button \$2 \$3 \$4 \$5 \$6;
#X msg 24 46 0 72 velocity \, 90 72 duration \, 180 90 gid;
#X msg 24 138 \$1 11 \$2 666 \$3;
#X connect 0 0 8 0;
#X msg 24 46 0 72 velocity \, 90 72 duration \, 180 95 gid;
#X connect 0 0 9 0;
#X connect 2 0 4 1;
#X connect 3 0 7 0;
#X connect 4 0 6 0;
#X connect 5 0 4 0;
#X connect 5 1 6 1;
#X connect 5 2 6 2;
#X connect 6 0 9 0;
#X connect 6 0 8 0;
#X connect 7 0 1 0;
#X connect 8 0 5 0;
#X connect 9 0 3 0;
#X connect 8 0 3 0;
#X connect 9 0 5 0;
#X restore 398 175 pd create.mode.button;
#X obj 355 61 t b b b b b b b;
#X connect 0 0 16 0;
......@@ -1018,7 +1019,7 @@ id float gid float vel float c float vis;
#X obj 16 99 s \$0.gid.button.send;
#X obj 16 60 struct \$0.gid.button float x float y float clr float
hl float gid;
#X obj 17 26 filledpolygon clr 0 hl 0 0 0 15 15 15 15 0;
#X obj 17 26 filledpolygon clr hl 1 0 0 0 15 15 15 15 0;
#X connect 1 0 0 0;
#X restore 8 78 pd gid.button-template;
#N canvas 195 247 417 284 vel-template 0;
......@@ -1104,7 +1105,7 @@ hilite float id symbol label;
symbol param;
#X connect 2 0 0 0;
#X restore 8 108 pd mode.button-template;
#N canvas 209 512 810 268 mode.button.logic 0;
#N canvas 199 504 810 268 mode.button.logic 0;
#X obj 23 17 r \$0.mode.button.send;
#X msg 99 186 900;
#X msg 130 187 666;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment