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 >
Wrap
Text File
|
1989-04-03
|
2KB
|
93 lines
type
ViewPort_t=unknown40,
RastPort_t=unknown100,
BitMap_t=unknown40,
Layer_Info_t=unknown102;
type
Screen_t=struct{
*Screen_tsc_NextScreen;
*Window_tsc_FirstWindow;
uintsc_LeftEdge,sc_TopEdge;
uintsc_Width,sc_Height;
intsc_MouseY,sc_MouseX;
uintsc_Flags;
*charsc_Title;
*charsc_DefaultTitle;
ushortsc_BarHeight,sc_BarVBorder,sc_BarHBorder,
sc_MenuVBorder,sc_MenuHBorder;
ushortsc_WBorTop,sc_WBorLeft,sc_WBorRight,sc_WBorBottom;
*TextAttr_tsc_Font;
ViewPort_tsc_ViewPort;
RastPort_tsc_RastPort;
BitMap_tsc_BitMap;
Layer_Info_tsc_LayerInfo;
*Gadget_tsc_FirstGadget;
ushortsc_DetailPen,sc_BlockPen;
uintsc_SaveColor0;
*Layer_tsc_BarLayer;
*bytesc_ExtData;
*bytesc_UserData;
};
uint
SCREENTYPE=0x000F,
WBENCHSCREEN=0x0001,
CUSTOMSCREEN=0x000F,
SHOWTITLE=0x0010,
BEEPING=0x0020,
CUSTOMBITMAP=0x0040,
SCREENBEHIND=0x0080,
SCREENQUIET =0x0100;
uint
STDSCREENHEIGHT=65535;
type
NewScreen_t=struct{
uintns_LeftEdge,ns_TopEdge,ns_Width,ns_Height,ns_Depth;
ushortns_DetailPen,ns_BlockPen;
uintns_ViewModes;
uintns_Type;
*TextAttr_tns_Font;
*charns_DefaultTitle;
*Gadget_tns_Gadgets;
*BitMap_tns_CustomBitMap;
};
extern
CloseScreen(*Screen_tsc)void,
DisplayBeep(*Screen_tsc)void,
GetScreenData(*bytebuffer;ulongsize,typ;*Screen_tsc)bool,
MakeScreen(*Screen_tsc)void,
MoveScreen(*Screen_tsc;longdeltaX,deltaY)void,
OpenScreen(*NewScreen_tnewScreen)*Screen_t,
ScreenToBack(*Screen_tsc)void,
ScreenToFront(*Screen_tsc)void,
ShowTitle(*Screen_tsc;ulongshowIt)void;