Legacy Documentclose button

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

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 1 - Palette Manager Reference /
Palette Manager Functions


Initializing and Allocating Palettes

This section describes functions for creating and disposing of palettes. You can create a new palette from a 'pltt' resource using the GetNewPalette function or create a palette from within your application using the NewPalette function. You can also let the Palette Manager and Window Manager together create a palette by creating a 'pltt' resource with the same ID as the window you want to assign it to.

Use the DisposePalette function to dispose of an entire palette.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996