langmodeless.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "cursor.h"
#include "dialogs.h"
#include "kb.h"
#include "mouse.h"
#include "frontierconfig.h"
#include "ops.h"
#include "scrap.h"
#include "strings.h"
#include "timedate.h"
#include "frontierwindows.h"
#include "shell.h"
#include "lang.h"
#include "langinternal.h"
#include "process.h"

Include dependency graph for langmodeless.c:

Go to the source code of this file.

Data Structures

struct  tydialogrecord
struct  finddialoginfo

Typedefs

typedef tydialogrecordptrdialogrecord
typedef tydialogrecord ** hdldialogrecord
typedef finddialoginfo tyfinddialoginfo
typedef finddialoginfoptrfinddialoginfo

Functions

static boolean langdialogselectall (void)
static boolean langdialogsearch (void)
static boolean langdialoggettargetdata (short id)
static boolean langdialogmousedown (Point pt, tyclickflags flags)
static boolean langdialogkeystroke (void)
static boolean langdialogitemhit (hdltreenode, short, boolean)
static boolean langdialogclose (void)
static void langdialogupdate (void)
static void langdialogactivate (boolean flactivate)
static boolean langdialogadjustcursor (Point pt)
static boolean langdialogsetselectioninfo (void)
static void langdialogidle (void)
static boolean langdialogcopy (void)
static boolean langdialogpaste (void)
static boolean langdialogclear (void)
static boolean langdialogcut (void)
static boolean langdialogdebugger (hdltreenode hnode)
static void langdialogdispose (hdldialogrecord hdialog)
static boolean finddialogvisit (WindowPtr w, ptrvoid refcon)
static boolean langdialogfindwindow (short dialogid, hdldialogrecord *hdialog)
static boolean langdialognewwindow (short dialogid, short defaultitem, hdltreenode htree, hdldialogrecord *hdialog)
static boolean langdialogsleepexpired (void)
boolean langrunmodeless (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean langdialogstart (void)

Variables

WindowPtr langdialogwindow = nil
hdlwindowinfo langdialogwindowinfo = nil
hdldialogrecord langdialogdata = nil
static langtreenodecallback savedebugger


Typedef Documentation

typedef struct tydialogrecord ** hdldialogrecord
 

typedef struct tydialogrecord * ptrdialogrecord
 

typedef struct finddialoginfo * ptrfinddialoginfo
 

typedef struct finddialoginfo tyfinddialoginfo
 


Function Documentation

static boolean finddialogvisit WindowPtr  w,
ptrvoid  refcon
[static]
 

Definition at line 497 of file langmodeless.c.

References getwindowinfo(), and nil.

Referenced by langdialogfindwindow().

Here is the call graph for this function:

static void langdialogactivate boolean  flactivate  )  [static]
 

Definition at line 252 of file langmodeless.c.

References dialogactivate(), and langdialogwindow.

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogadjustcursor Point  pt  )  [static]
 

Definition at line 266 of file langmodeless.c.

References cursorisarrow, and setcursortype().

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogclear void   )  [static]
 

Definition at line 371 of file langmodeless.c.

References langdialogwindow.

Referenced by langdialogcut(), and langdialogstart().

static boolean langdialogclose void   )  [static]
 

Definition at line 179 of file langmodeless.c.

References flcanusethreads, tydialogrecord::flwindowopen, langdialogdata, langdialogitemhit(), processchecktimeouts(), and processyield().

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogcopy void   )  [static]
 

Definition at line 324 of file langmodeless.c.

References copyhandle(), disposehandle(), langdialogwindow, nil, shellsetscrap(), and textscraptype.

Referenced by langdialogcut(), and langdialogstart().

Here is the call graph for this function:

static boolean langdialogcut void   )  [static]
 

Definition at line 383 of file langmodeless.c.

References langdialogclear(), and langdialogcopy().

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogdebugger hdltreenode  hnode  )  [static]
 

Definition at line 395 of file langmodeless.c.

References tylangcallbacks::debuggercallback, tyerrorrecord::errorcallback, tyerrorrecord::errorrefcon, langcallbacks, nil, savedebugger, tylangcallbacks::scripterrorstack, and tyerrorstack::stack.

Referenced by langdialogitemhit().

static void langdialogdispose hdldialogrecord  hdialog  )  [static]
 

Definition at line 473 of file langmodeless.c.

References disposehandle(), and shellclosewindow().

Referenced by langrunmodeless().

Here is the call graph for this function:

static boolean langdialogfindwindow short  dialogid,
hdldialogrecord hdialog
[static]
 

Definition at line 519 of file langmodeless.c.

References finddialogvisit(), finddialoginfo::hdialogfound, idlangdialogconfig, finddialoginfo::idtofind, and shellvisittypedwindows().

Referenced by langrunmodeless().

Here is the call graph for this function:

static boolean langdialoggettargetdata short  id  )  [static]
 

Definition at line 116 of file langmodeless.c.

References currentprocess, and langdialogdata.

Referenced by langdialogstart().

static void langdialogidle void   )  [static]
 

Definition at line 311 of file langmodeless.c.

References dialogidle(), and langdialogwindow.

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogitemhit hdltreenode  ,
short  ,
boolean 
[static]
 

Definition at line 417 of file langmodeless.c.

References cleartmpstack(), coercetoboolean(), tylangcallbacks::debuggercallback, fl, htree, langcallbacks, langdialogdebugger(), langdialogwindow, langdisposetree(), langhandlercall(), langmodaldialog, newconstnode(), savedebugger, and setintvalue().

Here is the call graph for this function:

static boolean langdialogkeystroke void   )  [static]
 

Definition at line 158 of file langmodeless.c.

References dialogevent(), langdialogdata, langdialogwindow, and shellevent.

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogmousedown Point  pt,
tyclickflags  flags
[static]
 

Definition at line 133 of file langmodeless.c.

References dialogevent(), langdialogdata, langdialogwindow, mouseup(), and shellevent.

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialognewwindow short  dialogid,
short  defaultitem,
hdltreenode  htree,
hdldialogrecord hdialog
[static]
 

Definition at line 534 of file langmodeless.c.

References bigstring, copystring(), currentprocess, tydialogrecord::dialogid, disposehandle(), getwindowinfo(), htree, idlangdialogconfig, langdialogdata, langdialogwindow, langdialogwindowinfo, longsizeof, newchildwindow(), newclearhandle(), nil, setdefaultitem(), shellgetconfig(), shellgetfrontrootinfo(), shellsetconfig(), and tyconfigrecord::templateresnum.

Referenced by langrunmodeless().

Here is the call graph for this function:

static boolean langdialogpaste void   )  [static]
 

Definition at line 342 of file langmodeless.c.

References copyhandlecontents(), DisposeHandle, gethandlesize(), langdialogwindow, shellconvertscrap(), shellwritescrap(), and textscraptype.

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogsearch void   )  [static]
 

Definition at line 91 of file langmodeless.c.

References fl, langdialogwindow, nil, tyshellglobals::searchroutine, shellglobals, shellnextwindow(), shellpopglobals(), and shellpushglobals().

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogselectall void   )  [static]
 

Definition at line 83 of file langmodeless.c.

References dialogselectall(), and langdialogwindow.

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogsetselectioninfo void   )  [static]
 

Definition at line 303 of file langmodeless.c.

References clearbytes(), and longsizeof.

Referenced by langdialogstart().

Here is the call graph for this function:

static boolean langdialogsleepexpired void   )  [static]
 

Definition at line 611 of file langmodeless.c.

References timenow().

Referenced by langrunmodeless().

Here is the call graph for this function:

boolean langdialogstart void   ) 
 

Definition at line 810 of file langmodeless.c.

References idlangdialogconfig, langdialogactivate(), langdialogadjustcursor(), langdialogclear(), langdialogclose(), langdialogcopy(), langdialogcut(), langdialogdata, langdialoggettargetdata(), langdialogidle(), langdialogkeystroke(), langdialogmousedown(), langdialogpaste(), langdialogsearch(), langdialogselectall(), langdialogsetselectioninfo(), langdialogupdate(), langdialogwindow, langdialogwindowinfo, loadconfigresource(), and shellnewcallbacks().

Here is the call graph for this function:

static void langdialogupdate void   )  [static]
 

Definition at line 231 of file langmodeless.c.

References dialogupdate(), langdialogwindow, shellevent, updateEvt, and tyEventRecord::what.

Referenced by langdialogstart().

Here is the call graph for this function:

boolean langrunmodeless hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 629 of file langmodeless.c.

References cantloaddialogerror, debuggingcurrentprocess(), dialogitemisbutton(), dialogselectall(), fl, flcanusethreads, fllangerror, flnextparamislast, tykeystrokerecord::floptionkey, getaddressparam(), getintvalue(), htree, keyboardstatus, langdialogdispose(), langdialogfindwindow(), langdialogitemhit(), langdialognewwindow(), langdialogsleepexpired(), langdisposetree(), langlongparamerror(), languserescaped(), nil, processnotbusy(), processsleep(), processyield(), pushfunctionreference(), setbooleanvalue(), shellbringtofront(), shellpopglobals(), shellpushglobals(), shellshorteventloop(), shellwindow, shellwindowinfo, TARGET_API_MAC_CARBON, windowbringtofront(), and windowzoom().

Here is the call graph for this function:


Variable Documentation

hdldialogrecord langdialogdata = nil
 

Definition at line 78 of file langmodeless.c.

Referenced by langdialogclose(), langdialoggettargetdata(), langdialogkeystroke(), langdialogmousedown(), langdialognewwindow(), and langdialogstart().

WindowPtr langdialogwindow = nil
 

Definition at line 74 of file langmodeless.c.

Referenced by langdialogactivate(), langdialogclear(), langdialogcopy(), langdialogidle(), langdialogitemhit(), langdialogkeystroke(), langdialogmousedown(), langdialognewwindow(), langdialogpaste(), langdialogsearch(), langdialogselectall(), langdialogstart(), and langdialogupdate().

hdlwindowinfo langdialogwindowinfo = nil
 

Definition at line 76 of file langmodeless.c.

Referenced by langdialognewwindow(), and langdialogstart().

langtreenodecallback savedebugger [static]
 

Definition at line 392 of file langmodeless.c.

Referenced by langdialogdebugger(), and langdialogitemhit().


Generated on Sun Jun 4 12:31:51 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6