
#define windowsinclude


/*prototypes*/

extern WindowPtr getnewwindow (short, boolean, Rect *);

extern void disposewindow (WindowPtr);
	
extern void windowsettitle (WindowPtr, bigstring);

extern void windowgettitle (WindowPtr, bigstring);

extern void windowinval (WindowPtr);

extern boolean graywindow (WindowPtr);

extern boolean windowbringtofront (WindowPtr);

extern boolean windowsendtoback (WindowPtr);

extern boolean windowsendbehind (WindowPtr, WindowPtr);

extern boolean getlocalwindowrect (WindowPtr, Rect *);

extern boolean getglobalwindowrect (WindowPtr, Rect *);

extern void movewindow (WindowPtr, short, short);

extern void movewindowhidden (WindowPtr, short, short);

extern void sizewindow (WindowPtr, short, short);

extern void sizewindowhidden (WindowPtr, short, short);

extern void moveandsizewindow (WindowPtr, Rect);

extern WindowPtr getnextwindow (WindowPtr w);

extern WindowPtr getfrontwindow (void);

extern boolean findmousewindow (Point, WindowPtr *, short *);

extern boolean windowsetcolor (WindowPtr, long, boolean);

extern boolean isdeskaccessorywindow (WindowPtr);

extern void showwindow (WindowPtr);

extern void hidewindow (WindowPtr);

extern boolean windowvisible (WindowPtr);

extern hdlregion getupdateregion (WindowPtr);

extern hdlregion getvisregion (WindowPtr);

extern void setwindowrefcon (WindowPtr, long);

extern long getwindowrefcon (WindowPtr);

