iowaruntime.h File Reference

#include "iowacore.h"

Include dependency graph for iowaruntime.h:

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

Go to the source code of this file.

Data Structures

struct  tyruntimerecord

Defines

#define iowaInitEvent   1000
#define iowaButtonHitEvent   1001
#define iowaCloseEvent   1002
#define iowaRunScriptEvent   1003
#define iowaCancelEvent   1004
#define iowaSetHandleEvent   1005
#define iowaOkeyDokeyEvent   1006

Typedefs

typedef boolean(* tycardwindowvisitroutine )(WindowPtr)
typedef void(* tycardeventcallback )(EventRecord *)
typedef tyruntimerecord ** hdlruntimerecord

Functions

boolean initIowaRuntime (void)
WindowPtr newCardWindow (Point, boolean, Handle)
boolean handleCardEvent (WindowPtr w, EventRecord *, boolean *)
boolean cardEditCommand (short)
boolean isCardWindow (WindowPtr)
boolean cardToFront (bigstring)
boolean recalcCardWindow (WindowPtr, boolean)
boolean visitCardWindows (tycardwindowvisitroutine)
short countCardWindows (void)
boolean closeCardWindow (WindowPtr)
void closeAllCardWindows (void)
void getCardData (WindowPtr, hdlruntimerecord *)
boolean isModelessCardEvent (EventRecord *, boolean *)
boolean cardIsModal (Handle)
void installRuntimeEventHandlers (void)
boolean runModalCard (Handle, boolean, short, short, tycardeventcallback)
boolean runModelessCard (Handle, boolean, short, short, tycardeventcallback)
boolean runCard (Handle, boolean, short, short, tycardeventcallback)
boolean runHostedCard (WindowPtr hostwindow, Handle hpackedcard, boolean flscriptedcard, tycardeventcallback pcallback)
boolean setObjectValue (hdlcard, bigstring, Handle)
boolean getObjectValue (hdlcard, bigstring, Handle *)
boolean getObjectHandle (hdlcard, bigstring, hdlobject *)
boolean recalcObject (hdlobject)
boolean updateCard (hdlcard)
WindowPtr getcardrecordwindow (hdlcard card)

Variables

hdlruntimerecord runtimedata
boolean flquickrecalc
boolean flexitcardloop
boolean flalertdialogrunning


Define Documentation

#define iowaButtonHitEvent   1001
 

Definition at line 39 of file iowaruntime.h.

Referenced by alertfilter(), appscriptedmodalcardfilter(), askfilter(), modelessfilter(), replaceexistingfilter(), sendbuttonhitmessage(), threewayfilter(), and twowayfilter().

#define iowaCancelEvent   1004
 

Definition at line 42 of file iowaruntime.h.

Referenced by sendclosemessage().

#define iowaCloseEvent   1002
 

Definition at line 40 of file iowaruntime.h.

Referenced by aboutfilter(), alertfilter(), askfilter(), replaceexistingfilter(), sendbuttonhitmessage(), sendclosemessage(), threewayfilter(), and twowayfilter().

#define iowaInitEvent   1000
 

Definition at line 38 of file iowaruntime.h.

Referenced by aboutfilter(), alertfilter(), askfilter(), replaceexistingfilter(), sendinitmessage(), threewayfilter(), and twowayfilter().

#define iowaOkeyDokeyEvent   1006
 

Definition at line 44 of file iowaruntime.h.

Referenced by handleCardEvent().

#define iowaRunScriptEvent   1003
 

Definition at line 41 of file iowaruntime.h.

Referenced by appscriptedmodalcardfilter(), modelessfilter(), and sendbuttonhitmessage().

#define iowaSetHandleEvent   1005
 

Definition at line 43 of file iowaruntime.h.

Referenced by filterevent().


Typedef Documentation

typedef struct tyruntimerecord ** hdlruntimerecord
 

typedef void(* tycardeventcallback)(EventRecord *)
 

Definition at line 49 of file iowaruntime.h.

typedef boolean(* tycardwindowvisitroutine)(WindowPtr)
 

Definition at line 47 of file iowaruntime.h.


Function Documentation

boolean cardEditCommand short   ) 
 

Definition at line 1683 of file iowaruntime.c.

References clearCmd, copyCmd, cutCmd, editcopy(), editcut(), editpaste(), editreplace(), editselectall(), getwindowcardrecord(), hcard, inwindowarray(), nil, pasteCmd, and selectAllCmd.

Referenced by appcopycommand(), clearcommand(), cutcommand(), and pastecommand().

Here is the call graph for this function:

boolean cardIsModal Handle   ) 
 

Definition at line 2056 of file iowaruntime.c.

References DebugStr(), longsizeof, and moveleft().

Referenced by appruncard(), and runCard().

Here is the call graph for this function:

boolean cardToFront bigstring   ) 
 

Definition at line 252 of file iowaruntime.c.

References bigstring, ct, equalstrings(), i, nil, and sizewindowarray().

Here is the call graph for this function:

void closeAllCardWindows void   ) 
 

Definition at line 1297 of file iowaruntime.c.

References closeCardWindow(), ct, i, and sizewindowarray().

Referenced by closeallwindows(), and runmodemousedown().

Here is the call graph for this function:

boolean closeCardWindow WindowPtr   ) 
 

Definition at line 1239 of file iowaruntime.c.

References clearactivetextobject(), disposehandle(), flexitcardloop, getwindowcardrecord(), getwindowdata(), iowadata, iowadisposerecord(), isCardWindow(), nil, popmacport(), pushmacport(), removefromwindowarray(), runtimedata, and sendclosemessage().

Referenced by closeAllCardWindows(), closefrontwindow(), runModalCard(), runmodekeystroke(), runmodemousedown(), and sendbuttonhitmessage().

Here is the call graph for this function:

short countCardWindows void   ) 
 

Definition at line 165 of file iowaruntime.c.

References ct, hwindowarray, i, nil, and sizewindowarray().

Here is the call graph for this function:

void getCardData WindowPtr  ,
hdlruntimerecord
 

Definition at line 1672 of file iowaruntime.c.

References getwindowdata().

Here is the call graph for this function:

WindowPtr getcardrecordwindow hdlcard  card  ) 
 

Definition at line 142 of file iowaruntime.c.

References cardtofind, getcardrecordwindowvisit(), iowadata, runtimedata, visitCardWindows(), and windowtofind.

Here is the call graph for this function:

boolean getObjectHandle hdlcard  ,
bigstring  ,
hdlobject
 

Definition at line 1994 of file iowaruntime.c.

References fl, h, hcard, iowadata, and lookupname().

Referenced by cardobjectexists(), emptycardpassword(), getcardbit(), getcardcolorpopup(), getcardflag(), getcardpassword(), getcardpopup(), getcardpopupstring(), invalcardobject(), setcardappbit(), setcardcolorpopup(), setcardenable(), setcardflag(), setcardicon(), setcardpassword(), setcardpopup(), setcardpopupcheckeditem(), setcardtextcolor(), setcardtmpbit(), and setradiotext().

Here is the call graph for this function:

boolean getObjectValue hdlcard  ,
bigstring  ,
Handle
 

Definition at line 1979 of file iowaruntime.c.

References fl, getCardValue(), hcard, and iowadata.

Referenced by askfilter(), getcardstring(), getcardtexthandle(), and replacecardtexthandle().

Here is the call graph for this function:

boolean handleCardEvent WindowPtr  w,
EventRecord ,
boolean
 

Definition at line 1799 of file iowaruntime.c.

References activateEvt, activeFlag, autoKey, cardcheckinit(), checkinvisibles(), chescape, tykeystrokerecord::chkb, filterevent(), getwindowcardrecord(), getwindowdata(), inwindowarray(), iowadata, iowaOkeyDokeyEvent, keyboardstatus, keyDown, mouseDown, mouseUp, nil, popmacport(), pushmacport(), releasetemphandles(), resumeFlag, returnkeyvisit(), runmodeactivate(), runmodecheckupdate(), runmodeidle(), runmodekeystroke(), runmodemousedown(), runmodemouseup(), runmodeupdate(), runtimedata, setkeyboardstatus(), updateEvt, and visitobjects().

Referenced by isModelessCardEvent(), nullsforallvisit(), and runModalCard().

Here is the call graph for this function:

boolean initIowaRuntime void   ) 
 

Definition at line 2738 of file iowaruntime.c.

References RememberA5.

Referenced by appletinitmanagers(), and iowaInit().

void installRuntimeEventHandlers void   ) 
 

Definition at line 2275 of file iowaruntime.c.

References appleEventHandler(), appleEventHandlerUPP, nil, and typeWildCard.

Referenced by frontStartCard(), runHostedCard(), runModalCard(), and runModelessCard().

Here is the call graph for this function:

boolean isCardWindow WindowPtr   ) 
 

Definition at line 246 of file iowaruntime.c.

References inwindowarray().

Referenced by closeCardWindow(), getappwindow(), and isModelessCardEvent().

Here is the call graph for this function:

boolean isModelessCardEvent EventRecord ,
boolean
 

Definition at line 2461 of file iowaruntime.c.

References flreturn, geteventwindow(), handleCardEvent(), iowadata, isCardWindow(), nullsforall(), quickdrawglobal, and runtimedata.

Referenced by appleteventdispatcher().

Here is the call graph for this function:

WindowPtr newCardWindow Point  ,
boolean  ,
Handle 
 

Definition at line 1507 of file iowaruntime.c.

References addtowindowarray(), bigstring, bounds, cardContainsEditTextObject(), centerwindow(), disposehandle(), error, frameedittextrect(), IACglobals, iowadata, iowadisposerecord(), iowaunpack(), laythread(), longsizeof, newclearhandle(), nil, pt, quickdrawglobal, tycard::runmode, runmodeupdate(), runtimedata, sortobjectlist(), systemhascolor(), texthandletostring(), and tyIACglobals::waitroutine.

Referenced by runModalCard(), and runModelessCard().

Here is the call graph for this function:

boolean recalcCardWindow WindowPtr  ,
boolean 
 

Definition at line 574 of file iowaruntime.c.

References frontSetRuntimeCard(), getwindowcardrecord(), getwindowdata(), iowadata, majorrecalcvisit(), minorrecalcvisit(), nil, popmacport(), pushmacport(), runmodeupdate(), runtimedata, and visitobjects().

Here is the call graph for this function:

boolean recalcObject hdlobject   ) 
 

Definition at line 2009 of file iowaruntime.c.

References fl, h, iowadata, and recalcbottleneck().

Here is the call graph for this function:

boolean runCard Handle  ,
boolean  ,
short  ,
short  ,
tycardeventcallback 
 

Definition at line 2594 of file iowaruntime.c.

References cardIsModal(), fl, runModalCard(), and runModelessCard().

Referenced by appruncard().

Here is the call graph for this function:

boolean runHostedCard WindowPtr  hostwindow,
Handle  hpackedcard,
boolean  flscriptedcard,
tycardeventcallback  pcallback
 

Definition at line 2680 of file iowaruntime.c.

References flreturn, frontStartCard(), installRuntimeEventHandlers(), iowadata, moveIntoCardWindow(), nil, runtimedata, and sendinitmessage().

Here is the call graph for this function:

boolean runModalCard Handle  ,
boolean  ,
short  ,
short  ,
tycardeventcallback 
 

Definition at line 2310 of file iowaruntime.c.

References cardcheckinit(), closeCardWindow(), everyEvent, flexitcardloop, flreturn, frontStartCard(), geteventwindow(), tyPoint::h, handleCardEvent(), installRuntimeEventHandlers(), iowadata, newCardWindow(), nil, nullsforall(), passthruevent(), runtimedata, sendinitmessage(), tyPoint::v, and tyEventRecord::what.

Referenced by apprunmodalresource(), and runCard().

Here is the call graph for this function:

boolean runModelessCard Handle  ,
boolean  ,
short  ,
short  ,
tycardeventcallback 
 

Definition at line 2502 of file iowaruntime.c.

References cardcheckinit(), flreturn, frontStartCard(), tyPoint::h, installRuntimeEventHandlers(), iowadata, newCardWindow(), nil, quickdrawglobal, runtimedata, sendinitmessage(), and tyPoint::v.

Referenced by appopencardresource(), and runCard().

Here is the call graph for this function:

boolean setObjectValue hdlcard  ,
bigstring  ,
Handle 
 

Definition at line 1964 of file iowaruntime.c.

References fl, hcard, iowadata, and setCardValue().

Referenced by alertfilter(), askfilter(), replaceexistingfilter(), setcardstring(), setcardtexthandle(), threewayfilter(), and twowayfilter().

Here is the call graph for this function:

boolean updateCard hdlcard   ) 
 

Definition at line 2033 of file iowaruntime.c.

References getwindowdata(), hcard, iowadata, nil, runmodecheckupdate(), runmodeupdate(), and runtimedata.

Referenced by updatecard().

Here is the call graph for this function:

boolean visitCardWindows tycardwindowvisitroutine   ) 
 

Definition at line 1647 of file iowaruntime.c.

References ct, getwindowcardrecord(), getwindowdata(), i, iowadata, nil, runtimedata, and sizewindowarray().

Referenced by getcardrecordwindow(), and nullsforall().

Here is the call graph for this function:


Variable Documentation

boolean flalertdialogrunning
 

Definition at line 98 of file iowacore.c.

Referenced by cardFastScript().

boolean flexitcardloop
 

Definition at line 73 of file iowaruntime.c.

Referenced by closeCardWindow(), runModalCard(), and runmodekeystroke().

boolean flquickrecalc
 

Definition at line 87 of file iowaruntime.c.

Referenced by objectclick().

hdlruntimerecord runtimedata
 

Definition at line 71 of file iowaruntime.c.

Referenced by appleEventHandler(), closeCardWindow(), getcardrecordwindow(), handleCardEvent(), isModelessCardEvent(), moveIntoCardWindow(), newCardWindow(), nullsforall(), recalcCardWindow(), runHostedCard(), runModalCard(), runModelessCard(), runmodeupdate(), updateCard(), and visitCardWindows().


Generated on Fri Jun 2 05:25:17 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6