★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Graphics_2D/TubeTest.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Graphics 2D: TubeTest
Graphics 2D
ADC Resources
Sample Code

TubeTest

download (18.0 KB)

Version:

1.1

Date:

Wednesday, August 16, 2000

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




Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2000 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE