home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / clib / layers_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  2.6 KB  |  65 lines

  1. #ifndef CLIB_LAYERS_PROTOS_H
  2. #define CLIB_LAYERS_PROTOS_H
  3. /*
  4. ** $VER: layers_protos.h 1.6 (09.12.90)
  5. ** Includes Release 38.56
  6. **
  7. ** C prototypes. For use with 32 bit integers only.
  8. **
  9. ** (C) Copyright 1990-1992 Commodore-Amiga, Inc.
  10. ** All Rights Reserved
  11. */
  12. #ifndef EXEC_TYPES_H
  13. #include <exec/types.h>
  14. #endif
  15. #ifndef GRAPHICS_LAYERS_H
  16. #include <graphics/layers.h>
  17. #endif
  18. #ifndef GRAPHICS_CLIP_H
  19. #include <graphics/clip.h>
  20. #endif
  21. #ifndef GRAPHICS_RASTPORT_H
  22. #include <graphics/rastport.h>
  23. #endif
  24. #ifndef GRAPHICS_REGIONS_H
  25. #include <graphics/regions.h>
  26. #endif
  27. void InitLayers( struct Layer_Info *li );
  28. struct Layer *CreateUpfrontLayer( struct Layer_Info *li, struct BitMap *bm,
  29.  long x0, long y0, long x1, long y1, long flags, struct BitMap *bm2 );
  30. struct Layer *CreateBehindLayer( struct Layer_Info *li, struct BitMap *bm,
  31.  long x0, long y0, long x1, long y1, long flags, struct BitMap *bm2 );
  32. LONG UpfrontLayer( long dummy, struct Layer *layer );
  33. LONG BehindLayer( long dummy, struct Layer *layer );
  34. LONG MoveLayer( long dummy, struct Layer *layer, long dx, long dy );
  35. LONG SizeLayer( long dummy, struct Layer *layer, long dx, long dy );
  36. void ScrollLayer( long dummy, struct Layer *layer, long dx, long dy );
  37. LONG BeginUpdate( struct Layer *l );
  38. void EndUpdate( struct Layer *layer, unsigned long flag );
  39. LONG DeleteLayer( long dummy, struct Layer *layer );
  40. void LockLayer( long dummy, struct Layer *layer );
  41. void UnlockLayer( struct Layer *layer );
  42. void LockLayers( struct Layer_Info *li );
  43. void UnlockLayers( struct Layer_Info *li );
  44. void LockLayerInfo( struct Layer_Info *li );
  45. void SwapBitsRastPortClipRect( struct RastPort *rp, struct ClipRect *cr );
  46. struct Layer *WhichLayer( struct Layer_Info *li, long x, long y );
  47. void UnlockLayerInfo( struct Layer_Info *li );
  48. struct Layer_Info *NewLayerInfo( void );
  49. void DisposeLayerInfo( struct Layer_Info *li );
  50. LONG FattenLayerInfo( struct Layer_Info *li );
  51. void ThinLayerInfo( struct Layer_Info *li );
  52. LONG MoveLayerInFrontOf( struct Layer *layer_to_move,
  53.  struct Layer *other_layer );
  54. struct Region *InstallClipRegion( struct Layer *layer,
  55.  struct Region *region );
  56. LONG MoveSizeLayer( struct Layer *layer, long dx, long dy, long dw, long dh );
  57. struct Layer *CreateUpfrontHookLayer( struct Layer_Info *li, struct BitMap *bm,
  58.  long x0, long y0, long x1, long y1, long flags, struct Hook *hook,
  59.  struct BitMap *bm2 );
  60. struct Layer *CreateBehindHookLayer( struct Layer_Info *li, struct BitMap *bm,
  61.  long x0, long y0, long x1, long y1, long flags, struct Hook *hook,
  62.  struct BitMap *bm2 );
  63. struct Hook *InstallLayerHook( struct Layer *layer, struct Hook *hook );
  64. #endif 
  65.