1 #ifndef GRAPHICS_DISPLAYINFO_H
2 #define GRAPHICS_DISPLAYINFO_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: DisplayInfo definitions and structures.
13 # include <exec/types.h>
15 #ifndef GRAPHICS_GFX_H
16 # include <graphics/gfx.h>
18 #ifndef GRAPHICS_MODEID_H
19 # include <graphics/modeid.h>
21 #ifndef GRAPHICS_MONITOR_H
22 # include <graphics/monitor.h>
24 #ifndef UTILITY_TAGITEM_H
25 # include <utility/tagitem.h>
28 typedef APTR DisplayInfoHandle
;
40 struct QueryHeader Header
;
42 UWORD NotAvailable
; /* ==0 means DisplayInfo is available
43 !=0 means not available (see below) */
44 ULONG PropertyFlags
; /* see below */
49 Point SpriteResolution
;
59 #define DI_AVAIL_NOCHIPS (1<<0)
60 #define DI_AVAIL_NOMONITOR (1<<1)
61 #define DI_AVAIL_NOTWITHGENLOCK (1<<2)
64 #define DIPF_IS_LACE (1L<<0)
65 #define DIPF_IS_DUALPF (1L<<1)
66 #define DIPF_IS_PF2PRI (1L<<2)
67 #define DIPF_IS_HAM (1L<<3)
68 #define DIPF_IS_ECS (1L<<4)
69 #define DIPF_IS_PAL (1L<<5)
70 #define DIPF_IS_SPRITES (1L<<6)
71 #define DIPF_IS_GENLOCK (1L<<7)
72 #define DIPF_IS_WB (1L<<8)
73 #define DIPF_IS_DRAGGABLE (1L<<9)
74 #define DIPF_IS_PANELLED (1L<<10)
75 #define DIPF_IS_BEAMSYNC (1L<<11)
76 #define DIPF_IS_EXTRAHALFBRITE (1L<<12)
77 #define DIPF_IS_SPRITES_ATT (1L<<13)
78 #define DIPF_IS_SPRITES_CHNG_RES (1L<<14)
79 #define DIPF_IS_SPRITES_BORDER (1L<<15)
80 #define DIPF_IS_AA (1L<<16)
81 #define DIPF_IS_SCANDBL (1L<<17)
82 #define DIPF_IS_SPRITES_CHNG_BASE (1L<<18)
83 #define DIPF_IS_SPRITES_CHNG_PRI (1L<<19)
84 #define DIPF_IS_DBUFFER (1L<<20)
85 #define DIPF_IS_PROGBEAM (1L<<21)
86 #define DIPF_IS_FOREIGN (1L<<31)
90 struct QueryHeader Header
;
94 UWORD MinRasterHeight
;
96 UWORD MaxRasterHeight
;
98 struct Rectangle Nominal
;
99 struct Rectangle MaxOScan
;
100 struct Rectangle VideoOScan
;
101 struct Rectangle TxtOScan
;
102 struct Rectangle StdOScan
;
110 struct QueryHeader Header
;
112 struct MonitorSpec
* Mspc
;
114 Point ViewResolution
;
115 struct Rectangle ViewPositionRange
;
117 UWORD TotalColorClocks
;
119 WORD Compatibility
; /* see below */
122 Point DefaultViewPosition
;
123 ULONG PreferredModeID
;
128 #define MCOMPAT_NOBODY -1
129 #define MCOMPAT_MIXED 0
130 #define MCOMPAT_SELF 1
132 #define DISPLAYNAMELEN 32
135 struct QueryHeader Header
;
137 UBYTE Name
[DISPLAYNAMELEN
];
142 #define DTAG_DISP (TAG_USER)
143 #define DTAG_DIMS (TAG_USER + 0x1000)
144 #define DTAG_MNTR (TAG_USER + 0x2000)
145 #define DTAG_NAME (TAG_USER + 0x3000)
146 #define DTAG_VEC (TAG_USER + 0x4000)
151 struct QueryHeader Header
;
160 #endif /* GRAPHICS_DISPLAYINFO_H */