home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / layers_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-28  |  2.9 KB  |  71 lines

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