home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GFX / viewer / SuperView-Lib.LHA / superview-lib / Programmers / include / clib / superviewsupport_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-10  |  2.7 KB  |  61 lines

  1. /* clib/superviewsupport_protos.h   */
  2. /* Version    : 4.1                 */
  3. /* Date       : 14.06.1994          */
  4. /* Written by : Andreas R. Kleinert */
  5.  
  6. #ifndef CLIB_SUPERVIEWSUPPORT_PROTOS_H
  7. #define CLIB_SUPERVIEWSUPPORT_PROTOS_H
  8.  
  9. #ifndef SUPERVIEWSUPPORT_SUPERVIEWSUPPORT_H
  10. #include <superviewsupport/superviewsupport.h>
  11. #endif /* SUPERVIEWSUPPORT_SUPERVIEWSUPPORT_H */
  12.  
  13. struct SVSUP_MemList * SVSUP_GetMemList(    void);
  14. void                   SVSUP_FreeMemList(   APTR mlist);
  15. ULONG                  SVSUP_AddMemEntry(   APTR mlist,
  16.                                             APTR pointer);
  17. APTR               SVSUP_AllocMemEntry( APTR mlist,
  18.                                             ULONG size,
  19.                                             ULONG type);
  20.  
  21. ULONG SVSUP_CheckInterleaved(               struct Screen *sc);
  22. UBYTE SVSUP_GetXAspect(                     struct Screen *sc);
  23. UBYTE SVSUP_GetYAspect(                     struct Screen *sc);
  24. ULONG SVSUP_GetBitMapDepth(                 struct Screen *sc);
  25. ULONG SVSUP_GetBitMapHeight(                struct Screen *sc);
  26. ULONG SVSUP_GetBodySize(                    struct Screen *sc);
  27. ULONG SVSUP_GetStdScreenSize(               ULONG mode_id,
  28.                                             ULONG *width,
  29.                                             ULONG *height);
  30.  
  31. ULONG SVSUP_GetBestModeID(                  ULONG width,
  32.                                             ULONG height,
  33.                                             ULONG depth);
  34. ULONG SVSUP_CopyScreenToBuffer8(            struct Screen *sc,
  35.                                             UBYTE *buffer,
  36.                                             ULONG width,
  37.                                             ULONG height,
  38.                                             ULONG depth);
  39.  
  40. /* added with V2 */
  41.  
  42. ULONG SVSUP_LoadControlPad( UBYTE *filename, struct SV_ControlPad **controlpad);
  43. ULONG SVSUP_SaveControlPad( UBYTE *filename, struct SV_ControlPad *controlpad);
  44. ULONG SVSUP_FreeControlPad( struct SV_ControlPad *controlpad);
  45. ULONG SVSUP_FindControlPad( struct SV_ControlPad *controlpad, UBYTE *name, UBYTE **content);
  46.  
  47. /* added with V3 */
  48.  
  49. ULONG SVSUP_BitPlaneToOnePlane8( struct SV_GfxBuffer *sourcegfx, struct SV_GfxBuffer **retgfx);
  50. ULONG SVSUP_OnePlaneToBitPlane8( struct SV_GfxBuffer *sourcegfx, struct SV_GfxBuffer **retgfx);
  51. ULONG SVSUP_ScreenToOnePlane8(   struct Screen *sc, struct SV_GfxBuffer **retgfx);
  52. ULONG SVSUP_ScreenToBitPlane8(   struct Screen *sc, struct SV_GfxBuffer **retgfx);
  53.  
  54. /* added with V4 */
  55.  
  56. ULONG SVSUP_DisplayGfxBuffer(   struct SVSUP_DisplayHandle *displayhandle);
  57. void  SVSUP_UnDisplayGfxBuffer( struct SVSUP_DisplayHandle *displayhandle);
  58. void  SVSUP_FreeGfxBuffer(      struct SV_GfxBuffer *gfxbuffer);
  59.  
  60. #endif /* CLIB_SUPERVIEWSUPPORT_PROTOS_H */
  61.