home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff201.lzh / Draco / drinc / intuition / screen.g < prev    next >
Text File  |  1989-04-03  |  2KB  |  93 lines

  1. type
  2. „ViewPort_t=unknown40,
  3. „RastPort_t=unknown100,
  4. „BitMap_t=unknown40,
  5. „Layer_Info_t=unknown102;
  6.  
  7. type
  8. „Screen_t=struct{
  9. ˆ*Screen_tsc_NextScreen;
  10. ˆ*Window_tsc_FirstWindow;
  11. ˆ
  12. ˆuintsc_LeftEdge,sc_TopEdge;
  13. ˆuintsc_Width,sc_Height;
  14. ˆ
  15. ˆintsc_MouseY,sc_MouseX;
  16. ˆ
  17. ˆuintsc_Flags;
  18. ˆ
  19. ˆ*charsc_Title;
  20. ˆ*charsc_DefaultTitle;
  21. ˆ
  22. ˆushortsc_BarHeight,sc_BarVBorder,sc_BarHBorder,
  23. Œsc_MenuVBorder,sc_MenuHBorder;
  24. ˆushortsc_WBorTop,sc_WBorLeft,sc_WBorRight,sc_WBorBottom;
  25. ˆ
  26. ˆ*TextAttr_tsc_Font;
  27. ˆ
  28. ˆViewPort_tsc_ViewPort;
  29. ˆRastPort_tsc_RastPort;
  30. ˆBitMap_tsc_BitMap;
  31. ˆLayer_Info_tsc_LayerInfo;
  32. ˆ
  33. ˆ*Gadget_tsc_FirstGadget;
  34. ˆ
  35. ˆushortsc_DetailPen,sc_BlockPen;
  36. ˆ
  37. ˆuintsc_SaveColor0;
  38. ˆ
  39. ˆ*Layer_tsc_BarLayer;
  40. ˆ
  41. ˆ*bytesc_ExtData;
  42. ˆ
  43. ˆ*bytesc_UserData;
  44. „};
  45.  
  46. uint„
  47. „SCREENTYPE†=0x000F,
  48. „WBENCHSCREEN„=0x0001,
  49. „CUSTOMSCREEN„=0x000F,
  50.  
  51. „SHOWTITLE‡=0x0010,
  52.  
  53. „BEEPING‰=0x0020,
  54.  
  55. „CUSTOMBITMAP„=0x0040,
  56.  
  57. „SCREENBEHIND„=0x0080,
  58.  
  59. „SCREENQUIET…=0x0100;
  60.  
  61. uint
  62. „STDSCREENHEIGHT=65535;
  63.  
  64. type
  65. „NewScreen_t=struct{
  66. ˆuintns_LeftEdge,ns_TopEdge,ns_Width,ns_Height,ns_Depth;
  67. ˆ
  68. ˆushortns_DetailPen,ns_BlockPen;
  69. ˆ
  70. ˆuintns_ViewModes;
  71. ˆ
  72. ˆuintns_Type;
  73. ˆ
  74. ˆ*TextAttr_tns_Font;
  75. ˆ
  76. ˆ*charns_DefaultTitle;
  77. ˆ
  78. ˆ*Gadget_tns_Gadgets;
  79. ˆ
  80. ˆ*BitMap_tns_CustomBitMap;
  81. „};
  82.  
  83. extern
  84. „CloseScreen(*Screen_tsc)void,
  85. „DisplayBeep(*Screen_tsc)void,
  86. „GetScreenData(*bytebuffer;ulongsize,typ;*Screen_tsc)bool,
  87. „MakeScreen(*Screen_tsc)void,
  88. „MoveScreen(*Screen_tsc;longdeltaX,deltaY)void,
  89. „OpenScreen(*NewScreen_tnewScreen)*Screen_t,
  90. „ScreenToBack(*Screen_tsc)void,
  91. „ScreenToFront(*Screen_tsc)void,
  92. „ShowTitle(*Screen_tsc;ulongshowIt)void;
  93.