Draw the background of a list
void PtGenListDrawBackground( PtWidget_t *list, PtGenListItem_t const *items, unsigned nitems, PhRect_t const *where, int lmarg, int rmarg );
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.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |