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 » DeleteLayer

NAME

	DeleteLayer -- delete layer from layer list.

SYNOPSIS

	result = DeleteLayer( dummy, l )
d0 a0, a1
LONG DeleteLayer( LONG, struct Layer *);

FUNCTION

	Remove this layer from the list of layers.  Release memory
associated with it. Restore other layers that may have been
obscured by it. Trigger refresh in those that may need it.
If this is a superbitmap layer make sure SuperBitMap is current.
The SuperBitMap is not removed from the system but is available
for program use even though the rest of the layer information has
been deallocated.

INPUTS

	dummy - unused
l - pointer to a layer

RESULT

	result - TRUE if this layer successfully deleted from the system
FALSE if layer not deleted. (probably out of memory )

BUGS

SEE ALSO

<graphics/layers.h>, <graphics/clip.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:

Phenomena

PHA
AFL
AYS
TRSI

Comments:

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