home *** CD-ROM | disk | FTP | other *** search
- IFND CYBERGRAPHICS__I
- CYBERGRAPHICS__I SET 1
-
-
- INCLUDE "exec/types.i"
- INCLUDE "utility/tagitem.i"
- INCLUDE "graphics/displayinfo.i"
-
-
- *
- * Definition of CyberModeNode (Returned in AllocModeList)
- *
- STRUCTURE CyberModeNode,0
- STRUCT cmn_Node,LN_SIZE
- STRUCT cmn_ModeText,DISPLAYNAMELEN
- ULONG cmn_DisplayID
- UWORD cmn_Width
- UWORD cmn_Height
- UWORD cmn_Depth
- APTR cmn_DisplayTagList
- LABEL cmn_SIZEOF
-
-
- *
- * Parameters for GetCyberMapAttr
- *
-
- CYBRMATTR_XMOD EQU $80000001 function returns BytesPerRow if its called with this parameter
- CYBRMATTR_BPPIX EQU $80000002 BytesPerPixel shall be returned
- CYBRMATTR_DISPADR EQU $80000003 do not use this ! private tag
- CYBRMATTR_PIXFMT EQU $80000004 the pixel format is returned
- CYBRMATTR_WIDTH EQU $80000005 returns width in pixels
- CYBRMATTR_HEIGHT EQU $80000006 returns height in lines
- CYBRMATTR_DEPTH EQU $80000006 returns bits per pixel
-
- *
- * Parameters for GetCyberIDAttr
- *
-
- CYBRIDATTR_PIXFMT EQU $80000001 the pixel format is returned
- CYBRIDATTR_WIDTH EQU $80000002 returns visible width in pixels
- CYBRIDATTR_HEIGHT EQU $80000003 returns visible height in lines
- CYBRIDATTR_DEPTH EQU $80000004 returns bits per pixel
- CYBRIDATTR_BPPIX EQU $80000005 BytesPerPixel shall be returned
-
- *
- * Tags for CModeRequestTagList
- *
-
- CYBRMREQ_TB EQU (TAG_USER+$40000)
- ;
- ; FilterTags
- ;
- CYBRMREQ_MinDepth EQU CYBRMREQ_TB+0 Minimum depth for displayed screenmode
- CYBRMREQ_MaxDepth EQU CYBRMREQ_TB+1 Maximum depth " " "
- CYBRMREQ_MinWidth EQU CYBRMREQ_TB+2 Minumum width " " "
- CYBRMREQ_MaxWidth EQU CYBRMREQ_TB+3 Maximum width " " "
- CYBRMREQ_MinHeight EQU CYBRMREQ_TB+4 Minumum height " " "
- CYBRMREQ_MaxHeight EQU CYBRMREQ_TB+5 Minumum height " " "
- CYBRMREQ_CModelArray EQU CYBRMREQ_TB+6 Filters certain color models
-
- CYBRMREQ_WinTitle EQU CYBRMREQ_TB+20
- CYBRMREQ_OKText EQU CYBRMREQ_TB+21
- CYBRMREQ_CancelText EQU CYBRMREQ_TB+22
-
- CYBRMREQ_Screen EQU CYBRMREQ_TB+30 Screen you wish the Requester to open on
-
- *
- * Tags for BestCyberModeID
- *
-
- CYBRBIDTG_TB EQU (TAG_USER+$50000)
- ;
- ; FilterTags
- ;
- CYBRBIDTG_Depth EQU CYBRBIDTG_TB+0
- CYBRBIDTG_NominalWidth EQU CYBRBIDTG_TB+1
- CYBRBIDTG_NominalHeight EQU CYBRBIDTG_TB+2
- CYBRBIDTG_MonitorID EQU CYBRBIDTG_TB+3
-
-
- PIXFMT_LUT8 EQU 0
- PIXFMT_RGB15 EQU 1
- PIXFMT_BGR15 EQU 2
- PIXFMT_RGB15PC EQU 3
- PIXFMT_BGR15PC EQU 4
- PIXFMT_RGB16 EQU 5
- PIXFMT_BGR16 EQU 6
- PIXFMT_RGB16PC EQU 7
- PIXFMT_BGR16PC EQU 8
- PIXFMT_RGB24 EQU 9
- PIXFMT_BGR24 EQU 10
- PIXFMT_ARGB32 EQU 11
- PIXFMT_BGRA32 EQU 12
-
- *
- * SrcRectangle formats defines for xxxPixelArray calls
- *
- RECTFMT_RGB EQU 0
- RECTFMT_RGBA EQU 1
- RECTFMT_ARGB EQU 2
- ENDC
-