Unit 'layers' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

CreateBehindLayer

Create a new layer behind all existing layers.

Declaration

Source position: layers.pas line 101

function CreateBehindLayer(

  LayerInfo: PLayer_Info;

  Bitmap1: PBitMap;

  x0: LongInt;

  y0: LongInt;

  x1: LongInt;

  y1: LongInt;

  Flags: LongInt;

  SuperBitmap2: PBitMap

):PLayer;

function CreateBehindLayer(

  LayerInfo: PLayer_Info;

  Bitmap1: PBitMap;

  x0: LongInt;

  y0: LongInt;

  x1: LongInt;

  y1: LongInt;

  Flags: LongInt;

  TagList: PTagItem

):PLayer;

Arguments

x0

  

left corner of layer

y0

  

upper corner of layer

x1

  

right corner of layer

y1

  

lower corner of layer

Flags

  

various types of layers supported as bit sets. Flags: LAYER*

Function result

pointer to Layer structure if successful nil if not successful

Arguments

x0

  

left corner of layer

y0

  

upper corner of layer

x1

  

right corner of layer

y1

  

lower corner of layer

Flags

  

various types of layers supported as bit sets. Flags: LAYER*

Description

Create a new Layer of position and size (x0,y0)->(x1,y1) Make this layer of type found in flags. If SuperBitMap, use bm2 as pointer to real SuperBitMap, and copy contents of Superbitmap into display layer. If this layer is a backdrop layer then place it behind all other layers including other backdrop layers. If this is not a backdrop layer then place it behind all nonbackdrop layers.

Attention

When using bm2 SuperBitmap, you should also set LAYERSMART flag.


Documentation generated on: 2021-07-30