Not Recommended Documentclose button

Important: The information in this document is Not Recommended and should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-03-12

Build Requirements: N/A

Runtime Requirements: Carbon 8 bits per pixel, Color QuickDraw, CarbonLib

View Source Code:

Download Sample (“TubeTest.zip”, 16.8K)
Download Sample (“TubeTest.dmg”, 76.7K)



Description

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

Document Revision History

Date Notes
2003-03-12The program is a simple demonstration of how to use the Palette Manager in a color program.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.