Mac OS 9
MDEFHiliteItemData Struct Reference

#include <Menus.h>

Data Fields

MenuItemIndex previousItem
 
MenuItemIndex newItem
 
void * context
 

Detailed Description

MDEFHiliteItemData

Summary: The MDEFHiliteItemData structure contains information about which menu items should be hilited and unhilited as the user moves through the menus. It is used by menu definition functions, which receive a pointer to an MDEFHiliteItemData structure as the whichItem parameter during kMenuHiliteItemMsg.

Field Documentation

◆ context

void* MDEFHiliteItemData::context

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

◆ newItem

MenuItemIndex MDEFHiliteItemData::newItem

The item that is now selected. It should be redrawn in a hilited state. May be zero if no item is now selected.

◆ previousItem

MenuItemIndex MDEFHiliteItemData::previousItem

The item that was previously selected. It should be redrawn in an unhilited state. May be zero if no item was previously selected.


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