PtSuperClassGenListDraw()

Invoke the List Draw method in a superclass

Synopsis:

void PtSuperClassGenListDraw(
    PtWidgetClassRef_t *cref, 
    PtWidget_t *widget,
    PtGenListItem_t *item, 
    unsigned index,
    unsigned nitems,
    PhRect_t *where );

Arguments:

cref
The superclass whose method you want to call.
widget
A pointer to the widget for which to call the superclass's method.
item
A pointer to the PtGenListItem_t structure (see the Widget Reference) for the first item that needs to be redrawn.
index
The index of the item to be redrawn (the first item on the list has an index of 1).
nitems
The number of items the function should look at.
where
A pointer to a PhRect_t structure (see the Photon Library Reference) that defines the extent of the items. The function can modify this rectangle.

Description:

This function can be used to invoke the List Draw method of the class defined by cref.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t in the Photon Widget Reference

PhRect_t in the Photon Library Reference