TubeTest

Last Revision:
Version 1.0, 2003-03-12
The program is a simple demonstration of how to use the Palette Manager in a color program.
Build Requirements:
Runtime Requirements:
Carbon 8 bits per pixel, Color QuickDraw, CarbonLib

This sample has been updated for the Carbon API. The TubeTest program is a simple demonstration of how to use the Palette Manager in a color program. It has a special color palette that is associated with the main window. The colors are animated using the Palette Manager to give a flowing tube effect. The program is very simple, and the Palette Manager and drawing parts are put in separate subroutines to make it easier to figure out what is happening. Requirements: 8 bits per pixel, Color QuickDraw, CarbonLib Keywords: Palette, AnimatePalette, Palette2CTab, GetPalette, PmForeColor, Carbon