From 108c7c2f64b9254ea599073bd737f5e5a8b8d9c3 Mon Sep 17 00:00:00 2001 From: Luke Iannini Date: Fri, 6 Feb 2009 11:16:06 +0000 Subject: adding jonathan wilkes lovely 'pal' editor, continued work and upgrades to ds-designer, and the start of ds-choice-list, a context-menu-ish gui element (with icons thanks to ds-designer) svn path=/trunk/abstractions/ds-gui/; revision=10748 --- pal/pnbx.pd | 250 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 250 insertions(+) create mode 100755 pal/pnbx.pd (limited to 'pal/pnbx.pd') diff --git a/pal/pnbx.pd b/pal/pnbx.pd new file mode 100755 index 0000000..a386e92 --- /dev/null +++ b/pal/pnbx.pd @@ -0,0 +1,250 @@ +#N canvas 0 12 1004 682 12; +#X obj 20 -14 inlet; +#N canvas 160 12 299 130 show-sym 0; +#X obj -347 11 inlet; +#X obj -347 36 showsym \$1 \$2 SET-FORE-COLOR; +#X connect 0 0 1 0; +#X restore 875 153 pd show-sym; +#N canvas 0 0 296 250 label-tgl 0; +#X obj 122 94 sel 0 1; +#X obj 122 66 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +1; +#X obj 11 20 loadbang; +#X msg 11 46 0; +#X obj 122 194 outlet; +#X msg 122 119 symbol empty; +#X msg 148 148 symbol LABEL; +#X obj 122 28 r \$1-label-tgl; +#X connect 0 0 5 0; +#X connect 0 1 6 0; +#X connect 1 0 0 0; +#X connect 2 0 3 0; +#X connect 3 0 1 0; +#X connect 5 0 4 0; +#X connect 6 0 4 0; +#X connect 7 0 1 0; +#X restore 122 531 pd label-tgl; +#X obj 148 507 r \$1-patchname; +#X obj 45 507 loadbang; +#X obj 45 531 symbol \$2; +#X obj 572 291 constrain \$1 \$2; +#X obj 572 319 getGUIsize \$3 \$4 \$5 \$6; +#X obj 217 205 pack; +#X obj 36 338 t b a; +#X obj 217 175 +; +#X obj 258 175 +; +#X obj 36 313 unpack f f f f; +#N canvas 0 0 700 277 swap 0; +#X obj 23 241 outlet; +#X obj 123 238 outlet; +#X obj 23 166 spigot 1; +#X obj 123 166 spigot 0; +#X obj 23 11 inlet; +#X obj 196 11 r \$2-color-swap; +#X obj 214 166 spigot 0; +#X obj 196 37 t a b; +#X obj 196 63 pack f 1; +#X msg 275 63 0; +#X obj 196 89 route 0 1 2; +#X obj 214 238 outlet; +#X connect 2 0 0 0; +#X connect 3 0 1 0; +#X connect 4 0 2 0; +#X connect 4 0 3 0; +#X connect 4 0 6 0; +#X connect 5 0 7 0; +#X connect 6 0 11 0; +#X connect 7 0 8 0; +#X connect 7 1 9 0; +#X connect 8 0 10 0; +#X connect 9 0 2 1; +#X connect 9 0 3 1; +#X connect 9 0 6 1; +#X connect 10 0 2 1; +#X connect 10 1 3 1; +#X connect 10 2 6 1; +#X restore 202 313 pd swap; +#X obj 36 289 spigot; +#X obj 202 289 spigot; +#X obj 202 266 r \$1-rgb-value; +#X obj 36 266 r \$1-label-posNsize; +#X obj 93 290 r \$2-lock; +#X obj 266 381 loadbang; +#X obj 266 405 symbol \$2; +#X obj 217 234 s \$1-helper-xy; +#X obj 537 326 t a; +#X msg 352 460 \; \$3\$2 label \$1; +#X obj 352 435 pack s f s; +#X obj 450 405 loadbang; +#X obj 450 435 symbol \$2; +#X obj 834 356 t b a; +#X obj 834 387 set \$2 xsize ysize; +#X obj 854 179 linORlog; +#X obj 537 95 t a a a; +#X obj 563 265 if-numscroll \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 36 405 pack 0 22 22 f 20 12 10 0 s; +#X msg 36 430 \; \$9\$4 color \$1 \$2 \$3 \; \$9\$4 label_pos \$5 \$6 +\; \$9\$4 label_font \$8 \$7; +#X obj 273 337 t b a; +#X obj 219 337 t b a; +#X obj 268 507 loadbang; +#X obj 268 534 symbol \$9; +#X obj 20 562 pack f s \$3 \$4 s s \$7 \$8 s; +#X obj 352 405 label \$1 \$2; +#X obj 859 -9 clean \$1 \$2; +#X obj 675 124 get \$2 id; +#X obj 20 11 pappend \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 59 96 \$7; +#X obj 94 96 \$8; +#X obj 390 329 t a; +#X obj 217 121 get \$2 x0 y0 x y; +#X obj 576 415 pack f f f f f f f s s; +#X obj 760 391 loadbang; +#X obj 760 414 symbol \$2; +#X obj 875 116 t a; +#X obj 20 164 t a; +#N canvas 0 0 461 325 quantize 0; +#X obj 14 20 inlet; +#X obj 195 22 inlet; +#X obj 14 213 outlet; +#X obj 195 184 outlet; +#X obj 14 134 int; +#X obj 14 176 + 5; +#X obj 14 90 / 9; +#X connect 0 0 6 0; +#X connect 1 0 3 0; +#X connect 4 0 5 0; +#X connect 5 0 2 0; +#X connect 6 0 4 0; +#X restore 612 366 pd quantize; +#X obj 537 153 get \$2 id x0 y0 x y min max lh init lin; +#X obj 59 121 set \$2 min max lh; +#X msg 131 94 256; +#X obj 59 68 t b b b a; +#X msg 576 445 \; \$9\$1 size \$2 \$3 \; \$9\$1 range \$4 \$5 \; \$9\$1 +\$8 \; \$9\$1 log_height \$6 \; \$9\$1 init \$7; +#X msg 20 590 \; \$6 obj 10 10 \$9 \$3 \$4 \$7 \$8 0 0 \$9 \$2\$1 empty +0 -8 0 10 -262144 -1 -1 0 256; +#X obj 442 223 symbol \$2; +#X obj 442 198 loadbang; +#X obj 337 223 pack f f f s; +#X msg 337 250 \; \$4\$3 pos \$1 \$2; +#X obj 360 121 get \$2 x y id; +#X obj 360 146 + 10; +#X obj 410 146 + 10; +#X obj 537 16 lock \$1 \$2; +#X obj 537 42 route change displace deselect select click pappend; +#X obj 537 -9 pstruct \$1 \$2 min max lh init lin; +#X obj 874 90 shownum \$1 \$2; +#X connect 0 0 42 0; +#X connect 2 0 38 4; +#X connect 3 0 38 5; +#X connect 4 0 5 0; +#X connect 5 0 38 1; +#X connect 6 0 7 0; +#X connect 6 1 7 1; +#X connect 7 0 28 0; +#X connect 7 0 31 1; +#X connect 7 0 52 0; +#X connect 7 1 27 0; +#X connect 7 1 31 2; +#X connect 7 1 52 1; +#X connect 8 0 21 0; +#X connect 9 0 32 0; +#X connect 9 1 32 4; +#X connect 10 0 8 0; +#X connect 11 0 8 1; +#X connect 12 0 9 0; +#X connect 12 1 32 5; +#X connect 12 2 32 6; +#X connect 12 3 32 7; +#X connect 13 0 32 0; +#X connect 13 1 35 0; +#X connect 13 2 34 0; +#X connect 14 0 12 0; +#X connect 15 0 13 0; +#X connect 16 0 15 0; +#X connect 17 0 14 0; +#X connect 18 0 14 1; +#X connect 18 0 15 1; +#X connect 19 0 20 0; +#X connect 20 0 32 8; +#X connect 22 0 24 1; +#X connect 22 0 32 3; +#X connect 22 0 47 0; +#X connect 24 0 23 0; +#X connect 25 0 26 0; +#X connect 26 0 24 2; +#X connect 27 0 28 0; +#X connect 27 1 28 1; +#X connect 29 0 47 7; +#X connect 30 0 53 0; +#X connect 30 1 31 0; +#X connect 30 2 50 0; +#X connect 32 0 33 0; +#X connect 34 0 32 0; +#X connect 34 1 32 2; +#X connect 35 0 32 0; +#X connect 35 1 32 1; +#X connect 36 0 37 0; +#X connect 37 0 38 8; +#X connect 38 0 58 0; +#X connect 39 0 24 0; +#X connect 41 0 45 0; +#X connect 42 0 51 0; +#X connect 42 1 46 0; +#X connect 42 1 56 0; +#X connect 43 0 54 0; +#X connect 44 0 54 1; +#X connect 45 0 24 1; +#X connect 45 0 32 3; +#X connect 46 0 10 0; +#X connect 46 1 11 0; +#X connect 46 2 10 1; +#X connect 46 3 11 1; +#X connect 47 0 57 0; +#X connect 48 0 49 0; +#X connect 49 0 47 8; +#X connect 50 0 28 2; +#X connect 50 0 1 0; +#X connect 51 0 38 0; +#X connect 51 0 32 3; +#X connect 51 0 24 1; +#X connect 52 0 47 1; +#X connect 52 1 47 2; +#X connect 53 0 22 0; +#X connect 53 1 6 0; +#X connect 53 2 6 1; +#X connect 53 5 47 3; +#X connect 53 6 47 4; +#X connect 53 7 47 5; +#X connect 53 8 47 6; +#X connect 53 9 29 0; +#X connect 55 0 54 2; +#X connect 56 0 43 0; +#X connect 56 1 44 0; +#X connect 56 2 55 0; +#X connect 56 3 54 3; +#X connect 59 0 61 3; +#X connect 60 0 59 0; +#X connect 61 0 62 0; +#X connect 63 0 64 0; +#X connect 63 1 65 0; +#X connect 63 2 61 2; +#X connect 64 0 61 0; +#X connect 65 0 61 1; +#X connect 66 0 67 0; +#X connect 67 0 30 0; +#X connect 67 0 46 0; +#X connect 67 0 69 0; +#X connect 67 1 46 0; +#X connect 67 1 63 0; +#X connect 67 3 41 0; +#X connect 67 3 46 0; +#X connect 67 3 50 0; +#X connect 67 3 69 1; +#X connect 67 4 30 0; +#X connect 67 4 69 1; +#X connect 67 4 46 0; +#X connect 67 5 30 0; +#X connect 68 0 66 0; -- cgit v1.2.1