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
/
window.g
< prev
Wrap
Text File
|
1989-04-03
|
3KB
|
149 lines
type
Window_t=struct{
*Window_tw_NextWindow;
uintw_LeftEdge,w_TopEdge;
uintw_Width,w_Height;
intw_MouseY,w_MouseX;
uintw_MinWidth,w_MinHeight;
uintw_MaxWidth,w_MaxHeight;
ulongw_Flags;
*Menu_tw_MenuStrip;
*charw_Title;
*Requester_tw_FirstRequest;
*Requester_tw_DMRequest;
uintw_ReqCount;
*Screen_tw_WScreen;
*RastPort_tw_RPort;
ushortw_BorderLeft,w_BorderTop,w_BorderRight,w_BorderBottom;
*RastPort_tw_BorderRPort;
*Gadget_tw_FirstGadget;
*Window_tw_Parent,w_Descendant;
*uintw_Pointer;
ushortw_PtrHeight,w_PtrWidth;
shortw_XOffset,w_YOffset;
ulongw_IDCMPFlags;
*MsgPort_tw_UserPort,w_WindowPort;
*IntuiMessage_tw_MessageKey;
ushortw_DetailPen,w_BlockPen;
*Image_tw_CheckMark;
*charw_ScreenTitle;
intw_GZZMouseX,w_GZZMouseY;
uintw_GZZWidth,w_GZZHeight;
*bytew_ExtData;
*bytew_UserData;
*Layer_tw_WLayer;
*TextFont_tw_IFont;
};
ulong
WINDOWSIZING=0x00000001,
WINDOWDRAG=0x00000002,
WINDOWDEPTH =0x00000004,
WINDOWCLOSE =0x00000008,
SIZEBRIGHT=0x00000010,
SIZEBBOTTOM =0x00000020,
REFRESHBITS =0x000000C0,
SMART_REFRESH=0x00000000,
SIMPLE_REFRESH=0x00000040,
SUPER_BITMAP=0x00000080,
OTHER_REFRESH=0x000000C0,
BACKDROP=0x00000100,
REPORTMOUSE =0x00000200,
GIMMEZEROZERO=0x00000400,
BORDERLESS=0x00000800,
ACTIVATE=0x00001000,
WINDOWACTIVE=0x00002000,
INREQUEST=0x00004000,
MENUSTATE=0x00008000,
RMBTRAP=0x00010000,
NOCAREREFRESH=0x00020000,
WINDOWREFRESH=0x01000000,
WBENCHWINDOW=0x02000000,
WINDOWTICKED=0x04000000,
SUPER_UNUSED=0xF8FC0000;
type
NewWindow_t=struct{
uintnw_LeftEdge,nw_TopEdge;
uintnw_Width,nw_Height;
ushortnw_DetailPen,nw_BlockPen;
ulongnw_IDCMPFlags;
ulongnw_Flags;
*Gadget_tnw_FirstGadget;
*Image_tnw_CheckMark;
*charnw_Title;
*Screen_tnw_Screen;
*BitMap_tnw_BitMap;
uintnw_MinWidth,nw_MinHeight;
uintnw_MaxWidth,nw_MaxHeight;
uintnw_Type;
};
uint
FREESIZE=0xffff;
ushort
FREEPEN=0xff;
extern
ActivateWindow(*Window_tw)void,
BeginRefresh(*Window_tw)void,
ClearPointer(*Window_tw)void,
CloseWindow(*Window_tw)void,
EndRefresh(*Window_tw;ulongcomplete)void,
ModifyIDCMP(*Window_tw;ulongIDCMPFlags)void,
MoveWindow(*Window_tw;longdeltaX,deltaY)void,
OpenWindow(*NewWindow_tnw)*Window_t,
RefreshWindowFrame(*Window_tw)void,
ReportMouse(ulongvalue;*Window_tw)void,
SetPointer(*Window_tw;*uintpointer;
ulongheight,width;longXOffset,YOffset)void,
SetWindowTitles(*Window_tw;*charwindowTitle,screenTitle)void,
SizeWindow(*Window_tw;longdeltaX,deltaY)void,
ViewPortAddress(*Window_tw)*ViewPort_t,
WindowLimits(*Window_tw;ulongminWidth,minHeight,maxWidth,maxHeight)bool,
WindowToBack(*Window_tw)void,
WindowToFront(*Window_tw)void;