home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / gfx / show / superview-lib / programmers / include / superview / svinfo.h < prev   
Encoding:
C/C++ Source or Header  |  1995-05-28  |  3.0 KB  |  93 lines

  1. /* superview/svinfo.h           */
  2. /* Version    : 11.1                */
  3. /* Date       : 19.02.1995        */
  4. /* Written by : Andreas R. Kleinert */
  5.  
  6. #ifndef SUPERVIEW_SVINFO_H
  7. #define SUPERVIEW_SVINFO_H
  8.  
  9. #ifndef SUPERVIEW_SUPERVIEW_H
  10. #include <superview/superview.h>
  11. #endif /* SUPERVIEW_SUPERVIEW_H */
  12.  
  13.  
  14. /* *************************************************** */
  15. /* *                             * */
  16. /* * Information structures                          * */
  17. /* *                             * */
  18. /* *************************************************** */
  19.  
  20.    /* the following have been introduced with V6 : */
  21.  
  22. struct SVObjectInfo
  23. {
  24.  ULONG                 soi_Type;      /* valid SubTypeCode value       */
  25.  ULONG                 soi_Flags;     /* Copy of Flags from svo_Flags  */
  26.  UBYTE                *soi_TypeName;  /* Copy of svo_TypeID and        */
  27.                                       /* svo_SubTypeID[x]              */
  28.  
  29.  struct SVObjectInfo *soi_NextEntry; /* Pointer to next entry or NULL */
  30. };
  31.  
  32. struct SVDriverInfo
  33. {
  34.  ULONG                 sdi_Flags;     /* Copy of Flags from svd_Flags  */
  35.  UBYTE                *sdi_Name;      /* Pointer to svd_ID             */
  36.  
  37.  struct SVDriverInfo *sdi_NextEntry; /* Pointer to next entry or NULL */
  38. };
  39.  
  40.    /* the following has been introduced with V9 : */
  41.  
  42. struct SVOperatorInfo
  43. {
  44.  ULONG                  spi_Flags;     /* Copy of Flags from svp_Flags  */
  45.  UBYTE                 *spi_Desc;      /* Pointer to svd_Description    */
  46.  UBYTE                 *spi_Author;    /* Pointer to svd_Author         */
  47.  
  48.  struct SVOperatorInfo *spi_NextEntry; /* Pointer to next entry or NULL */
  49. };
  50.  
  51. struct SVModeList
  52. {
  53.  struct List svm_EntryList;    /* List of struct SVModeEntry       */
  54.  ULONG         svm_NumEntries;   /* Number of List-Entries       */
  55. };
  56.  
  57.  
  58. struct SVModeEntry
  59. {
  60.  struct Node ModeNode;
  61.  
  62.  ULONG       Version;         /* 0 yet                             */
  63.  
  64.  UBYTE         ModeName [80];   /* ScreenMode-Name                   */
  65.  
  66.  ULONG         StandardWidth;   /* standard Screen-Width  (no Over-  */
  67.  ULONG         StandardHeight;  /* standard Screen-Height     scan)  */
  68.  
  69.  ULONG         MinWidth;          /* minimum  Screen-Width             */
  70.  ULONG         MinHeight;       /* minimum  Screen-Height            */
  71.  ULONG         MinDepth;          /* minimum  Screen-Depth           */
  72.  
  73.  ULONG         MaxWidth;          /* maximum  Screen-Width             */
  74.  ULONG         MaxHeight;       /* maximum  Screen-Height            */
  75.  ULONG         MaxDepth;          /* maximum  Screen-Depth           */
  76.  
  77.  ULONG         ModeID;          /* ScreenMode-ID                     */
  78.  APTR         ModeHandle;      /* ScreenMode-Handle                 */
  79. };
  80.  
  81.  /* explanation: some GfxCards may have ScreenModes, which
  82.                  will only be available with special ColorDepths
  83.                  (e.g. min=max=24 Bit) and/or dimensions
  84.                  (minw=maxw, minh=maxh).
  85.                  If there aren't any restrictions, all "Min" values
  86.                  should be set to NULL.
  87.  
  88.     ModeID     - is a 32 Bit ViewMode value
  89.     ModeHandle - is a handle as returned by FindDisplayInfo(ModeID)
  90.  */
  91.  
  92. #endif /* SUPERVIEW_SVINFO_H */
  93.