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

PtDamageExposed()

Damage the specified widgets

Synopsis:

void PtDamageExposed( PtWidget_t *widget, 
                      PhTile_t *tile );

Description:

This function damages the list of rectangles given in tile on the parent of widget. The tile list should include rectangles relative to the widget's origin. The damage may extend beyond the extent of the widget.


Note: This function frees the tile list automatically.

Examples:

To redraw a transparent widget due to a data change:

tile = PhGetTile();
PtWidgetExtent( widget, &tile->rect );
tile->next = NULL;
PtDamageExposed( widget, tile );

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhGetTile()


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