Commit 4b984138 authored by Roman Haefeli's avatar Roman Haefeli

make connect button black when connection cannot be established

parent 93ad3de1
......@@ -3,7 +3,7 @@
;
#X obj 39 38 cnv 24 311 24 empty empty PEERNODES 5 13 0 16 -228856
-1 0;
#N canvas 0 489 806 372 code 0;
#N canvas 0 481 806 372 code 0;
#N canvas 956 99 664 577 communication 0;
#X obj 9 38 packOSC;
#X obj 9 17 r \$0.send;
......@@ -541,7 +541,7 @@ include;
#X connect 73 0 13 0;
#X restore 8 102 pd params;
#X obj 176 103 text define \$0.params;
#N canvas 398 461 316 192 gui.code 0;
#N canvas 388 486 316 192 gui.code 0;
#N canvas 2026 859 379 223 host 0;
#X restore 8 26 pd host;
#N canvas 251 323 534 348 channels 0;
......@@ -775,39 +775,6 @@ include;
#X connect 26 0 27 0;
#X connect 27 0 13 0;
#X restore 8 122 pd queue;
#N canvas 804 561 615 188 connect 0;
#X obj 47 85 r \$0.connection.state;
#X obj 16 104 ==;
#X obj 16 125 s \$0.connect;
#X obj 16 46 t b b;
#X obj 266 31 r \$0.registered;
#X obj 203 34 sel 0;
#X obj 203 8 r \$0.connection.state;
#X obj 477 17 r \$0.error;
#X obj 16 11 r \$0.connect.switch;
#X obj 204 138 s \$0.connect.switch.r;
#X msg 204 107 color \$1 \$2 \$3;
#X msg 477 37 255 0 0;
#X msg 266 53 0 0 255;
#X msg 203 57 0 0 0;
#X msg 121 48 192 192 192;
#X obj 409 124 loadbang;
#X connect 0 0 1 1;
#X connect 1 0 2 0;
#X connect 3 0 1 0;
#X connect 3 1 14 0;
#X connect 4 0 12 0;
#X connect 5 0 13 0;
#X connect 6 0 5 0;
#X connect 7 0 11 0;
#X connect 8 0 3 0;
#X connect 10 0 9 0;
#X connect 11 0 10 0;
#X connect 12 0 10 0;
#X connect 13 0 10 0;
#X connect 14 0 10 0;
#X connect 15 0 13 0;
#X restore 8 7 pd connect;
#N canvas 854 838 343 302 latency.switch 0;
#X obj 43 23 r \$0.latency.switch;
#X obj 136 206 s \$0.latency.switch.r;
......@@ -833,6 +800,39 @@ include;
#X connect 8 0 9 0;
#X connect 9 0 6 0;
#X restore 8 143 pd latency.switch;
#N canvas 891 526 615 188 connect 0;
#X obj 47 85 r \$0.connection.state;
#X obj 16 104 ==;
#X obj 16 125 s \$0.connect;
#X obj 16 46 t b b;
#X obj 266 31 r \$0.registered;
#X obj 184 6 r \$0.connection.state;
#X obj 477 17 r \$0.error;
#X obj 16 11 r \$0.connect.switch;
#X obj 204 138 s \$0.connect.switch.r;
#X msg 204 107 color \$1 \$2 \$3;
#X msg 477 37 255 0 0;
#X msg 266 53 0 0 255;
#X msg 203 57 0 0 0;
#X msg 123 58 192 192 192;
#X obj 407 104 loadbang;
#X obj 184 33 sel 1 0;
#X connect 0 0 1 1;
#X connect 1 0 2 0;
#X connect 3 0 1 0;
#X connect 4 0 11 0;
#X connect 5 0 15 0;
#X connect 6 0 10 0;
#X connect 7 0 3 0;
#X connect 9 0 8 0;
#X connect 10 0 9 0;
#X connect 11 0 9 0;
#X connect 12 0 9 0;
#X connect 13 0 9 0;
#X connect 14 0 12 0;
#X connect 15 0 13 0;
#X connect 15 1 12 0;
#X restore 8 7 pd connect;
#X restore 8 122 pd gui.code;
#X obj 191 203 s \$0.to.tpf;
#X obj 352 172 r \$0.from.tpf;
......
Markdown is supported
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