about.c File Reference

#include "frontier.h"
#include "standard.h"
#include "versions.h"
#include "quickdraw.h"
#include "strings.h"
#include "bitmaps.h"
#include "cursor.h"
#include "dialogs.h"
#include "icon.h"
#include "file.h"
#include "font.h"
#include "kb.h"
#include "memory.h"
#include "mouse.h"
#include "ops.h"
#include "popup.h"
#include "resources.h"
#include "scrollbar.h"
#include "smallicon.h"
#include "textedit.h"
#include "frontierwindows.h"
#include "windowlayout.h"
#include "zoom.h"
#include "shell.h"
#include "shellprivate.h"
#include "shellhooks.h"
#include "about.h"
#include "tablestructure.h"
#include "cancoon.h"
#include "cancooninternal.h"
#include "process.h"
#include "processinternal.h"
#include "launch.h"

Include dependency graph for about.c:

Go to the source code of this file.

Data Structures

struct  tyaboutrecord

Defines

#define agentpopupwidth   (popuparrowwidth + 4)
#define msgtopinset   3
#define msgbottominset   3
#define minmsgheight   (heightsmallicon + 4)
#define msgborderpix   5
#define msgvertgap   4
#define aboutlineheight   14
#define aboutlinewidth   250
#define aboutvertstart   0
#define aboutvertinset   6
#define aboutvertgap   0
#define abouthorizgap   20
#define abouthorizinset   12
#define aboutrowsStats   8
#define aboutrectheightStats   (aboutvertinset * 2 + aboutvertstart + aboutrowsStats * aboutlineheight + aboutvertgap)
#define aboutrowsNoStats   4
#define aboutrectheightNoStats   (aboutvertinset * 2 + aboutvertstart + aboutrowsNoStats * aboutlineheight + aboutvertgap)
#define abouticonsize   32
#define versionwidth   56
#define minaboutwidth   (aboutlinewidth + abouthorizgap + 2 * abouthorizinset + 4 * abouticonsize)
#define agentmenuhorizgap   10
#define aboutresnumber   128

Typedefs

typedef tyaboutrecordptraboutrecord
typedef tyaboutrecord ** hdlaboutrecord

Enumerations

enum  {
  sloganitem, copyright2item, copyrightitem, urlitem,
  isaitem, threadsitem, thisthreaditem, memoryitem,
  miscinfoitem, agentpopupitem, datetimeitem, frontieritem,
  versionitem
}

Functions

void aboutsegment (void)
static boolean findaboutwindow (hdlwindowinfo *hinfo)
boolean aboutstatsshowing (void)
static long aboutrectheight ()
static void getmessagecontentrect (Rect *rcontent)
static void ccdrawfrontiericon (Rect rcicn, boolean flpressed)
static boolean ccgettextitemrect (short item, Rect *r)
static boolean ccgetagentpopuprect (Rect *rpopup)
static void ccdrawmainwindowtext (short item, short style, ptrstring bs, short just)
static void pushaboutstyle (void)
static short ccgetneededheight (boolean flbigwindow)
static void ccdrawagentpopup (void)
static void ccgetmsgrect (Rect *rmsg)
static boolean ccdrawmsg (void)
static void ccdrawtextitem (short item, ptrstring param, short style, short just)
static boolean ccrunurlscript ()
static void ccdrawurlitem (boolean flpressed)
static void ccdrawstatistic (short item, ptrstring value, boolean flbitmap)
static void ccupdatestatistics (boolean flbitmap)
static void ccdrawabout (void)
static void ccunblockmsg (void)
boolean aboutsetthreadstring (hdlprocessthread hp, boolean flin)
boolean aboutsetmiscstring (bigstring bsmisc)
boolean ccmsg (bigstring bs, boolean flbackgroundmsg)
static void aboutupdate (void)
static boolean aboutgettargetdata (short id)
static boolean aboutresetrects (hdlwindowinfo hinfo)
static boolean attachabout (void)
static void detachabout (void)
static void aboutresizeafterfontchange (void)
static void aboutsetconfigminimum (void)
static boolean aboutzoom (hdlwindowinfo hinfo, boolean flgrow)
static boolean aboutsetsize (void)
static boolean aboutsetfont (void)
static boolean aboutsetstyle (void)
static boolean aboutmousedown (Point pt, tyclickflags flags)
static boolean aboutkeystroke (void)
static void drawtextitem (WindowPtr w, short item, short font, short size, short style)
static boolean runurlscript ()
static void drawurlitem (boolean flpressed)
static void drawabout (WindowPtr w, boolean flliveurl)
static void updateabout (WindowPtr w, boolean flliveurl)
static boolean abouteventhook (EventRecord *ev, WindowPtr w)
static boolean aboutsave (ptrfilespec fs, hdlfilenum fnum, short rnum, boolean flsaveas, boolean flrunnable)
static boolean aboutclose (void)
static boolean aboutdisposerecord (void)
static boolean aboutsetsuperglobals (void)
static void aboutwindowsetup (void)
static boolean newaboutwindow (boolean flbootsplash)
boolean aboutcommand (void)
void aboutsetstatsflag (boolean fl)
boolean aboutstart (void)
boolean openabout (boolean flzoom, long ctreservebytes)
void closeabout (boolean flzoom, short minticks)

Variables

static long aboutopenticks
static hdlaboutrecord aboutdata = nil
static WindowPtr aboutwindow = nil
static hdlwindowinfo aboutwindowinfo
static boolean flsessionstats = false
static hdlaboutrecord displayedaboutdata = nil
static CGrafPtr aboutport = nil
static boolean flhavemiscrect = false
static Rect miscinforect
static bigstring bstheadinfo = ""
static bigstring bsmiscinfo = ""
static byteaboutstrings []


Define Documentation

#define abouthorizgap   20
 

Definition at line 146 of file about.c.

Referenced by ccgettextitemrect().

#define abouthorizinset   12
 

Definition at line 148 of file about.c.

Referenced by aboutresetrects(), and ccgettextitemrect().

#define abouticonsize   32
 

Definition at line 158 of file about.c.

Referenced by ccdrawabout(), and ccgettextitemrect().

#define aboutlineheight   14
 

Definition at line 136 of file about.c.

Referenced by ccdrawabout(), and ccgettextitemrect().

#define aboutlinewidth   250
 

Definition at line 138 of file about.c.

Referenced by ccgettextitemrect().

#define aboutrectheightNoStats   (aboutvertinset * 2 + aboutvertstart + aboutrowsNoStats * aboutlineheight + aboutvertgap)
 

Definition at line 156 of file about.c.

Referenced by aboutrectheight().

#define aboutrectheightStats   (aboutvertinset * 2 + aboutvertstart + aboutrowsStats * aboutlineheight + aboutvertgap)
 

Definition at line 152 of file about.c.

Referenced by aboutrectheight().

#define aboutresnumber   128
 

Definition at line 1391 of file about.c.

Referenced by drawabout().

#define aboutrowsNoStats   4
 

Definition at line 154 of file about.c.

Referenced by ccdrawabout().

#define aboutrowsStats   8
 

Definition at line 150 of file about.c.

#define aboutvertgap   0
 

Definition at line 144 of file about.c.

Referenced by ccgettextitemrect().

#define aboutvertinset   6
 

Definition at line 142 of file about.c.

Referenced by aboutresetrects().

#define aboutvertstart   0
 

Definition at line 140 of file about.c.

Referenced by ccgettextitemrect().

#define agentmenuhorizgap   10
 

Definition at line 164 of file about.c.

#define agentpopupwidth   (popuparrowwidth + 4)
 

Definition at line 124 of file about.c.

#define minaboutwidth   (aboutlinewidth + abouthorizgap + 2 * abouthorizinset + 4 * abouticonsize)
 

Definition at line 162 of file about.c.

Referenced by aboutsetconfigminimum(), and aboutzoom().

#define minmsgheight   (heightsmallicon + 4)
 

Definition at line 130 of file about.c.

Referenced by aboutsetconfigminimum(), and ccgetneededheight().

#define msgborderpix   5
 

Definition at line 132 of file about.c.

Referenced by aboutsetconfigminimum(), ccgetagentpopuprect(), ccgetneededheight(), and ccgettextitemrect().

#define msgbottominset   3
 

Definition at line 128 of file about.c.

Referenced by ccgetneededheight().

#define msgtopinset   3
 

Definition at line 126 of file about.c.

Referenced by ccgetneededheight().

#define msgvertgap   4
 

Definition at line 134 of file about.c.

Referenced by aboutresetrects(), aboutsetconfigminimum(), and ccgetneededheight().

#define versionwidth   56
 

Definition at line 160 of file about.c.

Referenced by ccgetmsgrect().


Typedef Documentation

typedef struct tyaboutrecord ** hdlaboutrecord
 

typedef struct tyaboutrecord * ptraboutrecord
 


Enumeration Type Documentation

anonymous enum
 

Enumerator:
sloganitem 
copyright2item 
copyrightitem 
urlitem 
isaitem 
threadsitem 
thisthreaditem 
memoryitem 
miscinfoitem 
agentpopupitem 
datetimeitem 
frontieritem 
versionitem 

Definition at line 201 of file about.c.


Function Documentation

static boolean aboutclose void   )  [static]
 

Definition at line 1491 of file about.c.

References aboutwindow, aboutwindowinfo, attachabout(), cancoonglobals, ccsubwindowclose(), detachabout(), ixaboutinfo, and nil.

Referenced by aboutstart().

Here is the call graph for this function:

boolean aboutcommand void   ) 
 

Definition at line 1656 of file about.c.

static boolean aboutdisposerecord void   )  [static]
 

Definition at line 1508 of file about.c.

References aboutdata, aboutport, displayedaboutdata, disposehandle(), and nil.

Referenced by aboutstart().

Here is the call graph for this function:

static boolean abouteventhook EventRecord ev,
WindowPtr  w
[static]
 

Definition at line 1458 of file about.c.

References aboutwindow, updateabout(), and updateEvt.

Here is the call graph for this function:

static boolean aboutgettargetdata short  id  )  [static]
 

Definition at line 1073 of file about.c.

Referenced by aboutstart().

static boolean aboutkeystroke void   )  [static]
 

Definition at line 1332 of file about.c.

References aboutwindowinfo, aboutzoom(), chenter, tykeystrokerecord::chkb, and keyboardstatus.

Referenced by aboutstart().

Here is the call graph for this function:

static boolean aboutmousedown Point  pt,
tyclickflags  flags
[static]
 

Definition at line 1286 of file about.c.

References aboutdata, ccagentpopuphit(), ccdrawagentpopup(), ccdrawurlitem(), ccgetagentpopuprect(), ccgettextitemrect(), ccrunurlscript(), ccunblockmsg(), pointinrect(), pt, sysbeep, trackicon(), and urlitem.

Referenced by aboutstart().

Here is the call graph for this function:

static long aboutrectheight  )  [static]
 

Definition at line 251 of file about.c.

References aboutrectheightNoStats, aboutrectheightStats, and aboutstatsshowing().

Referenced by aboutresetrects(), aboutsetconfigminimum(), and ccgetneededheight().

Here is the call graph for this function:

static boolean aboutresetrects hdlwindowinfo  hinfo  )  [static]
 

Definition at line 1079 of file about.c.

References abouthorizinset, aboutrectheight(), aboutvertinset, insetrect(), msgvertgap, nil, shellcalcgrowiconrect(), and zerorect().

Referenced by aboutsetstatsflag(), aboutstart(), and newaboutwindow().

Here is the call graph for this function:

static void aboutresizeafterfontchange void   )  [static]
 

Definition at line 1149 of file about.c.

References aboutwindow, aboutwindowinfo, attachabout(), cccopywindowinfo(), ccgetneededheight(), detachabout(), ixaboutinfo, moveandsizewindow(), shelladjustaftergrow(), shellgetglobalwindowrect(), and windowinval().

Referenced by aboutsetfont(), aboutsetsize(), aboutsetstyle(), and newaboutwindow().

Here is the call graph for this function:

static boolean aboutsave ptrfilespec  fs,
hdlfilenum  fnum,
short  rnum,
boolean  flsaveas,
boolean  flrunnable
[static]
 

Definition at line 1472 of file about.c.

References ccfindrootwindow(), ccsavefile(), grayownedwindows(), shellpopglobals(), shellpushglobals(), and shellwindow.

Referenced by aboutstart().

Here is the call graph for this function:

void aboutsegment void   ) 
 

Definition at line 231 of file about.c.

static void aboutsetconfigminimum void   )  [static]
 

Definition at line 1180 of file about.c.

References aboutrectheight(), tyshellglobals::config, globalsarray, idaboutconfig, minaboutwidth, minmsgheight, msgborderpix, msgvertgap, tyconfigrecord::rmin, and shellfindcallbacks().

Referenced by aboutzoom(), and newaboutwindow().

Here is the call graph for this function:

static boolean aboutsetfont void   )  [static]
 

Definition at line 1258 of file about.c.

References aboutresizeafterfontchange(), aboutwindowinfo, and tywindowinfo::defaultfont.

Referenced by aboutstart().

Here is the call graph for this function:

boolean aboutsetmiscstring bigstring  bsmisc  ) 
 

Definition at line 863 of file about.c.

References aboutport, tyFontInfo::ascent, bsmiscinfo, copystring(), eraserect(), flhavemiscrect, globalfontinfo, long, miscinforect, movepento(), nil, pendrawstring(), popclip(), popport(), pushclip(), and pushport().

Here is the call graph for this function:

static boolean aboutsetsize void   )  [static]
 

Definition at line 1244 of file about.c.

References aboutresizeafterfontchange(), aboutwindowinfo, and tywindowinfo::defaultsize.

Referenced by aboutsetstatsflag(), and aboutstart().

Here is the call graph for this function:

void aboutsetstatsflag boolean  fl  ) 
 

Definition at line 1671 of file about.c.

References aboutdata, aboutresetrects(), aboutsetsize(), aboutwindowinfo, findaboutwindow(), tyaboutrecord::flextrastats, flsessionstats, nil, shellpopglobals(), and shellpushglobals().

Here is the call graph for this function:

static boolean aboutsetstyle void   )  [static]
 

Definition at line 1272 of file about.c.

References aboutresizeafterfontchange(), aboutwindowinfo, and shellsetdefaultstyle().

Referenced by aboutstart().

Here is the call graph for this function:

static boolean aboutsetsuperglobals void   )  [static]
 

Definition at line 1522 of file about.c.

References ccfindrootwindow(), ccsetsuperglobals(), shellpopglobals(), and shellpushglobals().

Referenced by aboutstart().

Here is the call graph for this function:

boolean aboutsetthreadstring hdlprocessthread  hp,
boolean  flin
 

Definition at line 822 of file about.c.

References aboutdata, aboutstatsshowing(), BIGSTRING, bstheadinfo, cancoonglobals, ccupdatestatistics(), findaboutwindow(), fl, insertstring(), nil, numbertostring(), pushchar(), pushstring(), shellpopglobals(), and shellpushglobals().

Here is the call graph for this function:

boolean aboutstart void   ) 
 

Definition at line 1699 of file about.c.

References aboutclose(), aboutdata, aboutdisposerecord(), aboutgettargetdata(), aboutkeystroke(), aboutmousedown(), aboutresetrects(), aboutsave(), aboutsetfont(), aboutsetsize(), aboutsetstyle(), aboutsetsuperglobals(), aboutupdate(), aboutwindow, aboutwindowinfo, aboutzoom(), attachabout(), idaboutconfig, loadconfigresource(), and shellnewcallbacks().

Here is the call graph for this function:

boolean aboutstatsshowing void   ) 
 

Definition at line 245 of file about.c.

References displayedaboutdata, and tyaboutrecord::flbigwindow.

static void aboutupdate void   )  [static]
 

Definition at line 997 of file about.c.

References aboutdata, aboutport, aboutwindow, aboutwindowinfo, ccdrawabout(), ccdrawagentpopup(), ccdrawmsg(), ccgettextitemrect(), displayedaboutdata, eraserect(), flhavemiscrect, getmessagecontentrect(), insetrect(), miscinfoitem, miscinforect, movepento(), nil, pendrawline(), poppen(), pushpen(), setgraypen(), and shelldrawgrowicon().

Referenced by aboutstart().

Here is the call graph for this function:

static void aboutwindowsetup void   )  [static]
 

Definition at line 1539 of file about.c.

References aboutwindow, aboutwindowinfo, attachabout(), cancoonglobals, ccgetwindowinfo(), ccsetwindowinfo(), detachabout(), flsessionstats, tycancoonwindowinfo::fontnum, tycancoonwindowinfo::fontsize, ixaboutinfo, nil, shellpopglobals(), shellpushrootglobals(), and tycancoonwindowinfo::w.

Referenced by newaboutwindow().

Here is the call graph for this function:

static boolean aboutzoom hdlwindowinfo  hinfo,
boolean  flgrow
[static]
 

Definition at line 1205 of file about.c.

References aboutdata, aboutsetconfigminimum(), cancoonglobals, ccgetneededheight(), max, minaboutwidth, moveandsizewindow(), nil, shelladjustaftergrow(), shellgetglobalwindowrect(), shellinvalcontent(), and shellupdatewindow().

Referenced by aboutkeystroke(), and aboutstart().

Here is the call graph for this function:

static boolean attachabout void   )  [static]
 

Definition at line 1123 of file about.c.

References aboutdata, ccfindrootwindow(), and nil.

Referenced by aboutclose(), aboutresizeafterfontchange(), aboutstart(), and aboutwindowsetup().

Here is the call graph for this function:

static void ccdrawabout void   )  [static]
 

Definition at line 709 of file about.c.

References abouticonsize, aboutlineheight, aboutrowsNoStats, aboutstrings, tyFontInfo::ascent, BIGSTRING, bigstring, bold, ccdrawfrontiericon(), ccdrawmainwindowtext(), ccdrawtextitem(), ccdrawurlitem(), ccupdatestatistics(), copyright2item, copyrightitem, filegetprogramversion(), fontgetnumber(), frontieritem, geneva, globalfontinfo, insertstring(), isaitem, italic, leftjustified, max, movepento(), nil, normal, parsedialogstring(), pendrawstring(), rightjustified, setglobalfontsizestyle(), sloganitem, and versionitem.

Referenced by aboutupdate().

Here is the call graph for this function:

static void ccdrawagentpopup void   )  [static]
 

Definition at line 455 of file about.c.

References cancoonglobals, ccgetagentpopuprect(), ccupdateagentpopup(), eraserect(), nil, and r.

Referenced by aboutmousedown(), and aboutupdate().

Here is the call graph for this function:

static void ccdrawfrontiericon Rect  rcicn,
boolean  flpressed
[static]
 

Definition at line 268 of file about.c.

References getapplicationfilespec(), nil, noErr, ploticonresource(), programfspec, and r.

Referenced by ccdrawabout().

Here is the call graph for this function:

static void ccdrawmainwindowtext short  item,
short  style,
ptrstring  bs,
short  just
[static]
 

Definition at line 360 of file about.c.

References aboutstrings, tyFontInfo::ascent, bigstring, ccgettextitemrect(), copystring(), eraserect(), fulljustified, geneva, globalfontinfo, leftjustified, movepento(), nil, pendrawstring(), r, rightjustified, setglobalfontsizestyle(), and stringpixels().

Referenced by ccdrawabout(), ccdrawstatistic(), ccdrawtextitem(), and ccupdatestatistics().

Here is the call graph for this function:

static boolean ccdrawmsg void   )  [static]
 

Definition at line 533 of file about.c.

References aboutdata, aboutwindow, tyFontInfo::ascent, bigstring, cancoonglobals, ccgetmsgrect(), closebitmap(), copyheapstring(), eraserect(), globalfontinfo, movepento(), nil, openbitmap(), pendrawstring(), popclip(), popstyle(), pushaboutstyle(), and pushclip().

Referenced by aboutupdate(), ccmsg(), and ccunblockmsg().

Here is the call graph for this function:

static void ccdrawstatistic short  item,
ptrstring  value,
boolean  flbitmap
[static]
 

Definition at line 632 of file about.c.

References aboutwindow, bold, ccdrawmainwindowtext(), ccgettextitemrect(), closebitmap(), leftjustified, nil, normal, openbitmap(), and rightjustified.

Referenced by ccupdatestatistics().

Here is the call graph for this function:

static void ccdrawtextitem short  item,
ptrstring  param,
short  style,
short  just
[static]
 

Definition at line 591 of file about.c.

References aboutstrings, bigstring, ccdrawmainwindowtext(), nil, and parsedialogstring().

Referenced by ccdrawabout(), and ccdrawurlitem().

Here is the call graph for this function:

static void ccdrawurlitem boolean  flpressed  )  [static]
 

Definition at line 614 of file about.c.

References tyRGBColor::blue, ccdrawtextitem(), leftjustified, nil, popforecolor(), pushforecolor(), tyRGBColor::red, underline, and urlitem.

Referenced by aboutmousedown(), and ccdrawabout().

Here is the call graph for this function:

static boolean ccgetagentpopuprect Rect rpopup  )  [static]
 

Definition at line 341 of file about.c.

References heightsmallicon, msgborderpix, r, and widthsmallicon.

Referenced by aboutmousedown(), ccdrawagentpopup(), cceraseagentpopup(), and ccgetmsgrect().

static void ccgetmsgrect Rect rmsg  )  [static]
 

Definition at line 502 of file about.c.

References tyFontInfo::ascent, ccgetagentpopuprect(), ccgettextitemrect(), tyFontInfo::descent, getmessagecontentrect(), globalfontinfo, versionitem, and versionwidth.

Referenced by ccdrawmsg().

Here is the call graph for this function:

static short ccgetneededheight boolean  flbigwindow  )  [static]
 

Definition at line 410 of file about.c.

References aboutrectheight(), tyFontInfo::ascent, tyFontInfo::descent, globalfontinfo, max, minmsgheight, msgborderpix, msgbottominset, msgtopinset, msgvertgap, popstyle(), and pushaboutstyle().

Referenced by aboutresizeafterfontchange(), and aboutzoom().

Here is the call graph for this function:

static boolean ccgettextitemrect short  item,
Rect r
[static]
 

Definition at line 296 of file about.c.

References abouthorizgap, abouthorizinset, abouticonsize, aboutlineheight, aboutlinewidth, aboutvertgap, aboutvertstart, getscrollbarwidth(), min, miscinfoitem, msgborderpix, and versionitem.

Referenced by aboutmousedown(), aboutupdate(), ccdrawmainwindowtext(), ccdrawstatistic(), and ccgetmsgrect().

Here is the call graph for this function:

boolean ccmsg bigstring  bs,
boolean  flbackgroundmsg
 

Definition at line 913 of file about.c.

References cancoonglobals, ccdrawmsg(), ccunblockmsg(), copystring(), currentprocess, disposehandle(), findaboutwindow(), fl, hcode, isemptystring, newheapstring(), nil, shellpopglobals(), and shellpushglobals().

Here is the call graph for this function:

static boolean ccrunurlscript  )  [static]
 

Definition at line 601 of file about.c.

References aboutstrings, bigstring, getsystemtablescript(), idopenurlscript, nil, parsedialogstring(), processrunstring(), and urlitem.

Referenced by aboutmousedown().

Here is the call graph for this function:

static void ccunblockmsg void   )  [static]
 

Definition at line 792 of file about.c.

References cancoonglobals, ccdrawmsg(), disposehandle(), tycancoonrecord::flbackgroundmsgblocked, and nil.

Referenced by aboutmousedown(), and ccmsg().

Here is the call graph for this function:

static void ccupdatestatistics boolean  flbitmap  )  [static]
 

Definition at line 653 of file about.c.

References aboutstatsshowing(), bigstring, bsmiscinfo, bstheadinfo, ccdrawmainwindowtext(), ccdrawstatistic(), FreeMem(), handlecounter, leftjustified, memoryitem, miscinfoitem, normal, numbertostring(), processthreadcount(), pushchar(), thisthreaditem, and threadsitem.

Referenced by aboutsetthreadstring(), and ccdrawabout().

Here is the call graph for this function:

void closeabout boolean  flzoom,
short  minticks
 

Definition at line 1812 of file about.c.

References aboutopenticks, delayticks(), findaboutwindow(), and shellclose().

Here is the call graph for this function:

static void detachabout void   )  [static]
 

Definition at line 1143 of file about.c.

References nil.

Referenced by aboutclose(), aboutresizeafterfontchange(), and aboutwindowsetup().

static void drawabout WindowPtr  w,
boolean  flliveurl
[static]
 

Definition at line 1393 of file about.c.

References aboutresnumber, bigstring, copyrightitem, dialoggetobjectrect(), drawtextitem(), drawurlitem(), filegetprogramversion(), geneva, movepento(), normal, pendrawstring(), ploticon(), setfontsizestyle(), sloganitem, stringpixels(), systemFont, urlitem, and versionitem.

Referenced by abouthandleevent(), and openabout().

Here is the call graph for this function:

static void drawtextitem WindowPtr  w,
short  item,
short  font,
short  size,
short  style
[static]
 

Definition at line 1345 of file about.c.

References bigstring, dialoggetobjectrect(), edittextbox(), and getdialogtext().

Referenced by drawabout(), and drawurlitem().

Here is the call graph for this function:

static void drawurlitem boolean  flpressed  )  [static]
 

Definition at line 1374 of file about.c.

References aboutwindow, tyRGBColor::blue, drawtextitem(), geneva, popforecolor(), pushforecolor(), tyRGBColor::red, underline, and urlitem.

Referenced by drawabout().

Here is the call graph for this function:

static boolean findaboutwindow hdlwindowinfo hinfo  )  [static]
 

Definition at line 236 of file about.c.

References idaboutconfig, and shellfindwindow().

Referenced by aboutcommand(), aboutsetstatsflag(), aboutsetthreadstring(), ccmsg(), closeabout(), and openabout().

Here is the call graph for this function:

static void getmessagecontentrect Rect rcontent  )  [static]
 

Definition at line 259 of file about.c.

References aboutdata, nil, and zerorect().

Referenced by aboutupdate(), and ccgetmsgrect().

Here is the call graph for this function:

static boolean newaboutwindow boolean  flbootsplash  )  [static]
 

Definition at line 1575 of file about.c.

References aboutresetrects(), aboutresizeafterfontchange(), aboutsetconfigminimum(), aboutstrings, aboutwindowsetup(), BIGSTRING, bigstring, ccgetwindowrect(), tyshellglobals::config, copystring(), disposehandle(), frontieritem, getsystemoriginrect(), getwindowinfo(), globalsarray, idaboutconfig, insertstring(), ixaboutinfo, newchildwindow(), newclearhandle(), nil, shellfindcallbacks(), shellpopglobals(), shellpushglobals(), tyconfigrecord::templateresnum, and windowzoom().

Referenced by aboutcommand(), and openabout().

Here is the call graph for this function:

boolean openabout boolean  flzoom,
long  ctreservebytes
 

Definition at line 1767 of file about.c.

References aboutopenticks, aboutstart(), findaboutwindow(), newaboutwindow(), nil, shellpatchnilroutines(), and shellupdatenow().

Here is the call graph for this function:

static void pushaboutstyle void   )  [static]
 

Definition at line 399 of file about.c.

References aboutwindowinfo, geneva, normal, and pushstyle().

Referenced by ccdrawmsg(), and ccgetneededheight().

Here is the call graph for this function:

static boolean runurlscript  )  [static]
 

Definition at line 1358 of file about.c.

References aboutwindow, bigstring, getdialogtext(), getsystemtablescript(), idopenurlscript, nil, parsedialogstring(), processrunstring(), and urlitem.

Here is the call graph for this function:

static void updateabout WindowPtr  w,
boolean  flliveurl
[static]
 

Definition at line 1452 of file about.c.

References shellupdatenow().

Referenced by abouteventhook().

Here is the call graph for this function:


Variable Documentation

hdlaboutrecord aboutdata = nil [static]
 

Definition at line 101 of file about.c.

Referenced by aboutdisposerecord(), aboutmousedown(), aboutsetstatsflag(), aboutsetthreadstring(), aboutstart(), aboutupdate(), aboutzoom(), attachabout(), ccdrawmsg(), and getmessagecontentrect().

long aboutopenticks [static]
 

Definition at line 82 of file about.c.

Referenced by closeabout(), and openabout().

CGrafPtr aboutport = nil [static]
 

Definition at line 112 of file about.c.

Referenced by aboutdisposerecord(), aboutsetmiscstring(), and aboutupdate().

byte* aboutstrings[] [static]
 

Definition at line 166 of file about.c.

Referenced by ccdrawabout(), ccdrawmainwindowtext(), ccdrawtextitem(), ccrunurlscript(), and newaboutwindow().

WindowPtr aboutwindow = nil [static]
 

Definition at line 103 of file about.c.

Referenced by aboutclose(), abouteventhook(), abouthandleevent(), aboutresizeafterfontchange(), aboutstart(), aboutupdate(), aboutwindowopen(), aboutwindowsetup(), ccdrawmsg(), ccdrawstatistic(), closeabout(), drawurlitem(), openabout(), and runurlscript().

hdlwindowinfo aboutwindowinfo [static]
 

Definition at line 105 of file about.c.

Referenced by aboutclose(), aboutkeystroke(), aboutresizeafterfontchange(), aboutsetfont(), aboutsetsize(), aboutsetstatsflag(), aboutsetstyle(), aboutstart(), aboutupdate(), aboutwindowsetup(), ccdrawmsg(), and pushaboutstyle().

bigstring bsmiscinfo = "" [static]
 

Definition at line 121 of file about.c.

Referenced by aboutsetmiscstring(), and ccupdatestatistics().

bigstring bstheadinfo = "" [static]
 

Definition at line 119 of file about.c.

Referenced by aboutsetthreadstring(), and ccupdatestatistics().

hdlaboutrecord displayedaboutdata = nil [static]
 

Definition at line 110 of file about.c.

Referenced by aboutdisposerecord(), aboutstatsshowing(), and aboutupdate().

boolean flhavemiscrect = false [static]
 

Definition at line 114 of file about.c.

Referenced by aboutsetmiscstring(), and aboutupdate().

boolean flsessionstats = false [static]
 

Definition at line 107 of file about.c.

Referenced by aboutsetstatsflag(), and aboutwindowsetup().

Rect miscinforect [static]
 

Definition at line 116 of file about.c.

Referenced by aboutsetmiscstring(), and aboutupdate().


Generated on Wed May 31 18:36:02 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6