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.
Out of This GWorld
Last Revision: | Version 1.0, 2003-03-12 Demonstrates the use of offscreen GWorlds and palette animation to simulate animation. |
Build Requirements: | |
Runtime Requirements: | Carbon 8 bit color, CarbonLib |
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-03-12