Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-03-12