imagebang-help.pd 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #N canvas 1 53 658 555 10;
  2. #X obj 45 338 print;
  3. #X obj 45 152 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  4. -1;
  5. #X text 27 49 [imagebang] only works with gifs;
  6. #X text 314 97 Arguments:;
  7. #X text 253 277 <- This [imagebang] was created with the following:
  8. ;
  9. #X obj 285 341 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  10. -1 -1;
  11. #X obj 285 362 s \$0pandar;
  12. #X obj 365 333 r \$0pandas;
  13. #X obj 366 361 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  14. -1 -1;
  15. #X obj 42 411 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  16. -1;
  17. #X obj 42 502 print;
  18. #X obj 192 416 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  19. -1 -1;
  20. #X obj 192 389 r \$0homes;
  21. #X obj 122 394 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  22. -1 -1;
  23. #X obj 123 416 s \$0homer;
  24. #X text 112 458 <- This [imagebang] was created with the following:
  25. ;
  26. #X text 258 299 [tof/imagebang panda.gif pandb.gif \$0pandas \$0pandar]
  27. ;
  28. #X text 118 480 [tof/imagebang homea.gif homeb.gif \$0homes \$0homer]
  29. ;
  30. #X text 28 69 based on [image] by ggee and moonlib;
  31. #X obj 45 177 tof/imagebang panda.gif pandb.gif \$0pandas \$0pandar
  32. ;
  33. #X obj 42 435 tof/imagebang homea.gif homeb.gif \$0homes \$0homer;
  34. #X text 26 3 Description: a bang with an image;
  35. #X text 27 17 Tags: ui;
  36. #X text 351 116 1) image for the normal state (required);
  37. #X text 350 133 2) image for the clicked state (required);
  38. #X text 27 31 Contact: mrtoftrash@gmail.com;
  39. #N canvas 227 162 494 344 META 0;
  40. #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  41. Wilkes for Pd version 0.42.;
  42. #X text 12 25 LICENSE GPL v2;
  43. #X text 12 105 AUTHOR Thomas Ouellet Fredericks;
  44. #X text 12 5 KEYWORDS control user_input GUI bang_op;
  45. #X text 12 45 DESCRIPTION GUI bang with an image;
  46. #X text 12 65 INLET_0 anything;
  47. #X text 12 85 OUTLET_0 bang;
  48. #X restore 596 504 pd META;
  49. #X text 350 149 3) send name (optional);
  50. #X text 351 165 4) receive name (optional);
  51. #X connect 1 0 19 0;
  52. #X connect 5 0 6 0;
  53. #X connect 7 0 8 0;
  54. #X connect 9 0 20 0;
  55. #X connect 12 0 11 0;
  56. #X connect 13 0 14 0;
  57. #X connect 19 0 0 0;
  58. #X connect 20 0 10 0;