appletglue.c File Reference

#include "frontier.h"
#include "standard.h"
#include "quickdraw.h"
#include "memory.h"
#include "file.h"
#include "launch.h"

Include dependency graph for appletglue.c:

Go to the source code of this file.

Functions

boolean equalidentifiers (bigstring bs1, bigstring bs2)
boolean pushmacport (CGrafPtr p)
boolean returnkeydown (void)
boolean popmacport (void)
void centerwindow (WindowPtr w, Rect rscreen)
boolean rectlessthan (Rect r1, Rect r2)
boolean unicaseequalstrings (void *pvoid1, void *pvoid2)
boolean oldclutconverter (short idx, RGBColor *rgb)
boolean emptyrect (Rect r)
boolean pushhandleonhandle (Handle hsource, Handle hdest)
void deleteinhandle (Handle h, unsigned long ix, unsigned long ctdelete)
boolean pushathandlestart (ptrvoid, long, Handle)
boolean assureappisrunning (OSType serverid, boolean flbringtofront)
boolean findrunningapp (OSType id, void *info)
void appletsegment (void)
boolean ploticonsuite (Rect *r, short align, short transform, Handle iconsuite)
static boolean keydown (short keycode)
static boolean getclut (short resid, CTabHandle *hdlctab)

Variables

unsigned short ttLabel [8] = {0x0000, 0x0100, 0x0200, 0x0300, 0x0400, 0x0500, 0x0600, 0x0700}


Function Documentation

void appletsegment void   ) 
 

Definition at line 239 of file appletglue.c.

boolean assureappisrunning OSType  serverid,
boolean  flbringtofront
 

Definition at line 189 of file appletglue.c.

References bigstring, findapplication(), findrunningapplication(), launchapplication(), and nil.

Referenced by runworldwideurl().

Here is the call graph for this function:

void centerwindow WindowPtr  w,
Rect  rscreen
 

Definition at line 93 of file appletglue.c.

References doctitlebarheight, getmenubarheight(), h, r, and v.

Referenced by newappwindow(), newCardWindow(), newmodaldialog(), and openabout().

Here is the call graph for this function:

void deleteinhandle Handle  h,
unsigned long  ix,
unsigned long  ctdelete
 

Definition at line 221 of file appletglue.c.

References nil, and pullfromhandle().

Here is the call graph for this function:

boolean emptyrect Rect  r  ) 
 

Definition at line 179 of file appletglue.c.

Referenced by drawpopup(), IACsetobjectattributes(), and iowainvalrect().

boolean equalidentifiers bigstring  bs1,
bigstring  bs2
 

Definition at line 129 of file strings.c.

References ct, getlower, and stringlength.

boolean findrunningapp OSType  id,
void *  info
 

Definition at line 233 of file appletglue.c.

References findrunningapplication(), and nil.

Referenced by assureappisrunning(), bringapptofront(), getcurrentappfilespec(), launchHelperApp(), and sendodoc().

Here is the call graph for this function:

static boolean getclut short  resid,
CTabHandle *  hdlctab
[static]
 

Definition at line 151 of file appletglue.c.

References nil.

Referenced by getcolorpalette(), and oldclutconverter().

static boolean keydown short  keycode  )  [static]
 

Definition at line 75 of file appletglue.c.

References keys.

Referenced by cmdkeydown(), controlkeydown(), enterkeydown(), kbsetstatus(), optionkeydown(), returnkeydown(), and shiftkeydown().

boolean oldclutconverter short  idx,
RGBColor rgb
 

Definition at line 167 of file appletglue.c.

References getclut().

Referenced by iowaunpack(), and unpackobject().

Here is the call graph for this function:

boolean ploticonsuite Rect r,
short  align,
short  transform,
Handle  iconsuite
 

Definition at line 59 of file appletglue.c.

References noErr, and PlotIconSuite().

Referenced by drawiconobject().

Here is the call graph for this function:

boolean popmacport void   ) 
 

Definition at line 71 of file appletglue.c.

References popport().

Referenced by abouthandleevent(), appdrawmessage(), appgetdesktoprect(), apppopwindow(), apppostcallback(), appsavedialoginfo(), boldenbutton(), closeabout(), closeCardWindow(), erasewindow(), filterevent(), globaltolocalpoint(), handleCardEvent(), invalappwindow(), localtoglobalpoint(), newappwindow(), recalcCardWindow(), replaceexistingdialog(), runmodecheckupdate(), and runmodeupdate().

Here is the call graph for this function:

boolean pushathandlestart ptrvoid  ,
long  ,
Handle 
 

Definition at line 227 of file appletglue.c.

References insertinhandle().

Referenced by runlangscript().

Here is the call graph for this function:

boolean pushhandleonhandle Handle  hsource,
Handle  hdest
 

Definition at line 215 of file appletglue.c.

References pushhandle().

Referenced by cardFastScript(), groupvaluevisit(), iowagetstringvalue(), and packone().

Here is the call graph for this function:

boolean pushmacport CGrafPtr  p  ) 
 

Definition at line 65 of file appletglue.c.

References pushport().

Referenced by abouthandleevent(), appdrawmessage(), appgetdesktoprect(), apppostcallback(), appprecallback(), apppushwindow(), appsavedialoginfo(), boldenbutton(), closeCardWindow(), erasewindow(), filterevent(), globaltolocalpoint(), handleCardEvent(), invalappwindow(), localtoglobalpoint(), newappwindow(), openabout(), printappwindow(), recalcCardWindow(), replaceexistingdialog(), runmodecheckupdate(), and runmodeupdate().

Here is the call graph for this function:

boolean rectlessthan Rect  r1,
Rect  r2
 

Definition at line 121 of file appletglue.c.

Referenced by sortobjectlist(), and turnonfirstexclusiveobject().

boolean returnkeydown void   ) 
 

Definition at line 88 of file appletglue.c.

References keydown().

Referenced by returnkeyvisit().

Here is the call graph for this function:

boolean unicaseequalstrings void *  pvoid1,
void *  pvoid2
 

Definition at line 145 of file appletglue.c.

References equalidentifiers().

Referenced by iowasetbooleanvalue(), setpopupfoldervisit(), and stringendswith().

Here is the call graph for this function:


Variable Documentation

unsigned short ttLabel[8] = {0x0000, 0x0100, 0x0200, 0x0300, 0x0400, 0x0500, 0x0600, 0x0700}
 

Definition at line 56 of file appletglue.c.

Referenced by browserdrawnodeicon(), and drawiconobject().


Generated on Wed May 31 20:49:30 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6