a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 layers.library
  BeginUpdate
  BehindLayer
  CreateBehindHookLayer
  CreateBehindLayer
  CreateUpfrontHookLayer
  CreateUpfrontLayer
  DeleteLayer
  DisposeLayerInfo
  DoHookClipRects
  EndUpdate
  FattenLayerInfo
  InitLayers
  InstallClipRegion
  InstallLayerHook
  InstallLayerInfoHook
  LockLayer
  LockLayerInfo
  LockLayers
  MoveLayer
  MoveLayerInFrontOf
  MoveSizeLayer
  NewLayerInfo
  ScrollLayer
  SizeLayer
  SwapBitsRastPortClipRect
  ThinLayerInfo
  UnlockLayer
  UnlockLayerInfo
  UnlockLayers
  UpfrontLayer
  WhichLayer
Include
GuruMeditation
Docs » Autodocs » layers.library » MoveLayerInFrontOf

NAME

	MoveLayerInFrontOf -- Put layer in front of another layer.

SYNOPSIS

	result = MoveLayerInFrontOf( layertomove, targetlayer )
a0 a1
LONG MoveLayerInFrontOf( struct Layer *, struct Layer *);

FUNCTION

	Move this layer in front of target layer, 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.
Note: this operation may generate refresh events in other layers
associated with this layer's Layer_Info structure.

INPUTS

	layertomove - pointer to layer which should be moved
targetlayer - pointer to target layer in front of which to move layer

RESULT

	result = TRUE    if operation successful
FALSE if operation unsuccessful (probably out of memory)

BUGS

SEE ALSO

<graphics/layers.h>

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Red Sector Inc.

TBL
SCX
AFL
RSI

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se