home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / Guide.lzx / Guide / pIntui / PIObj.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-08  |  3.0 KB  |  139 lines

  1. @DATABASE "pIntui/PIObj.h"
  2. @MASTER   "Work2:AD/IInc/pIntui/PIObj.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 08-Dez-96  14:43:17
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pIntui/PIObj.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pIntui/PIObj.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_IBorder" LINK "pIntui/PIObj.h/File" 42}      @{"pOS_IntuiBorder" LINK "pIntui/PIObj.h/File" 47}  @{"pOS_IntuiGfx" LINK "pIntui/PIObj.h/File" 95}    @{"pOS_IntuiImage" LINK "pIntui/PIObj.h/File" 62}
  16. @{"pOS_IntuiSymbol" LINK "pIntui/PIObj.h/File" 74}  @{"pOS_IntuiText" LINK "pIntui/PIObj.h/File" 20}    @{"pOS_IntuiText2" LINK "pIntui/PIObj.h/File" 84}  
  17.  
  18.  
  19. @{b}#defines@{ub}
  20.  
  21. @{"pOS_INTUIIMAGECNT" LINK "pIntui/PIObj.h/File" 59}
  22.  
  23. @ENDNODE
  24. @NODE File "pIntui/PIObj.h"
  25. #ifndef __INC_POS_PINTUI_PIOBJ_H
  26. #define __INC_POS_PINTUI_PIOBJ_H
  27. /*******************************************************************
  28.  $CRT 01 Jan 1996 : hb
  29.  
  30.  $AUT Holger Burkarth
  31.  $DAT >>PIObj.h<<   22 Oct 1996    18:02:11 - (C) ProDAD
  32. *******************************************************************/
  33. #ifdef _____ME_____ /* only for proDAD */
  34.  
  35. #ifndef __INC_POS_PINTUI_IOBJ_H
  36. #include "p:pIntui/IObj.h"
  37. #endif
  38.  
  39. struct pOS_TextAttr;
  40. struct pOS_GfxMap;
  41.  
  42. /*----------------------------------
  43. -----------------------------------*/
  44. struct pOS_IntuiText
  45. {
  46.   UBYTE               it_FrontPen,it_FrontSelPen;
  47.   UBYTE               it_BackPen, it_BackSelPen;
  48.   UBYTE               it_DrawMode;
  49.   UBYTE               it_Flags;     /* (enum pOS_IntuiTextFlags) */
  50.   const pOS_TextAttr *it_ITextFont;
  51.   const CHAR         *it_IText;
  52. };
  53.  
  54.  
  55. enum pOS_IntuiTextFlags
  56. {
  57.   INTTXTF_LF       = 0x01,
  58.   INTTXTF_HKey     = 0x02,  /* Highlight key */
  59.   INTTXTF_NeedHKey = 0x04,
  60. };
  61.  
  62.  
  63.  
  64. /*----------------------------------
  65. -----------------------------------*/
  66. struct pOS_IBorder
  67. {
  68.   SWORD X,Y;
  69. };
  70.  
  71. struct pOS_IntuiBorder
  72. {
  73.   UBYTE               ib_FrontPen,ib_FrontSelPen;
  74.   UBYTE               ib_BackPen, ib_BackSelPen;
  75.   UBYTE               ib_DrawMode;
  76.   UBYTE               ib_Flags;
  77.   UWORD               ib_Cnt;
  78.   const pOS_IBorder  *ib_XY;
  79. };
  80.  
  81.  
  82.  
  83. #define pOS_INTUIIMAGECNT 10
  84. /*----------------------------------
  85. -----------------------------------*/
  86. struct pOS_IntuiImage
  87. {
  88.   pOS_GfxMap *ii_GfxMapN;  // Normal
  89.   pOS_GfxMap *ii_GfxMapB;  // Border
  90.   pOS_GfxMap *ii_GfxMapAB; // activate Border
  91.   pOS_GfxMap *ii_GfxMapS[@{"pOS_INTUIIMAGECNT" LINK File 59}]; // Select
  92. };
  93.  
  94.  
  95.  
  96. /*----------------------------------
  97. -----------------------------------*/
  98. struct pOS_IntuiSymbol
  99. {
  100.   UBYTE  is_FrontPen,is_FrontSelPen;
  101.   UBYTE  is_BackPen, is_BackSelPen;
  102.   UWORD  is_Width;
  103.   UWORD  is_Height;
  104.   ULONG  is_Type;
  105. };
  106.  
  107.  
  108. struct pOS_IntuiText2
  109. {
  110.   ULONG it2_FraType;    // (enum pOS_FrameClassType)
  111. };
  112.  
  113.  
  114.  
  115.  
  116.  
  117. /*----------------------------------
  118. -----------------------------------*/
  119. struct pOS_IntuiGfx
  120. {
  121.   UWORD        ig_Width;
  122.   UWORD        ig_Height;
  123.  
  124.   struct
  125.     pOS_GfxMap **ig_Gfx;
  126.     ULONG        ig_Frames;
  127.     ULONG        ig_RefFrame;
  128.   } ig_Nor,ig_Sel;
  129. };
  130.  
  131.  
  132.  
  133.  
  134.  
  135. #endif /** _____ME_____ **/
  136.  
  137. #endif
  138. @ENDNODE
  139.