home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / amigae / e_v3.2a / modulessrc / graphics / displayinfo.e < prev    next >
Text File  |  1977-12-31  |  3KB  |  118 lines

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. MODULE 'graphics/gfx',
  5.        'graphics/monitor'
  6.  
  7. CONST DTAG_DISP=$80000000,
  8.       DTAG_DIMS=$80001000,
  9.       DTAG_MNTR=$80002000,
  10.       DTAG_NAME=$80003000,
  11.       DTAG_VEC=$80004000
  12.  
  13. OBJECT qh
  14.   structid:LONG
  15.   displayid:LONG
  16.   skipid:LONG
  17.   length:LONG
  18. ENDOBJECT     /* SIZEOF=16 */
  19.  
  20. OBJECT displayinfo
  21.   qh:qh
  22.   notavailable:INT  -> This is unsigned
  23.   propertyflags:LONG
  24.   resolution:tpoint
  25.   pixelspeed:INT  -> This is unsigned
  26.   numstdsprites:INT  -> This is unsigned
  27.   paletterange:INT  -> This is unsigned
  28.   spriteresolution:tpoint
  29.   pad[4]:ARRAY
  30.   redbits:CHAR
  31.   greenbits:CHAR
  32.   bluebits:CHAR
  33.   pad2a:CHAR
  34.   pad2b[4]:ARRAY
  35.   reserved[2]:ARRAY OF LONG
  36. ENDOBJECT     /* SIZEOF=56 */
  37.  
  38. CONST DI_AVAIL_NOCHIPS=1,
  39.       DI_AVAIL_NOMONITOR=2,
  40.       DI_AVAIL_NOTWITHGENLOCK=4,
  41.       DIPF_IS_LACE=1,
  42.       DIPF_IS_DUALPF=2,
  43.       DIPF_IS_PF2PRI=4,
  44.       DIPF_IS_HAM=8,
  45.       DIPF_IS_ECS=16,
  46.       DIPF_IS_AA=$10000,
  47.       DIPF_IS_PAL=$20,
  48.       DIPF_IS_SPRITES=$40,
  49.       DIPF_IS_GENLOCK=$80,
  50.       DIPF_IS_WB=$100,
  51.       DIPF_IS_DRAGGABLE=$200,
  52.       DIPF_IS_PANELLED=$400,
  53.       DIPF_IS_BEAMSYNC=$800,
  54.       DIPF_IS_EXTRAHALFBRITE=$1000,
  55.       DIPF_IS_SPRITES_ATT=$2000,
  56.       DIPF_IS_SPRITES_CHNG_RES=$4000,
  57.       DIPF_IS_SPRITES_BORDER=$8000,
  58.       DIPF_IS_SCANDBL=$20000,
  59.       DIPF_IS_SPRITES_CHNG_BASE=$40000,
  60.       DIPF_IS_SPRITES_CHNG_PRI=$80000,
  61.       DIPF_IS_DBUFFER=$100000,
  62.       DIPF_IS_PROGBEAM=$200000,
  63.       DIPF_IS_FOREIGN=$80000000
  64.  
  65. OBJECT dimensioninfo
  66.   qh:qh
  67.   maxdepth:INT  -> This is unsigned
  68.   minrasterwidth:INT  -> This is unsigned
  69.   minrasterheight:INT  -> This is unsigned
  70.   maxrasterwidth:INT  -> This is unsigned
  71.   maxrasterheight:INT  -> This is unsigned
  72.   nominal:rectangle
  73.   maxoscan:rectangle
  74.   videooscan:rectangle
  75.   txtoscan:rectangle
  76.   stdoscan:rectangle
  77.   pad[14]:ARRAY
  78.   reserved[2]:ARRAY OF LONG
  79. ENDOBJECT     /* SIZEOF=88 */
  80.  
  81. OBJECT monitorinfo
  82.   qh:qh
  83.   mspc:PTR TO monitorspec
  84.   viewposition:tpoint
  85.   viewresolution:tpoint
  86.   viewpositionrange:rectangle
  87.   totalrows:INT  -> This is unsigned
  88.   totalcolorclocks:INT  -> This is unsigned
  89.   minrow:INT  -> This is unsigned
  90.   compatibility:INT
  91.   pad[32]:ARRAY
  92.   mousetick:tpoint
  93.   defaultviewposition:tpoint
  94.   preferredmodeid:LONG
  95.   reserved[2]:ARRAY OF LONG
  96. ENDOBJECT     /* SIZEOF=96 */
  97.  
  98. CONST MCOMPAT_MIXED=0,
  99.       MCOMPAT_SELF=1,
  100.       MCOMPAT_NOBODY=-1,
  101.       DISPLAYNAMELEN=$20
  102.  
  103. OBJECT nameinfo
  104.   qh:qh
  105.   name[32]:ARRAY
  106.   reserved[2]:ARRAY OF LONG
  107. ENDOBJECT     /* SIZEOF=56 */
  108.  
  109. OBJECT vecinfo
  110.   qh:qh
  111.   vec:LONG
  112.   data:LONG
  113.   type:INT  -> This is unsigned
  114.   pad[3]:ARRAY OF INT  -> Array is unsigned
  115.   reserved[2]:ARRAY OF LONG
  116. ENDOBJECT     /* SIZEOF=40 */
  117.  
  118.