home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 544b.lha / buttons / buttons.txt < prev    next >
Text File  |  1991-09-06  |  3KB  |  74 lines

  1. BUTTONS - by John Pendergrass
  2.  
  3. (I forget who asked for these, sorry!  But here are some buttons
  4. that I have been using in my projects for a while now.  Actually
  5. the request spurred me to complete the set of arrow buttons, which
  6. was only partial before.  Hope someone gets some use from these.)
  7.  
  8. Two pictures:
  9.  
  10.     ARROWS.PIC
  11.     OTHER.PIC
  12.  
  13. These are designed to be cut out and used in Interactive programs such
  14. as CanDo, AmigaVision, Director, etc... anyplace you need a button for
  15. the user.
  16.  
  17. All buttons come in both UNSELECTED and SELECTED versions.  They are
  18. designed to appear as embossed button, with an 'up' appearance when
  19. unselected, and a 'down' appearance when selected.  The design was
  20. chosen to work well with the standard 'embossed' buttons of CanDo.
  21.  
  22. The buttons are on an eight color hires-interlace screen.  The button
  23. outlines only use the colors 2-3 (color -0- is background;
  24. -1- is the black border).  Color 2 is the darker shade, and color 3
  25. is the lighter shade (for the embossed look).  I have filled most of
  26. the buttons with shades from color numbers 4-7; any color may be
  27. substituted.  Note that you must fill the buttons with something other
  28. than color -0- in order for CanDo to detect a 'hit' on the button, since
  29. areas that are color -0- will not trigger a 'hit'.
  30.  
  31. The default colors of the buttons in the picture were chosen to minimize
  32. interlace flicker.  Of course, whatever color you use with the buttons
  33. will affect the flicker present.
  34.  
  35. The method I'd suggest for cutting out the buttons is this:  (I am
  36. assuming that you are using DPaint to make your button brushes)
  37.  
  38. 1) Adjust the palette of the pic to whatever you are using in your
  39. project.  An easy way to do that is to load one of your application's
  40. pictures in the spare screen.  That automatically loads that palette.
  41.  
  42. 2) Color/Fill the buttons with whatever colors you want for your app.
  43. Rember that the 'unselected' button of each pair is highlighted from
  44. the top-left, so you should make sure that is a lighter color; the
  45. bottom-right color of each button should be a darker shade of the
  46. top-left.  The reverse is true for the 'selected' button.  Fill the
  47. button with whatever color you choose from your palette.
  48.  
  49. 3) If you DO NOT want the one-pixel black border surrounding each button
  50. on the pic to be part of your buttons' brush, then make a stencil,
  51. locking color #1 (black).
  52.  
  53. If you DO want the black border surrounding each button on the pic to be
  54. part of the buttons' brush, then DO NOT make a stencil.  Whether you choose
  55. the black border or not is entirely a matter of looks.
  56.  
  57. 4) Go to magnify mode, and adjust the magnification to see the entire
  58. button you want to cut.
  59.  
  60. 5) Then cut out a brush EXACTLY over the black border of the 'unselected'
  61. button you want.  If you had stencil-locked color #1, then the black border
  62. will not be part of your brush.  If you did not stencil-lock color #1, then
  63. the black border will be part of your brush.
  64.  
  65. 6) Save this brush with a name like:  MyButton.UP   (or such)
  66. 7) Repeat process 3 & 4 for the 'selected' version of the brush, except
  67. name it:  MyButton.DOWN  (or such)
  68.  
  69. You'd then use these buttons in your application.
  70.  
  71. Good luck.  (constructive) criticism gladly accepted!
  72.  
  73. John Pendergrass  CIS  76257,676
  74. March 1991