frontierwindows.c File Reference

#include "frontier.h"
#include "standard.h"
#include "quickdraw.h"
#include "strings.h"
#include "threads.h"
#include "frontierwindows.h"
#include "shell.h"

Include dependency graph for frontierwindows.c:

Go to the source code of this file.

Functions

WindowPtr getnewwindow (short id, boolean fldialog, Rect *r)
void disposewindow (WindowPtr w)
void windowgettitle (WindowPtr w, bigstring bs)
void windowsettitle (WindowPtr w, bigstring bs)
void windowinval (WindowPtr w)
boolean graywindow (WindowPtr w)
void movewindow (WindowPtr w, short h, short v)
void movewindowhidden (WindowPtr w, short h, short v)
void sizewindow (WindowPtr w, short h, short v)
void sizewindowhidden (WindowPtr w, short h, short v)
void moveandsizewindow (WindowPtr w, Rect r)
WindowPtr getfrontwindow (void)
WindowPtr getnextwindow (WindowPtr w)
boolean windowbringtofront (WindowPtr w)
boolean windowsendtoback (WindowPtr w)
boolean getlocalwindowrect (WindowPtr w, Rect *r)
boolean getglobalwindowrect (WindowPtr w, Rect *r)
boolean windowsendbehind (WindowPtr w, WindowPtr wbehind)
boolean findmousewindow (Point globalpt, WindowPtr *w, short *part)
boolean windowsetcolor (WindowPtr w, long color, boolean flforeground)
boolean isdeskaccessorywindow (WindowPtr w)
void showwindow (WindowPtr w)
void hidewindow (WindowPtr w)
boolean windowvisible (WindowPtr w)
hdlregion getupdateregion (WindowPtr w)
hdlregion getvisregion (WindowPtr w)
void setwindowrefcon (WindowPtr w, long refcon)
long getwindowrefcon (WindowPtr w)


Function Documentation

void disposewindow WindowPtr  w  ) 
 

Definition at line 208 of file frontierwindows.c.

References grabthreadglobals(), hwndMDIClient, and releasethreadglobals().

Referenced by disposeshellwindow(), and newshellwindow().

Here is the call graph for this function:

boolean findmousewindow Point  globalpt,
WindowPtr w,
short part
 

Definition at line 622 of file frontierwindows.c.

References tyPoint::h, hwndMDIClient, nil, and tyPoint::v.

Referenced by shellhandlemouse().

WindowPtr getfrontwindow void   ) 
 

Definition at line 411 of file frontierwindows.c.

References hwndMDIClient.

Referenced by filemenufunctionvalue(), FrontierFrameWndProc(), frontshellwindow(), handlepopup(), hidewindow(), langdialogitemhit(), langfunctionvalue(), QueryCloseChild(), scriptdebugger(), scriptdebugtraperror(), shellactivatewindow(), shelladjustmenus(), shellhandleevent(), shellhandlemenu(), shellhandlemouse(), shellupdatewindowmenu(), shellvisitwindowlayer(), and windowsendbehind().

boolean getglobalwindowrect WindowPtr  w,
Rect r
 

Definition at line 551 of file frontierwindows.c.

References getlocalwindowrect(), localtoglobalrect(), and style.

Referenced by ccupdatewindowinfo(), constraintoscreenbounds(), getdefaultwindowrect(), mesavemenurecord(), mescriptwindowclosed(), newchildwindow(), opgetoutinesize(), shellgetglobalwindowrect(), shellsavewindowresource(), and shellzoomwindow().

Here is the call graph for this function:

boolean getlocalwindowrect WindowPtr  w,
Rect r
 

Definition at line 507 of file frontierwindows.c.

References nil, setrect(), and zerorect().

Referenced by getdesktopbounds(), getglobalwindowrect(), graywindow(), tableclienttitlepopuphit(), windowinval(), and windowresetrects().

Here is the call graph for this function:

WindowPtr getnewwindow short  id,
boolean  fldialog,
Rect r
 

Definition at line 88 of file frontierwindows.c.

References config, constraintodesktop(), constraintoscreenbounds(), tyconfigrecord::filetype, tyconfigrecord::flcolorwindow, grabthreadglobals(), havecolorquickdraw(), hInst, hwndMDIClient, movewindow(), nil, NULL, releasethreadglobals(), setrect(), sizewindow(), styleDefault, szChild1, szChildFTmb, szChildFTop, szChildFTsc, szChildFTtb, szChildFTwp, and szChildRoot.

Referenced by myMoof(), and newshellwindow().

Here is the call graph for this function:

WindowPtr getnextwindow WindowPtr  w  ) 
 

Definition at line 435 of file frontierwindows.c.

Referenced by frontshellwindow(), shellnextwindow(), windowsendtoback(), and zoomfilewindow().

hdlregion getupdateregion WindowPtr  w  ) 
 

Definition at line 772 of file frontierwindows.c.

References NewRgn, and rgn.

Referenced by shellupdatecontent(), and shellupdatenow().

hdlregion getvisregion WindowPtr  w  ) 
 

Definition at line 804 of file frontierwindows.c.

References assert, getport(), NewRgn, and rgn.

Here is the call graph for this function:

long getwindowrefcon WindowPtr  w  ) 
 

Definition at line 859 of file frontierwindows.c.

Referenced by getwindowinfo().

boolean graywindow WindowPtr  w  ) 
 

Definition at line 294 of file frontierwindows.c.

References getlocalwindowrect(), grayrect(), invalrect(), popport(), pushport(), and r.

Referenced by grayownedwindows(), graywindowvisit(), and prepuserforwait().

Here is the call graph for this function:

void hidewindow WindowPtr  w  ) 
 

Definition at line 707 of file frontierwindows.c.

References getfrontwindow(), grabthreadglobals(), hwndMDIClient, and releasethreadglobals().

Referenced by shellhidewindow(), zoomtoorigin(), and zoomwindowtocenter().

Here is the call graph for this function:

boolean isdeskaccessorywindow WindowPtr  w  ) 
 

Definition at line 672 of file frontierwindows.c.

Referenced by shellactivatewindow().

void moveandsizewindow WindowPtr  w,
Rect  r
 

Definition at line 403 of file frontierwindows.c.

References movewindow(), and sizewindow().

Referenced by aboutresizeafterfontchange(), aboutzoom(), and shellmoveandsizewindow().

Here is the call graph for this function:

void movewindow WindowPtr  w,
short  h,
short  v
 

Definition at line 321 of file frontierwindows.c.

References NULL.

Referenced by getnewwindow(), moveandsizewindow(), positiondialogwindow(), and shellmovewindow().

void movewindowhidden WindowPtr  w,
short  h,
short  v
 

Definition at line 339 of file frontierwindows.c.

References NULL.

Referenced by shellmovewindowhidden().

void setwindowrefcon WindowPtr  w,
long  refcon
 

Definition at line 843 of file frontierwindows.c.

Referenced by disposeshellwindow(), and newshellwindowinfo().

void showwindow WindowPtr  w  ) 
 

Definition at line 691 of file frontierwindows.c.

References grabthreadglobals(), and releasethreadglobals().

Referenced by myMoof(), and shellunhidewindow().

Here is the call graph for this function:

void sizewindow WindowPtr  w,
short  h,
short  v
 

Definition at line 357 of file frontierwindows.c.

References NULL.

Referenced by getnewwindow(), moveandsizewindow(), and shellsizewindow().

void sizewindowhidden WindowPtr  w,
short  h,
short  v
 

Definition at line 380 of file frontierwindows.c.

References NULL.

Referenced by shellsizewindowhidden().

boolean windowbringtofront WindowPtr  w  ) 
 

Definition at line 462 of file frontierwindows.c.

References nil, and shellwindowmenudirty().

Referenced by browseropenmainwindow(), dbstatsmessage(), FrontierFrameWndProc(), langdialogitemhit(), langrunmodeless(), mezoomscriptwindow(), scriptdebugger(), scriptdebugtraperror(), shellbringtofront(), shellhandlemouse(), windowsendtoback(), and zoomfilewindow().

Here is the call graph for this function:

void windowgettitle WindowPtr  w,
bigstring  bs
 

Definition at line 224 of file frontierwindows.c.

References convertcstring(), grabthreadglobals(), lenbigstring, and releasethreadglobals().

Referenced by tableclienttitlepopuphit().

Here is the call graph for this function:

void windowinval WindowPtr  w  ) 
 

Definition at line 269 of file frontierwindows.c.

References getlocalwindowrect(), invalwindowrect(), and r.

Referenced by aboutresizeafterfontchange(), cctoggleagentspopup(), cctoggleflag(), pictsetevaluate(), shelldefaultfontroutine(), shelldefaultsizeroutine(), shellopenfile(), and shellwindowinval().

Here is the call graph for this function:

boolean windowsendbehind WindowPtr  w,
WindowPtr  wbehind
 

Definition at line 580 of file frontierwindows.c.

References getfrontwindow(), nil, and shellwindowmenudirty().

Here is the call graph for this function:

boolean windowsendtoback WindowPtr  w  ) 
 

Definition at line 481 of file frontierwindows.c.

References getnextwindow(), nil, shellwindowmenudirty(), and windowbringtofront().

Referenced by sendtobackverb().

Here is the call graph for this function:

boolean windowsetcolor WindowPtr  w,
long  color,
boolean  flforeground
 

Definition at line 639 of file frontierwindows.c.

References nil, popport(), and pushport().

Referenced by mininewwindow().

Here is the call graph for this function:

void windowsettitle WindowPtr  w,
bigstring  bs
 

Definition at line 244 of file frontierwindows.c.

References bigstring, equalstrings(), grabthreadglobals(), releasethreadglobals(), and stringlength.

Referenced by shellsetwindowchanges(), and shellsetwindowtitle().

Here is the call graph for this function:

boolean windowvisible WindowPtr  w  ) 
 

Definition at line 756 of file frontierwindows.c.

Referenced by findtargetvisit(), and isvisibleverb().


Generated on Thu Jun 1 14:11:29 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6