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 bit color, CarbonLib

View Source Code:

Download Sample (“Out_of_This_GWorld.zip”, 27.8K)
Download Sample (“Out_of_This_GWorld.dmg”, 86.4K)



Description

This sample has been updated for the Carbon API. The application basically uses offscreen GWorlds and palette animation to simulate totally cool animation. Since the program hopes to provide a better understanding of GWorld and palette usage, only the source file, out.c, has been commented. This file, which contains all the Color QuickDraw routines, is actually the meat of the example. The remaining source files are just typical toolbox routine calls for event and menu handling. Note that this application was written to work on 8bit devices, but can easily be modified for others. Requirements: 8 bit color, CarbonLib Keywords: Palette animation, GWorld, DisposeGWorld, AnimatePalette, Palette2CTab, CopyBits, GetEntryColor, SetEntryColor, NewGWorld, Carbon

Document Revision History

Date Notes
2003-03-12Demonstrates the use of offscreen GWorlds and palette animation to simulate animation.

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.