iowacomponent.c File Reference

#include "frontier.h"
#include "standard.h"
#include "shelltypes.h"
#include "iowacore.h"
#include "iowaobject.h"
#include "iowaicons.h"
#include <appletfont.h>
#include <appletresource.h>

Include dependency graph for iowacomponent.c:

Go to the source code of this file.

Data Structures

struct  tycomponentrecord

Typedefs

typedef tycomponentrecord ** hdlcomponentrecord

Functions

static short countcomponents (void)
static boolean addcomponent (ComponentInstance component, long objectTypeID)
static ComponentInstance findcomponent (long objectTypeID)
static pascal ComponentResult getconfigGlue (ComponentInstance comp, tyioaconfigrecord *config) ComponentCallNow(IOAgetconfigcommand
static pascal ComponentResult sizeof (tyioaconfigrecord *))
static pascal ComponentResult drawobjectGlue (ComponentInstance comp, hdlobject h) ComponentCallNow(IOAdrawobjectcommand
static pascal ComponentResult sizeof (hdlobject))
static pascal ComponentResult initobjectGlue (ComponentInstance comp, tyobject *obj) ComponentCallNow(IOAinitobjectcommand
static pascal ComponentResult sizeof (tyobject *))
static pascal ComponentResult debugGlue (ComponentInstance comp, hdlobject h, bigstring errorstring) ComponentCallNow(IOAdebugobjectcommand
static boolean pregluecall (hdlobject h, ComponentInstance *comp)
boolean calldrawobject (hdlobject h)
boolean callclick (hdlobject listhead, hdlobject h, Point pt, boolean flshiftkey, boolean fl2click)
boolean callcleanobject (hdlobject h, short height, short width, Rect *r)
boolean callrecalcobject (hdlobject h, boolean flmajorrecalc)
boolean calleditobject (hdlobject h, boolean flgoin)
boolean callkeyobject (hdlobject h, char ch)
boolean callidleobject (hdlobject h)
boolean callcanreplicate (hdlobject h)
boolean callcatchreturn (hdlobject h)
boolean callgetinvalrect (hdlobject h, Rect *r)
boolean callgeteditrect (hdlobject h, Rect *r)
boolean callgetvalue (hdlobject h, Handle *hvalue)
boolean callsetvalue (hdlobject h, Handle hvalue)
boolean callsetcursor (hdlobject h, Point pt)
boolean calldisposedata (hdlobject h)
boolean callgetattributes (hdlobject h, AppleEvent *event)
boolean callsetattributes (hdlobject h, AppleEvent *event)
boolean callgetcard (hdlobject h, Handle *hcard)
boolean callpackdata (hdlobject h, Handle *hpackeddata)
boolean callunpackdata (hdlobject h)
boolean calldebug (hdlobject h, Str255 errorstring)
static boolean getconfigrecord (hdlobject h, tyioaconfigrecord *config)
boolean callgetobjectname (hdlobject h, Str255 objectname)
boolean callgetobjectflagname (hdlobject h, Str255 objectflagname)
boolean callframewhenediting (hdlobject h)
boolean callcaneditvalue (hdlobject h)
boolean calltoggleflagwhenhit (hdlobject h)
boolean callmutallyexclusive (hdlobject h)
boolean callspeaksforgroup (hdlobject h)
boolean callhandlesmousetrack (hdlobject h)
boolean calleditableinrunmode (hdlobject h)
boolean callfontaware (hdlobject h)
boolean callalwaysidle (hdlobject h)
boolean callhasspecialcard (hdlobject h)
boolean callcantdrawinbitmap (hdlobject h)
boolean initIOAcomponents (Handle *harray)
void restorecomponentarray (Handle harray)
boolean closeIOAcomponents (void)

Variables

static tycomponentrecord ** componentarray = nil


Typedef Documentation

typedef struct tycomponentrecord ** hdlcomponentrecord
 


Function Documentation

static boolean addcomponent ComponentInstance  component,
long  objectTypeID
[static]
 

Definition at line 61 of file iowacomponent.c.

References tycomponentrecord::component, componentarray, countcomponents(), ct, MemError, newfilledhandle(), nil, noErr, tycomponentrecord::objectTypeID, and SetHandleSize.

Referenced by initIOAcomponents().

Here is the call graph for this function:

boolean callalwaysidle hdlobject  h  ) 
 

Definition at line 1452 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Referenced by alwaysidlevisit().

Here is the call graph for this function:

boolean callcaneditvalue hdlobject  h  ) 
 

Definition at line 1374 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Here is the call graph for this function:

boolean callcanreplicate hdlobject  h  ) 
 

Definition at line 1128 of file iowacomponent.c.

References h, and pregluecall().

Here is the call graph for this function:

boolean callcantdrawinbitmap hdlobject  h  ) 
 

Definition at line 1472 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Referenced by drawobject().

Here is the call graph for this function:

boolean callcatchreturn hdlobject  h  ) 
 

Definition at line 1139 of file iowacomponent.c.

References h, and pregluecall().

Referenced by returnkeyvisit().

Here is the call graph for this function:

boolean callcleanobject hdlobject  h,
short  height,
short  width,
Rect r
 

Definition at line 1067 of file iowacomponent.c.

References h, and pregluecall().

Here is the call graph for this function:

boolean callclick hdlobject  listhead,
hdlobject  h,
Point  pt,
boolean  flshiftkey,
boolean  fl2click
 

Definition at line 1056 of file iowacomponent.c.

References h, pregluecall(), and pt.

Referenced by objectclick().

Here is the call graph for this function:

boolean calldebug hdlobject  h,
Str255  errorstring
 

Definition at line 1295 of file iowacomponent.c.

References debugGlue(), h, pregluecall(), and setstringlength.

Referenced by validateobjectlist().

Here is the call graph for this function:

boolean calldisposedata hdlobject  h  ) 
 

Definition at line 1213 of file iowacomponent.c.

References h, and pregluecall().

Referenced by disposeobject().

Here is the call graph for this function:

boolean calldrawobject hdlobject  h  ) 
 

Definition at line 1030 of file iowacomponent.c.

References drawobjectGlue(), h, pregluecall(), and quickdrawglobal.

Referenced by drawobject().

Here is the call graph for this function:

boolean calleditableinrunmode hdlobject  h  ) 
 

Definition at line 1424 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Referenced by nilvaluesvisit(), and runtimeeditableobject().

Here is the call graph for this function:

boolean calleditobject hdlobject  h,
boolean  flgoin
 

Definition at line 1089 of file iowacomponent.c.

References h, and pregluecall().

Referenced by initeditabletext(), and movetextboxcursor().

Here is the call graph for this function:

boolean callfontaware hdlobject  h  ) 
 

Definition at line 1434 of file iowacomponent.c.

References clonetype, config, getconfigrecord(), and h.

Here is the call graph for this function:

boolean callframewhenediting hdlobject  h  ) 
 

Definition at line 1364 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Referenced by drawobject().

Here is the call graph for this function:

boolean callgetattributes hdlobject  h,
AppleEvent event
 

Definition at line 1224 of file iowacomponent.c.

References h, and pregluecall().

Referenced by IACgetobjectattributes().

Here is the call graph for this function:

boolean callgetcard hdlobject  h,
Handle hcard
 

Definition at line 1246 of file iowacomponent.c.

References h, and pregluecall().

Here is the call graph for this function:

boolean callgeteditrect hdlobject  h,
Rect r
 

Definition at line 1163 of file iowacomponent.c.

References getobjectrect(), h, and pregluecall().

Referenced by geteditrect().

Here is the call graph for this function:

boolean callgetinvalrect hdlobject  h,
Rect r
 

Definition at line 1150 of file iowacomponent.c.

References getobjectrect(), h, and pregluecall().

Referenced by drawobject(), and getobjectinvalrect().

Here is the call graph for this function:

boolean callgetobjectflagname hdlobject  h,
Str255  objectflagname
 

Definition at line 1352 of file iowacomponent.c.

References config, copystring(), getconfigrecord(), and h.

Here is the call graph for this function:

boolean callgetobjectname hdlobject  h,
Str255  objectname
 

Definition at line 1323 of file iowacomponent.c.

References clonetype, config, copystring(), getconfigrecord(), grouptype, and h.

Here is the call graph for this function:

boolean callgetvalue hdlobject  h,
Handle hvalue
 

Definition at line 1178 of file iowacomponent.c.

References h, nil, and pregluecall().

Referenced by getvalueforscript().

Here is the call graph for this function:

boolean callhandlesmousetrack hdlobject  h  ) 
 

Definition at line 1414 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Referenced by runmodetracker().

Here is the call graph for this function:

boolean callhasspecialcard hdlobject  h  ) 
 

Definition at line 1462 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Here is the call graph for this function:

boolean callidleobject hdlobject  h  ) 
 

Definition at line 1114 of file iowacomponent.c.

References h, nil, and pregluecall().

Referenced by alwaysidlevisit(), and runmodeidle().

Here is the call graph for this function:

boolean callkeyobject hdlobject  h,
char  ch
 

Definition at line 1100 of file iowacomponent.c.

References h, nil, and pregluecall().

Referenced by runmodekeystroke().

Here is the call graph for this function:

boolean callmutallyexclusive hdlobject  h  ) 
 

Definition at line 1394 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Referenced by turnoffallexclusiveobjects(), and turnonfirstexclusiveobject().

Here is the call graph for this function:

boolean callpackdata hdlobject  h,
Handle hpackeddata
 

Definition at line 1257 of file iowacomponent.c.

References clonetype, grouptype, h, and pregluecall().

Here is the call graph for this function:

boolean callrecalcobject hdlobject  h,
boolean  flmajorrecalc
 

Definition at line 1078 of file iowacomponent.c.

References h, and pregluecall().

Referenced by recalcbottleneck().

Here is the call graph for this function:

boolean callsetattributes hdlobject  h,
AppleEvent event
 

Definition at line 1235 of file iowacomponent.c.

References h, and pregluecall().

Referenced by IACsetobjectattributes().

Here is the call graph for this function:

boolean callsetcursor hdlobject  h,
Point  pt
 

Definition at line 1202 of file iowacomponent.c.

References h, pregluecall(), and pt.

Referenced by runmodeidle().

Here is the call graph for this function:

boolean callsetvalue hdlobject  h,
Handle  hvalue
 

Definition at line 1191 of file iowacomponent.c.

References h, and pregluecall().

Referenced by setCardValue().

Here is the call graph for this function:

boolean callspeaksforgroup hdlobject  h  ) 
 

Definition at line 1404 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Referenced by groupvaluevisit().

Here is the call graph for this function:

boolean calltoggleflagwhenhit hdlobject  h  ) 
 

Definition at line 1384 of file iowacomponent.c.

References config, getconfigrecord(), and h.

Here is the call graph for this function:

boolean callunpackdata hdlobject  h  ) 
 

Definition at line 1276 of file iowacomponent.c.

References clonetype, grouptype, h, and pregluecall().

Referenced by postunpackfilter().

Here is the call graph for this function:

boolean closeIOAcomponents void   ) 
 

Definition at line 1545 of file iowacomponent.c.

References component, componentarray, countcomponents(), ct, disposehandle(), i, and nil.

Referenced by iowaClose().

Here is the call graph for this function:

static short countcomponents void   )  [static]
 

Definition at line 52 of file iowacomponent.c.

References componentarray, GetHandleSize, and nil.

Referenced by addcomponent(), closeIOAcomponents(), and findcomponent().

static pascal ComponentResult debugGlue ComponentInstance  comp,
hdlobject  h,
bigstring  errorstring
[static]
 

Referenced by calldebug().

static pascal ComponentResult drawobjectGlue ComponentInstance  comp,
hdlobject  h
[static]
 

Referenced by calldrawobject().

static ComponentInstance findcomponent long  objectTypeID  )  [static]
 

Definition at line 86 of file iowacomponent.c.

References tycomponentrecord::component, componentarray, countcomponents(), ct, i, tycomponentrecord::objectTypeID, and return().

Referenced by getconfigrecord(), and pregluecall().

Here is the call graph for this function:

static pascal ComponentResult getconfigGlue ComponentInstance  comp,
tyioaconfigrecord config
[static]
 

Referenced by getconfigrecord(), and initIOAcomponents().

static boolean getconfigrecord hdlobject  h,
tyioaconfigrecord config
[static]
 

Definition at line 1308 of file iowacomponent.c.

References clearbytes(), config, findcomponent(), and getconfigGlue().

Referenced by callalwaysidle(), callcaneditvalue(), callcantdrawinbitmap(), calleditableinrunmode(), callfontaware(), callframewhenediting(), callgetobjectflagname(), callgetobjectname(), callhandlesmousetrack(), callhasspecialcard(), callmutallyexclusive(), callspeaksforgroup(), and calltoggleflagwhenhit().

Here is the call graph for this function:

boolean initIOAcomponents Handle harray  ) 
 

Definition at line 1483 of file iowacomponent.c.

References addcomponent(), clearbytes(), config, ct, getconfigGlue(), i, and nil.

Referenced by iowaInit().

Here is the call graph for this function:

static pascal ComponentResult initobjectGlue ComponentInstance  comp,
tyobject obj
[static]
 

static boolean pregluecall hdlobject  h,
ComponentInstance *  comp
[static]
 

Definition at line 1005 of file iowacomponent.c.

References findcomponent(), tycard::fontinfo, globalfontinfo, iowadata, and nil.

Referenced by callcanreplicate(), callcatchreturn(), callcleanobject(), callclick(), calldebug(), calldisposedata(), calldrawobject(), calleditobject(), callgetattributes(), callgetcard(), callgeteditrect(), callgetinvalrect(), callgetvalue(), callidleobject(), callkeyobject(), callpackdata(), callrecalcobject(), callsetattributes(), callsetcursor(), callsetvalue(), and callunpackdata().

Here is the call graph for this function:

void restorecomponentarray Handle  harray  ) 
 

Definition at line 1539 of file iowacomponent.c.

References componentarray.

static pascal ComponentResult sizeof tyobject  ) 
 

static pascal ComponentResult sizeof hdlobject   ) 
 

Definition at line 860 of file iowacomponent.c.

static pascal ComponentResult sizeof tyioaconfigrecord  ) 
 

Referenced by binarytodesc(), ccsavefile(), ccwindowsetuptableview(), clayunpacklinelayout(), coercebinaryval(), coercetobinary(), coercetodouble(), copythreadglobals(), dballocate(), dbdeleteavailshadow(), dbfindpreviousavail(), dbflushheader(), dbinsertavailshadow(), dbsetavailshadow(), fwsNetEventListenStream(), fwsNetEventOpenAddrStream(), getipcaddressvalue(), getnetaddress(), hashpacktable(), hashpackvisit(), IACgetsender(), intablevisit(), landsystem7packverb(), langipcbrowsenetwork(), langipcexpandnetaddress(), odbSaveFile(), opunpacklist(), opunpackversion2(), outtablevisit(), sendodoc(), shellinitprint(), swapinthreadglobals(), tableafterprintpage(), tablebeforeprintpage(), tablebeginprint(), tableendprint(), and tableunpackversion1formats().


Variable Documentation

tycomponentrecord** componentarray = nil [static]
 

Definition at line 49 of file iowacomponent.c.

Referenced by addcomponent(), closeIOAcomponents(), countcomponents(), findcomponent(), main(), and restorecomponentarray().


Generated on Fri Jun 2 04:11:55 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6