home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GrafikenKartenSoft / CYBERPIC.LHA / cybergfx / developer / include / cybergraphics.i < prev   
Encoding:
Text File  |  1994-12-31  |  2.6 KB  |  103 lines

  1.     IFND    CYBERGRAPHICS__I
  2. CYBERGRAPHICS__I     SET    1
  3.  
  4.  
  5.     INCLUDE "exec/types.i"
  6.     INCLUDE "utility/tagitem.i"
  7.     INCLUDE    "graphics/displayinfo.i"
  8.  
  9.  
  10. *
  11. * Definition of CyberModeNode (Returned in AllocModeList)
  12. *
  13.     STRUCTURE    CyberModeNode,0
  14.         STRUCT    cmn_Node,LN_SIZE
  15.         STRUCT    cmn_ModeText,DISPLAYNAMELEN
  16.         ULONG    cmn_DisplayID
  17.         UWORD    cmn_Width
  18.         UWORD    cmn_Height
  19.         UWORD    cmn_Depth
  20.         APTR    cmn_DisplayTagList
  21.         LABEL    cmn_SIZEOF
  22.  
  23.         
  24. *
  25. * Parameters for GetCyberMapAttr
  26. *
  27.  
  28. CYBRMATTR_XMOD        EQU    $80000001    function returns BytesPerRow if its called with this parameter
  29. CYBRMATTR_BPPIX        EQU    $80000002    BytesPerPixel shall be returned
  30. CYBRMATTR_DISPADR    EQU    $80000003    do not use this ! private tag
  31. CYBRMATTR_PIXFMT    EQU    $80000004    the pixel format is returned
  32. CYBRMATTR_WIDTH        EQU    $80000005    returns width in pixels
  33. CYBRMATTR_HEIGHT    EQU    $80000006    returns height in lines
  34. CYBRMATTR_DEPTH        EQU    $80000006    returns bits per pixel
  35.  
  36. *
  37. * Parameters for GetCyberIDAttr
  38. *
  39.  
  40. CYBRIDATTR_PIXFMT    EQU    $80000001    the pixel format is returned
  41. CYBRIDATTR_WIDTH    EQU    $80000002    returns visible width in pixels
  42. CYBRIDATTR_HEIGHT    EQU    $80000003    returns visible height in lines
  43. CYBRIDATTR_DEPTH    EQU    $80000004    returns bits per pixel
  44. CYBRIDATTR_BPPIX    EQU    $80000005    BytesPerPixel shall be returned
  45.  
  46. *
  47. * Tags for CModeRequestTagList
  48. *
  49.  
  50. CYBRMREQ_TB        EQU    (TAG_USER+$40000)
  51. ;
  52. ; FilterTags
  53. ;
  54. CYBRMREQ_MinDepth    EQU    CYBRMREQ_TB+0        Minimum depth for displayed screenmode
  55. CYBRMREQ_MaxDepth    EQU    CYBRMREQ_TB+1        Maximum depth  "       "        "
  56. CYBRMREQ_MinWidth    EQU    CYBRMREQ_TB+2        Minumum width  "       "        "
  57. CYBRMREQ_MaxWidth    EQU    CYBRMREQ_TB+3        Maximum width  "       "        "
  58. CYBRMREQ_MinHeight    EQU    CYBRMREQ_TB+4        Minumum height "       "        "
  59. CYBRMREQ_MaxHeight    EQU    CYBRMREQ_TB+5        Minumum height "       "        "
  60. CYBRMREQ_CModelArray    EQU    CYBRMREQ_TB+6        Filters certain color models
  61.  
  62. CYBRMREQ_WinTitle    EQU    CYBRMREQ_TB+20
  63. CYBRMREQ_OKText        EQU    CYBRMREQ_TB+21
  64. CYBRMREQ_CancelText    EQU    CYBRMREQ_TB+22
  65.  
  66. CYBRMREQ_Screen        EQU    CYBRMREQ_TB+30        Screen you wish the Requester to open on
  67.  
  68. *
  69. * Tags for BestCyberModeID
  70. *
  71.  
  72. CYBRBIDTG_TB        EQU    (TAG_USER+$50000)
  73. ;
  74. ; FilterTags
  75. ;
  76. CYBRBIDTG_Depth        EQU    CYBRBIDTG_TB+0
  77. CYBRBIDTG_NominalWidth    EQU    CYBRBIDTG_TB+1
  78. CYBRBIDTG_NominalHeight    EQU    CYBRBIDTG_TB+2
  79. CYBRBIDTG_MonitorID    EQU    CYBRBIDTG_TB+3
  80.  
  81.  
  82. PIXFMT_LUT8        EQU    0
  83. PIXFMT_RGB15        EQU    1
  84. PIXFMT_BGR15        EQU    2
  85. PIXFMT_RGB15PC        EQU    3
  86. PIXFMT_BGR15PC        EQU    4
  87. PIXFMT_RGB16        EQU    5
  88. PIXFMT_BGR16        EQU    6
  89. PIXFMT_RGB16PC        EQU    7
  90. PIXFMT_BGR16PC        EQU    8
  91. PIXFMT_RGB24        EQU    9
  92. PIXFMT_BGR24        EQU    10
  93. PIXFMT_ARGB32        EQU    11
  94. PIXFMT_BGRA32        EQU    12
  95.  
  96. *
  97. * SrcRectangle formats defines for xxxPixelArray calls
  98. *
  99. RECTFMT_RGB        EQU    0
  100. RECTFMT_RGBA        EQU    1
  101. RECTFMT_ARGB        EQU    2
  102.     ENDC
  103.