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

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. OPT PREPROCESS
  5.  
  6. MODULE 'graphics/rastport',
  7.        'intuition/intuition',
  8.        'intuition/screens'
  9.  
  10. #define GADGET_BOX(g) ((g)+GD_LEFTEDGE)
  11. #define IM_BOX(im)    ((im)+IG_LEFTEDGE)
  12. #define IM_FGPEN(im)  (im::image.planepick)
  13. #define IM_BGPEN(im)  (im::image.planeonoff)
  14.  
  15. CONST CUSTOMIMAGEDEPTH=-1,
  16.       IMAGE_ATTRIBUTES=$80020000,
  17.       IA_LEFT=$80020001,
  18.       IA_TOP=$80020002,
  19.       IA_WIDTH=$80020003,
  20.       IA_HEIGHT=$80020004,
  21.       IA_FGPEN=$80020005,
  22.       IA_BGPEN=$80020006,
  23.       IA_DATA=$80020007,
  24.       IA_LINEWIDTH=$80020008,
  25.       IA_PENS=$8002000E,
  26.       IA_RESOLUTION=$8002000F,
  27.       IA_APATTERN=$80020010,
  28.       IA_APATSIZE=$80020011,
  29.       IA_MODE=$80020012,
  30.       IA_FONT=$80020013,
  31.       IA_OUTLINE=$80020014,
  32.       IA_RECESSED=$80020015,
  33.       IA_DOUBLEEMBOSS=$80020016,
  34.       IA_EDGESONLY=$80020017,
  35.       SYSIA_SIZE=$8002000B,
  36.       SYSIA_DEPTH=$8002000C,
  37.       SYSIA_WHICH=$8002000D,
  38.       SYSIA_DRAWINFO=$80020018,
  39.       SYSIA_PENS=$8002000E,
  40.       IA_SHADOWPEN=$80020009,
  41.       IA_HIGHLIGHTPEN=$8002000A,
  42.       SYSIA_REFERENCEFONT=$80020019,
  43.       IA_SUPPORTSDISABLE=$8002001A,
  44.       IA_FRAMETYPE=$8002001B,
  45.       SYSISIZE_MEDRES=0,
  46.       SYSISIZE_LOWRES=1,
  47.       SYSISIZE_HIRES=2,
  48.       DEPTHIMAGE=0,
  49.       ZOOMIMAGE=1,
  50.       SIZEIMAGE=2,
  51.       CLOSEIMAGE=3,
  52.       SDEPTHIMAGE=5,
  53.       LEFTIMAGE=10,
  54.       UPIMAGE=11,
  55.       RIGHTIMAGE=12,
  56.       DOWNIMAGE=13,
  57.       CHECKIMAGE=14,
  58.       MXIMAGE=15,
  59.       MENUCHECK=16,
  60.       AMIGAKEY=17,
  61.       FRAME_DEFAULT=0,
  62.       FRAME_BUTTON=1,
  63.       FRAME_RIDGE=2,
  64.       FRAME_ICONDROPBOX=3,
  65.       IM_DRAW=$202,
  66.       IM_HITTEST=$203,
  67.       IM_ERASE=$204,
  68.       IM_MOVE=$205,
  69.       IM_DRAWFRAME=$206,
  70.       IM_FRAMEBOX=$207,
  71.       IM_HITFRAME=$208,
  72.       IM_ERASEFRAME=$209,
  73.       IDS_NORMAL=0,
  74.       IDS_SELECTED=1,
  75.       IDS_DISABLED=2,
  76.       IDS_BUSY=3,
  77.       IDS_INDETERMINATE=4,
  78.       IDS_INACTIVENORMAL=5,
  79.       IDS_INACTIVESELECTED=6,
  80.       IDS_INACTIVEDISABLED=7,
  81.       IDS_INDETERMINANT=4
  82.  
  83. OBJECT impframebox
  84.   methodid:LONG
  85.   contentsbox:PTR TO ibox
  86.   framebox:PTR TO ibox
  87.   drinfo:PTR TO drawinfo
  88.   frameflags:LONG
  89. ENDOBJECT     /* SIZEOF=NONE !!! */
  90.  
  91. CONST FRAMEB_SPECIFY=0,
  92.       FRAMEF_SPECIFY=1
  93.  
  94. OBJECT impdraw
  95.   methodid:LONG
  96.   rport:PTR TO rastport
  97.   offsetx:INT
  98.   offsety:INT
  99.   state:LONG
  100.   drinfo:PTR TO drawinfo
  101.   dimensionswidth:INT
  102.   dimensionsheight:INT
  103. ENDOBJECT     /* SIZEOF=NONE !!! */
  104.  
  105. OBJECT impdrawframe
  106.   methodid:LONG
  107.   rport:PTR TO rastport
  108.   offsetx:INT
  109.   offsety:INT
  110.   state:LONG
  111.   drinfo:PTR TO drawinfo
  112.   dimensionswidth:INT
  113.   dimensionsheight:INT
  114. ENDOBJECT     /* SIZEOF=NONE !!! */
  115.  
  116. OBJECT imperase
  117.   methodid:LONG
  118.   rport:PTR TO rastport
  119.   offsetx:INT
  120.   offsety:INT
  121.   dimensionswidth:INT
  122.   dimensionsheight:INT
  123. ENDOBJECT     /* SIZEOF=NONE !!! */
  124.  
  125. OBJECT imperaseframe
  126.   methodid:LONG
  127.   rport:PTR TO rastport
  128.   offsetx:INT
  129.   offsety:INT
  130.   dimensionswidth:INT
  131.   dimensionsheight:INT
  132. ENDOBJECT     /* SIZEOF=NONE !!! */
  133.  
  134. OBJECT imphittest
  135.   methodid:LONG
  136.   pointx:INT
  137.   pointy:INT
  138.   dimensionswidth:INT
  139.   dimensionsheight:INT
  140. ENDOBJECT     /* SIZEOF=NONE !!! */
  141.  
  142. OBJECT imphitframe
  143.   methodid:LONG
  144.   pointx:INT
  145.   pointy:INT
  146.   dimensionswidth:INT
  147.   dimensionsheight:INT
  148. ENDOBJECT     /* SIZEOF=NONE !!! */
  149.