Mac OS 9
MDEFDrawData Struct Reference

#include <Menus.h>

Data Fields

MenuTrackingData trackingData
 
void * context
 

Detailed Description

MDEFDrawData

Summary: The MDEFDrawData structure contains information needed to draw a menu. It is used by menu definition functions, which receive a pointer to an MDEFDrawData structure as the whichItem parameter during kMenuDrawMsg.

Field Documentation

◆ context

void* MDEFDrawData::context

A CoreGraphics context that the MDEF should draw into. The Menu Manager will flush the context after the MDEF has returned.

◆ trackingData

MenuTrackingData MDEFDrawData::trackingData

Information about the menu being drawn. The MDEF should fill in the virtualMenuTop and virtualMenuBottom fields of this structure while drawing the menu.


The documentation for this struct was generated from the following file: