home *** CD-ROM | disk | FTP | other *** search
- {$if not def LAYERS_LIB_H} CONST LAYERS_LIB_H=0;
-
- { ************************************************************
- ** KickPascal-Include-Datei "layers.lib" zu Kickstart 3.0 **
- ************************************************************ }
-
- {$if not def GRAPHICS_LAYERS_H;incl "graphics/layers.h";endif}
- {$if not def GRAPHICS_CLIP_H;incl "graphics/clip.h";endif}
- {$if not def GRAPHICS_RASTPORT_H;incl "graphics/rastport.h";endif}
- {$if not def GRAPHICS_REGIONS_H;incl "graphics/regions.h";endif}
-
- VAR LayersBase : Ptr;
-
- LIBRARY LayersBase :
-
- -30 : PROCEDURE InitLayers(A0:p_Layer_Info);
- -36 : FUNCTION CreateUpfrontLayer(A0:p_Layer_Info; A1:p_BitMap; D0,D1,D2,D3,D4:LongInt; A2:p_BitMap): p_Layer;
- -42 : FUNCTION CreateBehindLayer(A0:p_Layer_Info; A1:p_BitMap; D0,D1,D2,D3,D4:LongInt; A2:p_BitMap): p_Layer;
- -48 : FUNCTION UpfrontLayer(D0:LongInt; A0:p_Layer): LongInt;
- -54 : FUNCTION BehindLayer(D0:LongInt; A0:p_Layer): LongInt;
- -60 : FUNCTION MoveLayer(A0:LongInt; A1:p_Layer; D0,D1:LongInt): LongInt;
- -66 : FUNCTION SizeLayer(A0:LongInt; A1:p_Layer; D0,D1:LongInt): LongInt;
- -72 : PROCEDURE ScrollLayer(A0:LongInt; A1:p_Layer; D0,D1:LongInt);
- -78 : FUNCTION BeginUpdate(A0:p_Layer): LongInt;
- -84 : PROCEDURE EndUpdate(A0:p_Layer; D0:Long);
- -90 : FUNCTION DeleteLayer(A0:LongInt; A1:p_Layer): LongInt;
- -96 : PROCEDURE LockLayer(A0:LongInt; A1:p_Layer);
- -102 : PROCEDURE UnlockLayer(A0:p_Layer);
- -108 : PROCEDURE LockLayers(A0:p_Layer_Info);
- -114 : PROCEDURE UnlockLayers(A0:p_Layer_Info);
- -120 : PROCEDURE LockLayerInfo(A0:p_Layer_Info);
- -126 : PROCEDURE SwapBitsRastPortClipRect(A0:p_RastPort; A1:p_ClipRect);
- -132 : FUNCTION WhichLayer(A0:p_Layer_Info; D0,D1: LongInt): p_Layer;
- -138 : PROCEDURE UnlockLayerInfo(A0:p_Layer_Info);
- -144 : FUNCTION NewLayerInfo: p_Layer_Info;
- -150 : PROCEDURE DisposeLayerInfo(A0:p_Layer_Info);
- -156 : FUNCTION FattenLayerInfo(A0:p_Layer_Info): LongInt;
- -162 : PROCEDURE ThinLayerInfo(A0:p_Layer_Info);
- -168 : FUNCTION MoveLayerInFrontOf(A0,A1:p_Layer): LongInt;
- -174 : FUNCTION InstallClipRegion(A0:p_Layer; A1:p_Region): p_Region;
- -180 : FUNCTION MoveSizeLayer(A0:p_Layer; D0,D1,D2,D3: LongInt): LongInt;
- -186 : FUNCTION CreateUpfrontHookLayer(A0:p_Layer_Info; A1:p_BitMap; D0,D1,D2,D3,D4: LongInt; A3:p_Hook; A2:p_BitMap): p_Layer;
- -192 : FUNCTION CreateBehindHookLayer(A0:p_Layer_Info; A1:p_BitMap; D0,D1,D2,D3,D4: LongInt; A3:p_Hook; A2:p_BitMap): p_Layer;
- -198 : FUNCTION InstallLayerHook(A0:p_Layer; A1:p_Hook): p_Hook;
-
- { **** Routinen ab V39 / Release 3.0 **** }
- -204 : FUNCTION InstallLayerInfoHook(A0:p_Hook; A1:p_RastPort; A2:p_Rectangle): p_Hook;
- -210 : PROCEDURE SortLayerCR(A0:p_Layer; D0,D1:Long);
- -216 : PROCEDURE DoHookClipRects(A0:p_Hook; A1:p_RastPort; A2:p_Rectangle);
- END;
- {$endif}
-