home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Workbench / dosdrivers / GTDriver.lha / Distrib / PButtons / DPaint.but < prev   
Encoding:
Text File  |  1994-11-03  |  5.1 KB  |  145 lines

  1. // Pseudo-button mask definition for Deluxe Paint 4.5
  2. // by Marco Zandonadi
  3. // Version 1.0, 25 September 1994
  4. //
  5. // This file is meant to be used together with a printed mask on the tablet. The mask is
  6. // found in the distribution of GTDriver and is given in PageStream 2
  7. // format. Note that the buttons that implement two functions (b0 and b1) are printed in
  8. // bold, so that they are easily recognizable.
  9. //
  10. // The p-button functions have been chosen in accordance with the following factors:
  11. // - keyboard shorcut presence (if a function has no hotkey it cannot be called via
  12. //   p-buttons);
  13. // - complex functions first (functions that, i.e., open a panel or that require further
  14. //   mouse activity are more useful to implement as p-buttons than functions that require a
  15. //   mere key pressure: these functions are quicker to use via keyboard than via p-buttons);
  16. // - importance and usage-frequence of the function;
  17. //
  18. // This file is also intended as an example, showing how to implement GTDriver p-button
  19. // masks. If you write masks for other software, please, let us know by writing to
  20. //
  21. // Roberto Attias:
  22. //   e-mail: attias@ghost.sm.dsi.unimi.it
  23. //   UUCP:   roby@utopia.adsp.sub.org
  24. //   mail:   Roberto Attias
  25. //           Via Lissoni, 5
  26. //           20162-I Milano
  27. //           ITALY
  28. //
  29. // or to
  30. // Marco Zandonadi:
  31. //   e-mail: zandonad@ghost.sm.dsi.unimi.it
  32. //   UUCP:   marcoz@utopia.adsp.sub.org
  33. //   mail:   Marco Zandonadi
  34. //           Via Deledda, 23
  35. //           20052-I Monza (MI)
  36. //           ITALY
  37. //
  38. // Enjoy!
  39.  
  40.  
  41. // Metric definition
  42. Metric CM
  43.  
  44. // Clip region definition
  45. Clip 0 0 -6 0
  46.  
  47.  
  48. // First column of p-buttons
  49.  
  50. Button -6  0 -4  2  b0 RCommand l     // b0 = Load Picture requester
  51.  
  52. Button -6  2 -4  4  b0 p              // b0 = Palette Mixer
  53.                     b1 P              // b1 = Arrange Palette requester
  54.  
  55. Button -6  4 -4  6  b0 Control r      // b0 = Range requester
  56.  
  57. Button -6  6 -4  8  b0 ,              // b0 = Pick color
  58.  
  59. Button -6  8 -4 10  b0 `              // b0 = Stencil on-off
  60.                     b1 ~              // b1 = Stencil make
  61.  
  62. Button -6 10 -4 12  b0 LAlt z         // b0 = Place brush handle
  63.  
  64. Button -6 12 -4 14  b0 x              // b0 = Brush flip horizontal
  65.                     b1 y              // b1 = Brush flip vertical
  66.  
  67. Button -6 14 -4 16  b0 LAlt a         // b0 = Anim Control Panel on-off
  68.  
  69. Button -6 16 -4 18  b0 LShift RAW \x37  // b0 = Move Requester
  70.  
  71. Button -6 18 -4 20  b0 4              // b0 = Play animation continuously
  72.                     b1 6              // b1 = Play animation in ping-pong mode
  73.  
  74.  
  75.  
  76. // Second column of p-buttons
  77.  
  78. Button -4  0 -2  2  b0 RCommand s     // b0 = Save Picture requester
  79.  
  80. Button -4  2 -2  4  b0 Help           // b0 = Selects Freehand tool and single pixel brush
  81.  
  82. Button -4  4 -2  6  b0 s              // b0 = Sketch button
  83.  
  84. Button -4  6 -2  8  b0 v              // b0 = Vector button
  85.                     b1 V              // b1 = Spacing requester
  86.  
  87. Button -4  8 -2 10  b0 f              // b0 = Fill button
  88.                     b1 F              // b1 = Fill Type requester
  89.  
  90. Button -4 10 -3 12  b0 r              // b0 = Unfilled Rectangle button
  91.                     b1 F              // b1 = Fill Type requester
  92.  
  93. Button -3 10 -2 12  b0 R              // b0 = Filled Rectangle button
  94.                     b1 F              // b1 = Fill Type requester
  95.  
  96. Button -4 12 -2 14  b0 b              // b0 = Brush selector button
  97.                     b1 B              // b1 = Previous brush
  98.  
  99. Button -4 14 -2 16  b0 g              // b0 = Grid Switch button
  100.  
  101. Button -4 16 -2 18  b0 RAW \x37       // b0 = Magnify button
  102.  
  103. Button -4 18 -2 20  b0 u              // b0 = Undo button
  104.  
  105.  
  106. // Third column of p-buttons
  107.  
  108. Button -2  0  0  2  b0 RCommand p     // b0 = Print Picture requester
  109.  
  110.  
  111. Button -2  2  0  4  b0 F10            // b0 = Toolbox & Menu Bar on/off
  112.                     b1 F9             // b1 = Menu Bar on/off
  113.  
  114. Button -2  4 -1  6  b0 d              // b0 = Draw button
  115.                     b1 F              // b1 = Fill Type requester
  116.  
  117. Button -1  4  0  6  b0 D              // b0 = Filled Draw button
  118.                     b1 F              // b1 = Fill Type requester
  119.  
  120. Button -2  6  0  8  b0 q              // b0 = Curve button
  121.                     b1 V              // b1 = Spacing requester
  122.  
  123. Button -2  8 -1 10  b0 e              // b0 = Ellipse button
  124.                     b1 F              // b1 = Fill Type requester
  125.  
  126. Button -1  8  0 10  b0 E              // b0 = Filled Ellipse button
  127.                     b1 F              // b1 = Fill Type requester
  128.  
  129. Button -2 10 -1 12  b0 c              // b0 = Circle button
  130.                     b1 F              // b1 = Fill Type requester
  131.  
  132. Button -1 10  0 12  b0 C              // b0 = Filled Circle button
  133.                     b1 F              // b1 = Fill Type requester
  134.  
  135. Button -2 12  0 14  b0 t              // b0 = Text button
  136.                     b1 T              // b1 = Text requester
  137.  
  138. Button -2 14  0 16  b0 /              // b0 = Simmetry button
  139.  
  140. Button -2 16  0 18  b0 LShift RAW \x39 // b0 = Increase magnification
  141.                     b1 LShift RAW \x38 // b1 = Decrease magnification
  142.  
  143. Button -2 18  0 20  b0 K              // b0 = Clear button
  144.  
  145.