home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / dev / e / amigae / modulessrc / intuition / screens.e < prev    next >
Text File  |  1995-07-05  |  5KB  |  223 lines

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. MODULE 'exec/nodes',
  5.        'exec/tasks',
  6.        'graphics/clip',
  7.        'graphics/gfx',
  8.        'graphics/layers',
  9.        'graphics/rastport',
  10.        'graphics/text',
  11.        'graphics/view',
  12.        'intuition/intuition',
  13.        'utility/tagitem'
  14.  
  15. CONST DRI_VERSION=2
  16.  
  17. OBJECT drawinfo
  18.   version:INT  -> This is unsigned
  19.   numpens:INT  -> This is unsigned
  20.   pens:PTR TO INT  -> Target is unsigned
  21.   font:PTR TO textfont
  22.   depth:INT  -> This is unsigned
  23.   resolutionx:INT  -> This is unsigned
  24.   resolutiony:INT  -> This is unsigned
  25.   flags:LONG
  26.   checkmark:PTR TO image
  27.   amigakey:PTR TO image
  28.   longreserved[5]:ARRAY OF LONG
  29. ENDOBJECT     /* SIZEOF=NONE !!! */
  30.  
  31. CONST DRIF_NEWLOOK=1,
  32.       DRIB_NEWLOOK=0,
  33.       DETAILPEN=0,
  34.       BLOCKPEN=1,
  35.       TEXTPEN=2,
  36.       SHINEPEN=3,
  37.       SHADOWPEN=4,
  38.       FILLPEN=5,
  39.       FILLTEXTPEN=6,
  40.       BACKGROUNDPEN=7,
  41.       HIGHLIGHTTEXTPEN=8,
  42.       BARDETAILPEN=9,
  43.       BARBLOCKPEN=10,
  44.       BARTRIMPEN=11,
  45.       NUMDRIPENS=12,
  46.       PEN_C3=$FEFC,
  47.       PEN_C2=$FEFD,
  48.       PEN_C1=$FEFE,
  49.       PEN_C0=$FEFF
  50.  
  51. OBJECT screen
  52.   nextscreen:PTR TO screen
  53.   firstwindow:PTR TO window
  54.   leftedge:INT
  55.   topedge:INT
  56.   width:INT
  57.   height:INT
  58.   mousey:INT
  59.   mousex:INT
  60.   flags:INT  -> This is unsigned
  61.   title:PTR TO CHAR
  62.   defaulttitle:PTR TO CHAR
  63.   barheight:CHAR  -> This is signed
  64.   barvborder:CHAR  -> This is signed
  65.   barhborder:CHAR  -> This is signed
  66.   menuvborder:CHAR  -> This is signed
  67.   menuhborder:CHAR  -> This is signed
  68.   wbortop:CHAR  -> This is signed
  69.   wborleft:CHAR  -> This is signed
  70.   wborright:CHAR  -> This is signed
  71.   wborbottom:CHAR  -> This is signed
  72.   font:PTR TO textattr
  73.   viewport:viewport
  74.   rastport:rastport
  75.   bitmap:bitmap
  76.   layerinfo:layer_info
  77.   firstgadget:PTR TO gadget
  78.   detailpen:CHAR
  79.   blockpen:CHAR
  80.   savecolor0:INT  -> This is unsigned
  81.   barlayer:PTR TO layer
  82.   extdata:PTR TO CHAR
  83.   userdata:PTR TO CHAR
  84. ENDOBJECT     /* SIZEOF=346 */
  85.  
  86. CONST SCREENTYPE=15,
  87.       WBENCHSCREEN=1,
  88.       PUBLICSCREEN=2,
  89.       CUSTOMSCREEN=15,
  90.       SHOWTITLE=16,
  91.       BEEPING=$20,
  92.       CUSTOMBITMAP=$40,
  93.       SCREENBEHIND=$80,
  94.       SCREENQUIET=$100,
  95.       SCREENHIRES=$200,
  96.       STDSCREENHEIGHT=-1,
  97.       STDSCREENWIDTH=-1,
  98.       NS_EXTENDED=$1000,
  99.       AUTOSCROLL=$4000,
  100.       PENSHARED=$400,
  101.       SA_DUMMY=$80000020,
  102.       SA_LEFT=$80000021,
  103.       SA_TOP=$80000022,
  104.       SA_WIDTH=$80000023,
  105.       SA_HEIGHT=$80000024,
  106.       SA_DEPTH=$80000025,
  107.       SA_DETAILPEN=$80000026,
  108.       SA_BLOCKPEN=$80000027,
  109.       SA_TITLE=$80000028,
  110.       SA_COLORS=$80000029,
  111.       SA_ERRORCODE=$8000002A,
  112.       SA_FONT=$8000002B,
  113.       SA_SYSFONT=$8000002C,
  114.       SA_TYPE=$8000002D,
  115.       SA_BITMAP=$8000002E,
  116.       SA_PUBNAME=$8000002F,
  117.       SA_PUBSIG=$80000030,
  118.       SA_PUBTASK=$80000031,
  119.       SA_DISPLAYID=$80000032,
  120.       SA_DCLIP=$80000033,
  121.       SA_OVERSCAN=$80000034,
  122.       SA_OBSOLETE1=$80000035,
  123.       SA_SHOWTITLE=$80000036,
  124.       SA_BEHIND=$80000037,
  125.       SA_QUIET=$80000038,
  126.       SA_AUTOSCROLL=$80000039,
  127.       SA_PENS=$8000003A,
  128.       SA_FULLPALETTE=$8000003B,
  129.       SA_COLORMAPENTRIES=$8000003C,
  130.       SA_PARENT=$8000003D,
  131.       SA_DRAGGABLE=$8000003E,
  132.       SA_EXCLUSIVE=$8000003F,
  133.       SA_SHAREPENS=$80000040,
  134.       SA_BACKFILL=$80000041,
  135.       SA_INTERLEAVED=$80000042,
  136.       SA_COLORS32=$80000043,
  137.       SA_VIDEOCONTROL=$80000044,
  138.       SA_FRONTCHILD=$80000045,
  139.       SA_BACKCHILD=$80000046,
  140.       SA_LIKEWORKBENCH=$80000047,
  141.       SA_RESERVED=$80000048,
  142.       SA_MINIMIZEISG=$80000049,
  143.       OSERR_NOMONITOR=1,
  144.       OSERR_NOCHIPS=2,
  145.       OSERR_NOMEM=3,
  146.       OSERR_NOCHIPMEM=4,
  147.       OSERR_PUBNOTUNIQUE=5,
  148.       OSERR_UNKNOWNMODE=6,
  149.       OSERR_TOODEEP=7,
  150.       OSERR_ATTACHFAIL=8,
  151.       OSERR_NOTAVAILABLE=9
  152.  
  153. OBJECT ns
  154.   leftedge:INT
  155.   topedge:INT
  156.   width:INT
  157.   height:INT
  158.   depth:INT
  159.   detailpen:CHAR
  160.   blockpen:CHAR
  161.   viewmodes:INT  -> This is unsigned
  162.   type:INT  -> This is unsigned
  163.   font:PTR TO textattr
  164.   defaulttitle:PTR TO CHAR
  165.   gadgets:PTR TO gadget
  166.   custombitmap:PTR TO bitmap
  167. ENDOBJECT     /* SIZEOF=32 */
  168.  
  169. OBJECT extnewscreen
  170.   leftedge:INT
  171.   topedge:INT
  172.   width:INT
  173.   height:INT
  174.   depth:INT
  175.   detailpen:CHAR
  176.   blockpen:CHAR
  177.   viewmodes:INT  -> This is unsigned
  178.   type:INT  -> This is unsigned
  179.   font:PTR TO textattr
  180.   defaulttitle:PTR TO CHAR
  181.   gadgets:PTR TO gadget
  182.   custombitmap:PTR TO bitmap
  183.   extension:PTR TO tagitem
  184. ENDOBJECT     /* SIZEOF=36 */
  185.  
  186. CONST OSCAN_TEXT=1,
  187.       OSCAN_STANDARD=2,
  188.       OSCAN_MAX=3,
  189.       OSCAN_VIDEO=4
  190.  
  191. OBJECT pubscreennode
  192.   ln:ln
  193.   screen:PTR TO screen
  194.   flags:INT  -> This is unsigned
  195.   size:INT
  196.   visitorcount:INT
  197.   sigtask:PTR TO tc
  198.   sigbit:CHAR
  199.   pad1:CHAR
  200. ENDOBJECT     /* SIZEOF=30 */
  201.  
  202. CONST PSNF_PRIVATE=1,
  203.       MAXPUBSCREENNAME=$8B,
  204.       SHANGHAI=1,
  205.       POPPUBSCREEN=2,
  206.       SDEPTH_TOFRONT=0,
  207.       SDEPTH_TOBACK=1,
  208.       SDEPTH_INFAMILY=2,
  209.       SDEPTH_CHILDONLY=2,
  210.       SPOS_RELATIVE=0,
  211.       SPOS_ABSOLUTE=1,
  212.       SPOS_MAKEVISIBLE=2,
  213.       SPOS_FORCEDRAG=4
  214.  
  215. OBJECT screenbuffer
  216.   bitmap:PTR TO bitmap
  217.   dbufinfo:PTR TO dbufinfo
  218. ENDOBJECT     /* SIZEOF=8 */
  219.  
  220. CONST SB_SCREEN_BITMAP=1,
  221.       SB_COPY_BITMAP=2
  222.  
  223.