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: More Macintosh Toolbox /
Chapter 4 - List Manager / List Manager Reference
List Manager Routines / Modifying a List's Appearance


LDraw

You can use the LDraw procedure to draw a cell in a list. Ordinarily, you should only need to use LDraw when the automatic drawing mode has been disabled.

PROCEDURE LDraw (theCell: Cell; lHandle: ListHandle);
theCell
The cell to draw.
lHandle
The list containing the cell identified by the parameter theCell.
DESCRIPTION
The LDraw procedure draws the cell specified by the parameter theCell. The List Manager makes the list's graphics port the current port, sets the clipping region to the cell's rectangle, and calls the list definition procedure to draw the cell. It restores the clipping region and port before exiting.

SPECIAL CONSIDERATIONS
You should not call the LDraw procedure from within an interrupt, such as in a completion routine or VBL task.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the LDraw procedure are
Trap macroSelector
_Pack0$0030


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996