Put layer in front of all other layers.
Source position: layers.pas line 158
function UpfrontLayer( |
Dummy: LongInt; |
Layer: PLayer |
):LongInt; |
Dummy |
|
unused |
Layer |
|
pointer to a nonbackdrop layer |
True if operation successful. False if operation unsuccessful (probably out of memory)
Move this layer to the most upfront position swapping bits in and out of the display with other layers. If this is a refresh layer then collect damage list and set the LAYERREFRESH bit in layer->Flags if redraw required. By clearing the BACKDROP bit in the layers Flags you may bring a Backdrop layer up to the front of all other layers.
Attention
This operation may generate refresh events in other layers associated with this layer's Layer_Info structure.