home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / scnote / tubetest.004 / SCN.004.TubeTest < prev    next >
Text File  |  1989-04-23  |  1KB  |  35 lines

  1. Macintosh
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #4:    TubeTest
  7.  
  8. Written by:    Bo3b Johnson
  9.  
  10. Versions:            1.00                        August 1988
  11.  
  12. Components:            TubeTest.p                    August 1, 1988
  13.                     TubeTest.c                    August 1, 1988
  14.                     TubeTest.r                    August 1, 1988
  15.                     PTubeTest.make                August 1, 1988
  16.                     CTubeTest.make                August 1, 1988
  17. _____________________________________________________________________________
  18.  
  19. TubeTest is a very simple demonstration of how to use the Palette 
  20. Manager in a color application.  It has a special color palette 
  21. that is associated with the main window, and the colors are 
  22. animated using the Palette Manager to give a flowing tube effect.  
  23. The program is very simple; the Palette Manager and drawing 
  24. routines are in separate subroutines to make it easier to figure 
  25. out what is happening.
  26.  
  27. TubeTest is a complete program with a main event loop (MEL), so 
  28. there is extra code to run in the MEL.  A resource file is 
  29. necessary to define the menu, window, dialog, and palette 
  30. resources which the program uses.
  31.  
  32. We recommend that you review Sample or TESample for the general 
  33. structure and MultiFinder techniques you should use when writing a 
  34. new application.
  35.