quickdraw.h File Reference

#include "shelltypes.h"

Include dependency graph for quickdraw.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define quickdrawinclude
#define blackindex   0
#define whiteindex   1
#define lighterblueindex   2
#define lightblueindex   2
#define flushwindowbuffer(w)
#define centerstring(r, bs)   centerbuttonstring (&r, bs, false)

Functions

short getmenubarheight (void)
boolean pushpen (void)
boolean poppen (void)
void getpenpoint (Point *)
boolean equalpoints (Point, Point)
short pointdist (Point, Point)
void movepento (short, short)
void pendrawline (short, short)
void pendrawstring (bigstring)
void graydrawstring (bigstring)
short stringpixels (bigstring)
void setport (GrafPtr)
GrafPtr getport (void)
boolean pushport (CGrafPtr)
boolean popport (void)
boolean pushscratchport (void)
boolean pushcliprgn (hdlregion, boolean)
boolean pushclip (Rect)
boolean superpushclip (Rect)
boolean pushvalidrgnclip (void)
boolean pushemptyclip (void)
boolean popclip (void)
boolean pushstyle (short, short, short)
boolean popstyle (void)
boolean pushforecolor (const RGBColor *)
boolean popforecolor (void)
boolean pushbackcolor (const RGBColor *)
boolean popbackcolor (void)
boolean pushcolors (const RGBColor *, const RGBColor *)
boolean popcolors (void)
void centerrect (Rect *, Rect)
void centerrectondesktop (Rect *)
void centerbuttonstring (const Rect *, bigstring, boolean)
void grayrect (Rect)
void evenrectangle (Rect *)
void oddrectangle (Rect *)
void zerorect (Rect *)
boolean equalrects (Rect, Rect)
boolean issubrect (Rect, Rect)
void cyclecolor (long *)
void globaltolocalrgn (hdlregion)
void localtoglobalrect (WindowPtr, Rect *)
void globaltolocalpoint (WindowPtr, Point *)
void localtoglobalpoint (WindowPtr, Point *)
void flashrect (Rect, short)
void dropshadowrect (Rect, short, boolean)
void smashrect (Rect)
void invalrect (Rect)
void invalwindowrect (WindowPtr, Rect)
void validrect (Rect)
void eraserect (Rect)
void framerect (Rect)
void setgraypen (void)
void setthemepen (const short brush, Rect r, boolean flupdate)
void graydrawline (short, short)
void grayframerrgn (hdlregion rgn)
void grayframerect (Rect)
void fillrect (Rect, xppattern)
void paintrect (Rect)
void frame3sides (Rect)
void eraseandframerect (Rect)
void invertrect (Rect)
void setrect (Rect *, short, short, short, short)
void insetrect (Rect *, short, short)
void offsetrect (Rect *, short, short)
boolean pointinrect (Point, Rect)
boolean rectinregion (Rect, hdlregion)
void scrollrect (Rect, short, short)
void scrollrectvert (Rect, short)
void scrollrecthoriz (Rect, short)
void unionrect (Rect, Rect, Rect *)
boolean intersectrect (Rect, Rect, Rect *)
void getdesktopbounds (Rect *)
void getwindowscreenbounds (const Rect *, Rect *)
boolean constraintodesktop (WindowPtr, Rect *)
boolean constraintoscreenbounds (WindowPtr, boolean, Rect *)
boolean pushdesktopport (CGrafPtr)
void popdesktopport (CGrafPtr)
boolean havecolorquickdraw (void)
void getmainscreenrect (Rect *)
void getsystemoriginrect (Rect *)
void getcurrentscreenbounds (Rect *)
boolean systemhascolor (void)
boolean colorenabled (void)
short iscolorport (CGrafPtr)
void fillcolorrect (Rect, short)
void diskrecttorect (diskrect *rdisk, Rect *r)
void recttodiskrect (Rect *r, diskrect *rdisk)
void diskrgbtorgb (diskrgb *rgbdisk, RGBColor *r)
void rgbtodiskrgb (RGBColor *r, diskrgb *rgbdisk)
void drawthemeborder (Rect r, Rect rcontent)
void initquickdraw (void)

Variables

RGBColor blackcolor
RGBColor whitecolor
RGBColor lightbluecolor
RGBColor lightgraycolor
RGBColor graycolor
RGBColor darkgraycolor
RGBColor lightyellowcolor
RGBColor lightgreencolor
RGBColor lightpurplecolor
RGBColor lightredcolor
RGBColor darkredcolor
RGBColor darkbluecolor
RGBColor darkgreencolor
RGBColor mediumgraycolor
RGBColor darkpurplecolor


Define Documentation

#define blackindex   0
 

Definition at line 41 of file quickdraw.h.

#define centerstring r,
bs   )     centerbuttonstring (&r, bs, false)
 

Definition at line 149 of file quickdraw.h.

Referenced by appdrawmessage(), drawlabeledicon(), drawlabeledwindoidicon(), drawwindowmessage(), minidrawmsg(), and scriptupdateserverpopup().

#define flushwindowbuffer  ) 
 

Definition at line 65 of file quickdraw.h.

#define lightblueindex   2
 

Definition at line 44 of file quickdraw.h.

#define lighterblueindex   2
 

Definition at line 43 of file quickdraw.h.

#define quickdrawinclude
 

Definition at line 29 of file quickdraw.h.

#define whiteindex   1
 

Definition at line 42 of file quickdraw.h.


Function Documentation

void centerbuttonstring const Rect ,
bigstring  ,
boolean 
 

Definition at line 1283 of file quickdraw.c.

References tyFontInfo::ascent, tyFontInfo::descent, Drawstring(), ellipsize(), globalfontinfo, h, movepento(), popclip(), pushclip(), stringpixels(), and v.

Referenced by shelldrawbutton().

Here is the call graph for this function:

void centerrect Rect ,
Rect 
 

Definition at line 1056 of file quickdraw.c.

Referenced by centerrectondesktop(), claygeticonrect(), constraintorect(), drawlabeledicon(), medisplayscriptbutton(), opdefaultgeticonrect(), resetclonerect(), shellgetwindowcenter(), and tablegeticonrect().

void centerrectondesktop Rect  ) 
 

Definition at line 1273 of file quickdraw.c.

References centerrect(), and getcurrentscreenbounds().

Referenced by loadconfigresource(), myMoof(), and pictgetnewwindowrect().

Here is the call graph for this function:

boolean colorenabled void   ) 
 

Definition at line 2777 of file quickdraw.c.

Referenced by drawbuttonbackground(), drawgrid(), popbackcolor(), popforecolor(), pushbackcolor(), and pushforecolor().

boolean constraintodesktop WindowPtr  ,
Rect
 

Definition at line 2570 of file quickdraw.c.

Referenced by constrainwindowrect(), getnewwindow(), moveappwindow(), and zoomappwindow().

boolean constraintoscreenbounds WindowPtr  ,
boolean  ,
Rect
 

Definition at line 2592 of file quickdraw.c.

References accountfortitlebar(), constraintorect(), getglobalwindowrect(), getwindowscreenbounds(), and r.

Referenced by constrainwindowrect(), getnewwindow(), and shellzoomwindow().

Here is the call graph for this function:

void cyclecolor long  ) 
 

void diskrecttorect diskrect rdisk,
Rect r
 

Definition at line 2972 of file quickdraw.c.

References diskrect::bottom, diskrect::left, diskrect::right, and diskrect::top.

Referenced by cccopywindowinfo(), ccgetwindowrect(), hashunpacktable(), langunpackvalue(), mesetupmenurecord(), opunpackversion2(), pictunpack(), tableunpackversion1formats(), unpackwordsolutionenginefile(), and wpunpack().

void diskrgbtorgb diskrgb rgbdisk,
RGBColor r
 

Definition at line 3008 of file quickdraw.c.

References r.

Referenced by hashunpacktable(), and langunpackvalue().

void drawthemeborder Rect  r,
Rect  rcontent
 

Definition at line 1870 of file quickdraw.c.

References paintrect(), poppen(), pushpen(), and setthemepen().

Referenced by langerroractivate(), langerrorupdate(), and miniresize().

Here is the call graph for this function:

void dropshadowrect Rect  ,
short  ,
boolean 
 

Definition at line 1619 of file quickdraw.c.

Referenced by claypredrawline(), drawobject(), and shelldrawbutton().

boolean equalpoints Point  ,
Point 
 

Definition at line 902 of file quickdraw.c.

Referenced by opupdatehotspot(), and shelladjustcursor().

boolean equalrects Rect  ,
Rect 
 

Definition at line 1422 of file quickdraw.c.

Referenced by cccopywindowinfo(), constraintorect(), editsetscrollvalues(), iowasetpictrect(), issubrect(), menucheckwindowrect(), opverbcheckwindowrect(), pictverbcheckwindowrect(), shellzoomwindow(), wpverbcheckwindowrect(), and zoomappwindow().

void eraseandframerect Rect   ) 
 

Definition at line 2164 of file quickdraw.c.

References eraserect(), and framerect().

Referenced by shelldrawbutton().

Here is the call graph for this function:

void eraserect Rect   ) 
 

Definition at line 1794 of file quickdraw.c.

Referenced by aboutsetmiscstring(), aboutupdate(), appdrawmessage(), browserresize(), ccdrawagentpopup(), ccdrawmainwindowtext(), ccdrawmsg(), cceraseagentpopup(), claydrawtext(), claypredrawline(), drawbuttonbackground(), drawpopup(), drawwindowmessage(), editupdate(), eraseandframerect(), invalforgrow(), langerrorupdate(), meupdate(), minidrawmsg(), minidrawtextitems(), opdefaultpredrawline(), operaserect(), opupdate(), pictupdate(), ploticoncustom(), ploticonresource(), scriptsetdata(), scriptupdateserverpopup(), shelldefaultfontroutine(), shelldefaultsizeroutine(), shelldrawgrowicon(), shellerasegrowicon(), shellzoomwindow(), smashrect(), statsupdate(), tabledisplaytitle(), tabledrawzoombutton(), tablepredrawline(), tableupdategridlines(), and wpupdate().

void evenrectangle Rect  ) 
 

void fillcolorrect Rect  ,
short 
 

Definition at line 2823 of file quickdraw.c.

References hInst, and recttowinrect().

Referenced by drawbuttonbackground().

Here is the call graph for this function:

void fillrect Rect  ,
xppattern 
 

Definition at line 2058 of file quickdraw.c.

References qdfillrect, and recttowinrect().

Referenced by drawbuttonbackground(), and dropshadowrect().

Here is the call graph for this function:

void flashrect Rect  ,
short 
 

Definition at line 1591 of file quickdraw.c.

References ct, delayticks(), i, invertrect(), and pushclip().

Here is the call graph for this function:

void frame3sides Rect   ) 
 

Definition at line 2079 of file quickdraw.c.

References maxdepth, movepento(), paintrect(), pendrawline(), poppen(), pushpen(), setthemepen(), shellgetwindowrect(), and shellwindowinfo.

Referenced by meupdate(), and tableupdategridlines().

Here is the call graph for this function:

void framerect Rect   ) 
 

Definition at line 1820 of file quickdraw.c.

References darkgraycolor, isemptyrect, lightgraycolor, movepento(), pendrawline(), popforecolor(), pushforecolor(), and recttowinrect().

Referenced by claypredrawline(), drawpopup(), drawwindowmessage(), eraseandframerect(), langerrorframetext(), minidrawmsg(), minidrawtextitems(), opupdate(), scriptupdateserverpopup(), shelldrawgrowicon(), and zoomrect().

Here is the call graph for this function:

void getcurrentscreenbounds Rect  ) 
 

Definition at line 1097 of file quickdraw.c.

References getdesktopbounds(), getmenubarheight(), havecolorquickdraw(), nil, pointinrect(), popport(), and pushport().

Referenced by centerrectondesktop(), getmainscreenrect(), getsystemoriginrect(), and positiondialogwindow().

Here is the call graph for this function:

void getdesktopbounds Rect  ) 
 

Definition at line 2404 of file quickdraw.c.

References getlocalwindowrect(), getstatusbarheight(), localtoglobalrect(), and shellframewindow.

Referenced by constraintodesktop(), getcurrentscreenbounds(), and getwindowscreenbounds().

Here is the call graph for this function:

void getmainscreenrect Rect  ) 
 

Definition at line 2691 of file quickdraw.c.

References getcurrentscreenbounds().

Here is the call graph for this function:

short getmenubarheight void   ) 
 

Definition at line 250 of file quickdraw.c.

Referenced by centerwindow(), getcurrentscreenbounds(), and handledrag().

void getpenpoint Point  ) 
 

Definition at line 888 of file quickdraw.c.

References pt.

GrafPtr getport void   ) 
 

Definition at line 261 of file quickdraw.c.

Referenced by displaypopupicon(), drawpopup(), FrontierOPWndProc(), getmousepoint(), getvisregion(), iscurrentportprintport(), newshellwindow(), pictdepatcher(), pictupdatepatcher(), popport(), pushport(), shellsetglobals(), shellupdatecontent(), tabledisplaytitle(), and wpnewpg().

void getsystemoriginrect Rect  ) 
 

Definition at line 2706 of file quickdraw.c.

References getcurrentscreenbounds(), h, v, and winrecttorect().

Referenced by newaboutwindow().

Here is the call graph for this function:

void getwindowscreenbounds const Rect ,
Rect
 

Definition at line 1181 of file quickdraw.c.

References abs, getdesktopbounds(), and nil.

Referenced by constraintoscreenbounds(), and opgetoutinesize().

Here is the call graph for this function:

void globaltolocalpoint WindowPtr  ,
Point
 

Definition at line 1511 of file quickdraw.c.

Referenced by handlecontent(), runmodecontentclick(), shellhandlemouse(), and tableclienttitlepopuphit().

void globaltolocalrgn hdlregion   ) 
 

Definition at line 1447 of file quickdraw.c.

References pt.

Referenced by pushvalidrgnclip(), and shellupdatecontent().

void graydrawline short  ,
short 
 

Definition at line 1957 of file quickdraw.c.

References poppen(), pushpen(), and setgraypen().

Referenced by tableadjustcolwidth().

Here is the call graph for this function:

void graydrawstring bigstring   ) 
 

Definition at line 1020 of file quickdraw.c.

References Drawstring().

Here is the call graph for this function:

void grayframerect Rect   ) 
 

Definition at line 1996 of file quickdraw.c.

References poppen(), pushpen(), recttowinrect(), and setgraypen().

Referenced by claydrawtext(), medisplayscriptbutton(), medrawseparatorline(), opdefaultdrawtext(), and tabledrawcell().

Here is the call graph for this function:

void grayframerrgn hdlregion  rgn  ) 
 

Definition at line 2022 of file quickdraw.c.

References poppen(), pushpen(), and setgraypen().

Referenced by wpframeselection().

Here is the call graph for this function:

void grayrect Rect   ) 
 

Definition at line 1327 of file quickdraw.c.

Referenced by disabledialogitem(), and graywindow().

boolean havecolorquickdraw void   ) 
 

Definition at line 1083 of file quickdraw.c.

References gHasColorQD.

Referenced by getcurrentscreenbounds(), and getnewwindow().

void initquickdraw void   ) 
 

Definition at line 2921 of file quickdraw.c.

References assert, clipstack, ctclip, and NewRgn.

Referenced by shellinit().

void insetrect Rect ,
short  ,
short 
 

Definition at line 2203 of file quickdraw.c.

Referenced by aboutresetrects(), aboutupdate(), boldenbutton(), browserresetrects(), browserresize(), ccupdateagentpopup(), claydrawtext(), drawpopup(), drawwindowmessage(), gettextdisplayinfo(), langerrordrawtext(), meresetwindowrects(), meresize(), mesetalloutlinerects(), meupdate(), minidrawmsg(), miniloadstrings(), miniresizetextrects(), myMoof(), opeditcango(), opgetoutinesize(), oppointlevel(), opresize(), opupdate(), popupmenuhit(), scriptupdateserverpopup(), shelldrawgrowicon(), shellresetwindowrects(), shellupdatecontent(), shellzoomwindow(), tablepredrawline(), tableresetformatsrects(), tablesetextrainfo(), tabletitleclick(), tabletitleclickcallback(), tableupdategridlines(), tableverbresetrects(), tableverbresize(), wplinkwindowinfo(), and zoomport().

boolean intersectrect Rect  ,
Rect  ,
Rect
 

Definition at line 2376 of file quickdraw.c.

References recttowinrect(), and winrecttorect().

Referenced by opeditdrawtext(), opgettextbufferrect(), oploadeditbuffer(), oppushclip(), opseteditbufferrect(), and pictupdate().

Here is the call graph for this function:

void invalrect Rect   ) 
 

Definition at line 1730 of file quickdraw.c.

Referenced by graywindow(), hidescrollbar(), invalappwindow(), invalforgrow(), invalscrollbar(), invalwindowrect(), opexpand(), opinvaldisplay(), oplineinval(), oprangeinval(), resizeappscrollbars(), scriptsetdata(), smashrect(), tableiconhitcallback(), and wpinserthandle().

void invalwindowrect WindowPtr  ,
Rect 
 

Definition at line 1758 of file quickdraw.c.

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

Referenced by miniinvalicon(), scriptinvalbuttonsvisit(), shellinvalbuttons(), and windowinval().

Here is the call graph for this function:

void invertrect Rect   ) 
 

Definition at line 2172 of file quickdraw.c.

References recttowinrect().

Referenced by drawlabeledicon(), flashrect(), medrawseparatorline(), minidrawmsg(), opdefaultdrawtext(), opdrawicon(), plotsmallicon(), tabledrawcell(), and tableinverttitle().

Here is the call graph for this function:

short iscolorport CGrafPtr   ) 
 

Definition at line 2805 of file quickdraw.c.

Referenced by drawgrid(), and pictupdatepatcher().

boolean issubrect Rect  ,
Rect 
 

Definition at line 1431 of file quickdraw.c.

References equalrects(), and unionrect().

Referenced by getdefaultwindowrect().

Here is the call graph for this function:

void localtoglobalpoint WindowPtr  ,
Point
 

Definition at line 1548 of file quickdraw.c.

Referenced by handlepopup(), and tableclienttitlepopuphit().

void localtoglobalrect WindowPtr  ,
Rect
 

Definition at line 1460 of file quickdraw.c.

Referenced by appgetdesktoprect(), appsavedialoginfo(), calcgrow(), getdesktopbounds(), getglobalwindowrect(), getwindowposverb(), localtoscreenrect(), mezoomdownwindow(), mezoomscriptwindow(), openworld(), replaceexistingdialog(), tablezoomfromhead(), zoomport(), and zoomsetdefaultrect().

void movepento short  ,
short 
 

Definition at line 919 of file quickdraw.c.

Referenced by aboutsetmiscstring(), aboutupdate(), ccdrawabout(), ccdrawmainwindowtext(), ccdrawmsg(), centerbuttonstring(), claydrawtext(), claypostdrawline(), drawabout(), drawline(), drawpopup(), frame3sides(), frameedittextrect(), framerect(), medrawseparatorline(), opdefaultdrawtext(), shelldrawbuttons(), statsline(), tableadjustcolwidth(), tableprepfordraw(), and tableupdategridlines().

void oddrectangle Rect  ) 
 

void offsetrect Rect ,
short  ,
short 
 

Definition at line 2219 of file quickdraw.c.

References recttowinrect(), and winrecttorect().

Referenced by claygeticonrect(), claygettextrect(), constraintorect(), getdefaultwindowrect(), localtoglobalrect(), localtoscreenrect(), medisplayscriptbutton(), newchildwindow(), pictprint(), pictupdate(), shellcalcgrowiconrect(), shelldrawbutton(), shellmovewindow(), shellmovewindowhidden(), and wpnewrecord().

Here is the call graph for this function:

void paintrect Rect   ) 
 

Referenced by drawthemeborder(), frame3sides(), frameedittextrect(), and tabledisplaytitle().

void pendrawline short  ,
short 
 

Definition at line 937 of file quickdraw.c.

Referenced by aboutupdate(), drawpopup(), frame3sides(), frameedittextrect(), framerect(), medrawseparatorline(), shelldrawbuttons(), and tableupdategridlines().

void pendrawstring bigstring   ) 
 

Definition at line 1004 of file quickdraw.c.

References Drawstring().

Referenced by aboutsetmiscstring(), ccdrawabout(), ccdrawmainwindowtext(), ccdrawmsg(), claydrawtext(), claypostdrawline(), drawabout(), drawline(), drawpopup(), opdefaultdrawtext(), statsline(), tabledefaultdrawcell(), tabledisplaytitle(), tabledrawcellcallback(), and tabledrawtitlecallback().

Here is the call graph for this function:

short pointdist Point  ,
Point 
 

Definition at line 913 of file quickdraw.c.

Referenced by mousecheckdoubleclick(), mousedoubleclick(), opisdraggingmove(), and opupdatehotspot().

boolean pointinrect Point  ,
Rect 
 

Definition at line 2235 of file quickdraw.c.

Referenced by aboutmousedown(), adjustpopupcursor(), getcurrentscreenbounds(), langerroradjustcursor(), langerrormousedown(), meadjustcursor(), memousedown(), minifindpopup(), minifindtextobject(), minimousedown(), mousetrack(), opdefaultadjustcursor(), opdraggingmove(), opmousedown(), oppointlevel(), oppointnode(), oprmousedown(), pointinscrollbar(), ptinuseritem(), scriptmousedown(), shelladjustcursor(), shellbuttonhit(), shellhandlemouse(), tableadjustcolwidth(), tableclienttitlepopuphit(), tabletitleclick(), tabletitleclickcallback(), tableverbadjustcursor(), tableverbmousedown(), and wpclick().

boolean popbackcolor void   ) 
 

Definition at line 802 of file quickdraw.c.

Referenced by claydrawtext(), claypredrawline(), closeworld(), drawbackground(), drawobject(), drawpopup(), icontracker(), initIOAcallbacks(), langerrorupdate(), meupdate(), opdefaultpredrawline(), opdrawarrowicon(), operasedisplay(), operaserect(), opscrollrect(), paletteupdate(), popcolors(), runmodedrawbackground(), shelldrawbutton(), tableupdategridlines(), voidrect(), and wpupdate().

boolean popclip void   ) 
 

Definition at line 584 of file quickdraw.c.

Referenced by aboutsetmiscstring(), appdefaultscroll(), appdrawmessage(), apperaserect(), apppopclip(), apppostcallback(), buttontracker(), ccdrawmsg(), centerbuttonstring(), centerstring(), disablescrollbar(), drawappgrowicon(), drawscrollbar(), drawwindowmessage(), editclick(), ellipsize(), enablescrollbar(), erasewindow(), handlecontent(), handlescrollbar(), hidescrollbar(), invalforgrow(), opdrawicon(), opdrawline(), pictupdate(), runmodecheckupdate(), scriptinvalbuttonsvisit(), scriptsetdata(), setscrollbarcurrent(), setscrollbarinfo(), shellactivatewindow(), shelldrawgrowicon(), shellupdatecontent(), shellupdatewindow(), showscrollbar(), tabledrawcell(), updateappwindow(), wpactivate(), and wpscroll().

boolean popcolors void   ) 
 

Definition at line 835 of file quickdraw.c.

Referenced by opdocursor(), opdrawicon(), opupdate(), and popobjectstyle().

void popdesktopport CGrafPtr   ) 
 

Referenced by tableclienttitlepopuphit().

boolean popforecolor void   ) 
 

Definition at line 735 of file quickdraw.c.

Referenced by appdrawmessage(), ccdrawurlitem(), claydrawline(), claydrawtext(), claypostdrawline(), claypredrawline(), closeworld(), drawgrid(), drawobject(), drawurlitem(), frameitem(), framerect(), initIOAcallbacks(), popcolors(), and voidrect().

boolean poppen void   ) 
 

Definition at line 861 of file quickdraw.c.

Referenced by aboutupdate(), drawborder(), drawgrid(), drawthemeborder(), frame3sides(), frameedittextrect(), frameitem(), graydrawline(), grayframerect(), grayframerrgn(), grayrect(), langerrorframetext(), medrawseparatorline(), popforecolor(), showinvisiblesvisit(), and tabledisplaytitle().

boolean popport void   ) 
 

Definition at line 349 of file quickdraw.c.

References BIGSTRING, getport(), globalfontinfo, idportstackempty, nil, portstack, setport(), shellinternalerror, and topport.

Referenced by aboutsetmiscstring(), boldenbutton(), browsernewwindow(), drawwindowmessage(), getcurrentscreenbounds(), getmousewindowpos(), globaltolocalpoint(), graywindow(), invalwindowrect(), langfunctionvalue(), localtoglobalpoint(), localtoglobalrect(), mescriptwindowclosed(), mezoomdownwindow(), newchildwindow(), newfilewindow(), opunpackversion2(), popmacport(), shellcopyprintinfo(), shelldrawgrowicon(), shellinvalcontent(), shellsetselectioninfo(), shellupdatewindow(), tableunpacktable(), windowsetcolor(), wpnewrecord(), wppopdraw(), zoomwindowfrom(), and zoomwindowto().

Here is the call graph for this function:

boolean popstyle void   ) 
 

Definition at line 632 of file quickdraw.c.

Referenced by appdrawmessage(), ccdrawmsg(), ccgetneededheight(), claydrawline(), claypostdrawline(), dialogsetfontsize(), drawlabeledicon(), drawlabeledwindoidicon(), drawline(), drawpopup(), drawwindowmessage(), editsetfont(), edittextbox(), edittwostringbox(), gettextdisplayinfo(), minidrawmsg(), opdocursor(), opeditdrawtext(), opeditmeasuretext(), oploadeditbuffer(), opmeasuretext(), opprint(), opsetdisplaydefaults(), opunpackversion2(), opupdate(), popobjectstyle(), popupclick(), scriptupdateserverpopup(), setcomputedfields(), shelldrawbutton(), shellzoomwindow(), statsupdate(), tabledisplaytitle(), tablegetoutlinesize(), tabletitleclick(), wpnewrecord(), and zoomappwindow().

boolean pushbackcolor const RGBColor  ) 
 

Definition at line 761 of file quickdraw.c.

Referenced by claydrawtext(), claypredrawline(), closeworld(), drawbackground(), drawobject(), drawpopup(), icontracker(), initIOAcallbacks(), langerrorupdate(), meupdate(), minidrawtextitems(), opdefaultpredrawline(), opdrawarrowicon(), operasedisplay(), operaserect(), opscrollrect(), paletteupdate(), pushcolors(), runmodedrawbackground(), shelldrawbutton(), tableupdategridlines(), voidrect(), and wpupdate().

boolean pushclip Rect   ) 
 

Definition at line 451 of file quickdraw.c.

Referenced by aboutsetmiscstring(), appdrawmessage(), apperaserect(), appprecallback(), apppushclip(), buttontracker(), ccdrawmsg(), centerbuttonstring(), centerstring(), drawappgrowicon(), drawwindowmessage(), editclick(), erasewindow(), flashrect(), handlecontent(), invalforgrow(), oppushclip(), pictupdate(), pushemptyclip(), runmodecheckupdate(), scriptinvalbuttonsvisit(), scrollbarpushclip(), shellactivatewindow(), shelldrawgrowicon(), tabledrawcell(), updateappwindow(), and wpscroll().

boolean pushcliprgn hdlregion  ,
boolean 
 

Definition at line 412 of file quickdraw.c.

References BIGSTRING, checkdepth, clipstack, ctclip, idregionstackfull, rgn, SectRgn, shellinternalerror, and topclip.

Referenced by pushclip(), pushemptyclip(), pushvalidrgnclip(), shellupdatecontent(), and shellupdatewindow().

boolean pushcolors const RGBColor ,
const RGBColor
 

Definition at line 827 of file quickdraw.c.

Referenced by oppushcolors(), and pushobjectstyle().

boolean pushdesktopport CGrafPtr   ) 
 

Referenced by tableclienttitlepopuphit(), and zoomrect().

boolean pushemptyclip void   ) 
 

Definition at line 560 of file quickdraw.c.

Referenced by ellipsize(), scriptsetdata(), and setscrollbarinfo().

boolean pushforecolor const RGBColor  ) 
 

Definition at line 695 of file quickdraw.c.

Referenced by appdrawmessage(), ccdrawurlitem(), claydrawline(), claydrawtext(), claypostdrawline(), claypredrawline(), closeworld(), drawcolorpopup(), drawobject(), drawurlitem(), frameitem(), framerect(), initIOAcallbacks(), pushcolors(), pushgridcolor(), pushhighlightcolor(), and voidrect().

boolean pushpen void   ) 
 

Definition at line 842 of file quickdraw.c.

Referenced by aboutupdate(), drawborder(), drawgrid(), drawthemeborder(), dropshadowrect(), frame3sides(), frameedittextrect(), frameitem(), graydrawline(), grayframerect(), grayframerrgn(), grayrect(), langerrorframetext(), medrawseparatorline(), showinvisiblesvisit(), tabledisplaytitle(), tableupdategridlines(), and zoomrect().

boolean pushport CGrafPtr   ) 
 

Definition at line 312 of file quickdraw.c.

References BIGSTRING, checkdepth, ctports, getport(), globalfontinfo, nil, portstack, setport(), shellinternalerror, and topport.

Referenced by aboutsetmiscstring(), boldenbutton(), drawwindowmessage(), getcurrentscreenbounds(), getmousewindowpos(), globaltolocalpoint(), graywindow(), invalwindowrect(), langfunctionvalue(), localtoglobalpoint(), localtoglobalrect(), mescriptwindowclosed(), mezoomdownwindow(), myMoof(), newchildwindow(), newfilewindow(), pushmacport(), pushscratchport(), shellcopyprintinfo(), shelldrawgrowicon(), shellinvalcontent(), shellsetselectioninfo(), shellupdatewindow(), windowsetcolor(), wppushdraw(), zoomwindowfrom(), and zoomwindowto().

Here is the call graph for this function:

boolean pushscratchport void   ) 
 

Definition at line 387 of file quickdraw.c.

References pushport().

Referenced by browsernewwindow(), opunpackversion2(), tableunpacktable(), and wpnewrecord().

Here is the call graph for this function:

boolean pushstyle short  ,
short  ,
short 
 

Definition at line 606 of file quickdraw.c.

Referenced by appdrawmessage(), claypostdrawline(), claypushnodestyle(), dialogsetfontsize(), drawlabeledicon(), drawlabeledwindoidicon(), drawline(), drawpopup(), drawwindowmessage(), editsetfont(), edittextbox(), edittwostringbox(), getbuttonwidth(), gettextdisplayinfo(), idealpopupsize(), minidrawmsg(), oppushstyle(), opunpackversion2(), popupclick(), pushaboutstyle(), pushobjectstyle(), scriptupdateserverpopup(), setcomputedfields(), shelldrawbutton(), shellzoomwindow(), statsupdate(), tabledisplaytitle(), tablepushnodestyle(), tabletitleclick(), wpnewrecord(), and zoomappwindow().

boolean pushvalidrgnclip void   ) 
 

Definition at line 519 of file quickdraw.c.

References CopyRgn, getcurrentwindow(), globaltolocalrgn(), pushcliprgn(), quickdrawglobal, and rgn.

Referenced by wpactivate().

Here is the call graph for this function:

boolean rectinregion Rect  ,
hdlregion 
 

Definition at line 2905 of file quickdraw.c.

References recttowinrect().

Referenced by shellrectneedsupdate().

Here is the call graph for this function:

void recttodiskrect Rect r,
diskrect rdisk
 

Definition at line 2991 of file quickdraw.c.

References diskrect::bottom, diskrect::left, diskrect::right, short, and diskrect::top.

Referenced by cccopywindowinfo(), ccinitwindowinfo(), ccupdatewindowinfo(), hashpackvisit(), langpackvalue(), mesavemenurecord(), oppack(), pictpack(), pictunpack(), and wppackheader().

void rgbtodiskrgb RGBColor r,
diskrgb rgbdisk
 

Definition at line 3022 of file quickdraw.c.

References diskrgb::blue, diskrgb::green, diskrgb::red, and short.

Referenced by hashpackvisit(), and langpackvalue().

void scrollrect Rect  ,
short  ,
short 
 

Definition at line 2253 of file quickdraw.c.

Referenced by opscrollrect(), pictscroll(), scrollrecthoriz(), and scrollrectvert().

void scrollrecthoriz Rect  ,
short 
 

Definition at line 2345 of file quickdraw.c.

References scrollrect().

Here is the call graph for this function:

void scrollrectvert Rect  ,
short 
 

Definition at line 2339 of file quickdraw.c.

References scrollrect().

Here is the call graph for this function:

void setgraypen void   ) 
 

Definition at line 1921 of file quickdraw.c.

References assert, and toppen.

Referenced by aboutupdate(), graydrawline(), grayframerect(), grayframerrgn(), langerrorframetext(), medrawseparatorline(), tableupdategridlines(), and zoomrect().

void setport GrafPtr   ) 
 

Definition at line 280 of file quickdraw.c.

References NULL.

Referenced by newshellwindow(), popport(), pushport(), and shellsetglobals().

void setrect Rect ,
short  ,
short  ,
short  ,
short 
 

Definition at line 2189 of file quickdraw.c.

Referenced by ccgetwindowrect(), ccinitwindowinfo(), constrainwindowrect(), drawline(), drawpopup(), getlocalwindowrect(), getnewwindow(), myMoof(), shellinitprint(), and wpverbnew().

void setthemepen const short  brush,
Rect  r,
boolean  flupdate
 

Definition at line 1947 of file quickdraw.c.

References maxdepth.

Referenced by drawthemeborder(), frame3sides(), frameedittextrect(), and tabledisplaytitle().

void smashrect Rect   ) 
 

Definition at line 1702 of file quickdraw.c.

Referenced by dbstatsmessage(), opcollapse(), operasedisplay(), shelladjustaftergrow(), shellerasemessagearea(), and shellinvalcontent().

short stringpixels bigstring   ) 
 

Definition at line 1026 of file quickdraw.c.

References tyFontInfo::ascent, tyFontInfo::descent, globalfontinfo, tyFontInfo::leading, r, and stringlength.

Referenced by ccdrawmainwindowtext(), centerbuttonstring(), claydrawtext(), claypostdrawline(), drawabout(), ellipsize(), getbuttonwidth(), opmeasuretext(), setcomputedfields(), shellzoomwindow(), tablecellcontentwidth(), tableclienttitlepopuphit(), tablegetmaxcolwidthvisit(), tabletitleclick(), and tabletitleclickcallback().

boolean superpushclip Rect   ) 
 

Definition at line 471 of file quickdraw.c.

References BIGSTRING, checkdepth, clipstack, ctclip, idclipstackfull, rgn, shellinternalerror, and topclip.

Referenced by scrollbarpushclip().

boolean systemhascolor void   ) 
 

Definition at line 2890 of file quickdraw.c.

Referenced by clickcolorpopup(), colorenabled(), colormenuclick(), initcolorpopup(), maxdepth(), newappwindow(), newCardWindow(), and ploticon().

void unionrect Rect  ,
Rect  ,
Rect
 

Definition at line 2351 of file quickdraw.c.

References recttowinrect(), and winrecttorect().

Referenced by issubrect(), and opdefaultgetfullrect().

Here is the call graph for this function:

void validrect Rect   ) 
 

Definition at line 1777 of file quickdraw.c.

Referenced by shelldrawgrowicon(), and validscrollbar().

void zerorect Rect  ) 
 

Definition at line 1414 of file quickdraw.c.

Referenced by aboutresetrects(), appsetmessagerect(), drawpopup(), getlocalwindowrect(), getmessagecontentrect(), getobjectinvalrect(), getscrollbarrect(), IACsetobjectattributes(), iowasetpictrect(), printcomputewindowinfo(), pushemptyclip(), shellgetbuttonrect(), shellgetwindowcenter(), and windowresetrects().


Variable Documentation

RGBColor blackcolor
 

Definition at line 74 of file quickdraw.c.

Referenced by appdrawmessage(), claydrawtext(), claytabletolayout(), closeworld(), colormenuhandler(), drawcolorpopup(), frameitem(), newappwindow(), newoutlinerecord(), opinitdisplayvariables(), opunpackversion2(), and pushhighlightcolor().

RGBColor darkbluecolor
 

Definition at line 80 of file quickdraw.c.

Referenced by wpapplyhtmlstyles().

RGBColor darkgraycolor
 

Definition at line 82 of file quickdraw.c.

Referenced by framerect().

RGBColor darkgreencolor
 

Definition at line 102 of file quickdraw.c.

Referenced by wpapplyhtmlstyles().

RGBColor darkpurplecolor
 

Definition at line 96 of file quickdraw.c.

RGBColor darkredcolor
 

Definition at line 100 of file quickdraw.c.

RGBColor graycolor
 

Definition at line 84 of file quickdraw.c.

Referenced by pushobjectstyle().

RGBColor lightbluecolor
 

Definition at line 78 of file quickdraw.c.

Referenced by colormenuhandler(), drawcolorpopup(), icontracker(), newcolordata(), paletteupdate(), and pushgridcolor().

RGBColor lightgraycolor
 

Definition at line 88 of file quickdraw.c.

Referenced by framerect().

RGBColor lightgreencolor
 

Definition at line 92 of file quickdraw.c.

RGBColor lightpurplecolor
 

Definition at line 94 of file quickdraw.c.

RGBColor lightredcolor
 

Definition at line 98 of file quickdraw.c.

RGBColor lightyellowcolor
 

Definition at line 90 of file quickdraw.c.

RGBColor mediumgraycolor
 

Definition at line 86 of file quickdraw.c.

RGBColor whitecolor
 

Definition at line 72 of file quickdraw.c.

Referenced by claydrawtext(), claytabletolayout(), closeworld(), drawpopup(), langerrorupdate(), mesetcallbacks(), minidrawtextitems(), newappwindow(), newoutlinerecord(), opinitdisplayvariables(), opunpackversion2(), paletteupdate(), pushgridcolor(), pushhighlightcolor(), voidrect(), and wpupdate().


Generated on Sat Jun 10 02:27:48 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6