Commit 4bb8157e authored by Roman Haefeli's avatar Roman Haefeli
Browse files

implement 'save to' and 'load from' settings file

parent 4cc519a2
......@@ -1329,7 +1329,7 @@
#X obj 8 8 declare -path iemnet -path osc -path slip -path include
;
#X text 13 277 ======;
#N canvas 158 106 632 522 settings 0;
#N canvas 44 106 632 522 settings 0;
#X obj 16 8 tpf-settings-panel \$0;
#X restore 9 310 pd settings;
#X text 563 11 PRINT DEBUG MESSAGES;
......@@ -1493,7 +1493,7 @@
#X msg 496 226 label Save*;
#X obj 496 250 s \$0.save.r;
#X obj 328 190 t b b, f 9;
#N canvas 0 72 482 420 save.settings 0;
#N canvas 528 298 636 555 save.settings 0;
#X obj 11 17 r \$0.save.s;
#X msg 11 167 label Save;
#N canvas 642 190 1154 738 fetch.settings 0;
......@@ -1557,23 +1557,26 @@
#X connect 24 0 8 0;
#X connect 25 0 26 1;
#X connect 26 0 9 0;
#X restore 243 205 pd fetch.settings;
#X restore 303 295 pd fetch.settings;
#X obj 11 190 s \$0.save.r;
#X msg 188 225 fetch_settings;
#X obj 188 248 s \$0.intercom;
#X obj 188 271 r \$0.intercom;
#X obj 188 295 route save_settings;
#X obj 188 330 t a;
#X msg 298 127 clear;
#X obj 188 379 text set \$0.settings;
#X obj 188 353 list;
#X obj 247 326 loadbang;
#X msg 247 349 1e+15;
#X msg 248 315 fetch_settings;
#X obj 248 338 s \$0.intercom;
#X obj 248 361 r \$0.intercom;
#X obj 248 385 route save_settings;
#X obj 248 420 t a;
#X msg 358 217 clear;
#X obj 248 469 text set \$0.settings;
#X obj 248 443 list;
#X obj 307 416 loadbang;
#X msg 307 439 1e+15;
#X obj 11 40 t b b;
#X msg 38 75 symbol default_settings.cnf;
#X obj 79 101 t b a b b b, f 37;
#X msg 133 143 write -c \$1;
#X obj 133 173 outlet;
#X obj 139 191 t b a b b b, f 37;
#X msg 193 233 write -c \$1;
#X obj 193 263 outlet;
#X obj 335 18 r \$0.save.to.s;
#X obj 335 67 savepanel;
#X msg 335 44 symbol .;
#X connect 0 0 14 0;
#X connect 1 0 3 0;
#X connect 2 0 8 0;
......@@ -1593,6 +1596,9 @@
#X connect 16 3 2 0;
#X connect 16 4 9 0;
#X connect 17 0 18 0;
#X connect 19 0 21 0;
#X connect 20 0 16 0;
#X connect 21 0 20 0;
#X restore 24 313 pd save.settings;
#N canvas 0 72 645 562 load.settings 0;
#X obj 26 30 r \$0.load.settings;
......@@ -1620,6 +1626,9 @@
#X msg 469 502 symbol \$1.\$2;
#X obj 370 479 list split 1;
#X obj 85 431 list prepend restore_settings peer_name;
#X obj 325 40 r \$0.load.from.s;
#X obj 325 91 openpanel;
#X msg 325 66 symbol .;
#X connect 0 0 3 0;
#X connect 2 0 1 0;
#X connect 3 0 5 0;
......@@ -1648,6 +1657,9 @@
#X connect 22 0 20 1;
#X connect 23 1 20 0;
#X connect 24 0 16 0;
#X connect 25 0 27 0;
#X connect 26 0 5 0;
#X connect 27 0 26 0;
#X restore 67 350 pd load.settings;
#X obj 24 394 text define \$0.settings;
#X connect 0 0 2 0;
......
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