[Previous] [Contents] [Index] [Next]

PtGenListDrawBackground()

Draw the background of a list

Synopsis:

void PtGenListDrawBackground( 
         PtWidget_t *list, 
         PtGenListItem_t const *items,
         unsigned nitems, 
         PhRect_t const *where,
         int lmarg, 
         int rmarg );

Description:

This function can be used by a child class of PtGenList for drawing the background. If the Pt_GEN_LIST_SHOW_DAMAGED bit is set in list->gflags, the function draws only the background for damaged items.

The values of the list, items, nitems, and where arguments should be the same as those used to call the List Draw method. The lmarg and rmarg arguments define additional "margins" - by setting them to a positive value, you can shorten the selection bar.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]