langdialog.c File Reference

#include "frontier.h"
#include "standard.h"
#include "frontierwindows.h"
#include "dialogs.h"
#include "shellhooks.h"
#include "lang.h"
#include "langinternal.h"
#include "process.h"

Include dependency graph for langdialog.c:

Go to the source code of this file.

Data Structures

struct  tydialogglobals

Defines

#define userevents   (mDownMask + mUpMask + keyDownMask + keyUpMask + autoKeyMask)
#define maxnesteddialogs   3

Functions

static void pushdialogcall (void)
static void popdialogcall (void)
boolean langdialogrunning (void)
static boolean langvaliddialogitem (short itemnum)
static boolean langdialoggetitemparam (hdltreenode hfirst, short pnum, short *itemnum)
boolean langgetdialogvalue (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean langsetdialogvalue (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean langsetdialogitemenable (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean langsetdialogitemvis (hdltreenode hparam1, boolean fl, tyvaluerecord *vreturned)
static boolean langdialogitemhit (DialogPtr pdialog, short itemnumber)
boolean langrundialog (hdltreenode hparam1, tyvaluerecord *vreturned)

Variables

DialogPtr langmodaldialog = nil
static tydialogglobals dialogstack [maxnesteddialogs]
static short topdialog = 0
static hdltreenode hitemhitcallback


Define Documentation

#define maxnesteddialogs   3
 

Definition at line 43 of file langdialog.c.

Referenced by langrundialog().

#define userevents   (mDownMask + mUpMask + keyDownMask + keyUpMask + autoKeyMask)
 

Definition at line 41 of file langdialog.c.


Function Documentation

static boolean langdialoggetitemparam hdltreenode  hfirst,
short  pnum,
short itemnum
[static]
 

Definition at line 100 of file langdialog.c.

References bsfunctionname, dialognotrunningerror, getintvalue(), langdialogrunning(), langparamerror(), and langvaliddialogitem().

Referenced by langgetdialogvalue(), langsetdialogitemenable(), langsetdialogitemvis(), and langsetdialogvalue().

Here is the call graph for this function:

static boolean langdialogitemhit DialogPtr  pdialog,
short  itemnumber
[static]
 

Definition at line 370 of file langdialog.c.

References cleartmpstack(), coercetoboolean(), debuggingcurrentprocess(), fl, fldebugging, fldisableyield, getfrontwindow(), hitemhitcallback, langdisposetree(), langhandlercall(), langmodaldialog, newconstnode(), popdialogcall(), pushdialogcall(), setintvalue(), shellpopeventhook(), shellpusheventhook(), topdialog, and windowbringtofront().

Referenced by langdialogclose(), langrundialog(), and langrunmodeless().

Here is the call graph for this function:

boolean langdialogrunning void   ) 
 

Definition at line 81 of file langdialog.c.

References langmodaldialog, and nil.

boolean langgetdialogvalue hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 116 of file langdialog.c.

References bigstring, bitboolean, flnextparamislast, langdialoggetitemparam(), langmodaldialog, setbooleanvalue(), setintvalue(), setlongvalue(), setstringvalue(), and v.

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langrundialog hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 447 of file langdialog.c.

References cantloaddialogerror, cantnestdialogserror, customdialog(), fl, flnextparamislast, getaddressparam(), getintvalue(), hitemhitcallback, htree, langdialogitemhit(), langdisposetree(), langerror(), langlongparamerror(), maxnesteddialogs, pushfunctionreference(), setbooleanvalue(), and topdialog.

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langsetdialogitemenable hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 268 of file langdialog.c.

References disabledialogitem(), enabledialogitem(), fl, flnextparamislast, getbooleanvalue(), langdialoggetitemparam(), langmodaldialog, and setbooleanvalue().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langsetdialogitemvis hdltreenode  hparam1,
boolean  fl,
tyvaluerecord vreturned
 

Definition at line 292 of file langdialog.c.

References flnextparamislast, hidedialogitem(), langdialoggetitemparam(), langmodaldialog, setbooleanvalue(), and showdialogitem().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langsetdialogvalue hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 184 of file langdialog.c.

References bigstring, flnextparamislast, getbooleanvalue(), getintvalue(), getstringvalue(), langdialoggetitemparam(), langmodaldialog, setbooleanvalue(), and setdialogtext().

Referenced by langfunctionvalue().

Here is the call graph for this function:

static boolean langvaliddialogitem short  itemnum  )  [static]
 

Definition at line 87 of file langdialog.c.

References dialogcountitems(), dialogitemnumerror, langlongparamerror(), and langmodaldialog.

Referenced by langdialoggetitemparam().

Here is the call graph for this function:

static void popdialogcall void   )  [static]
 

Definition at line 73 of file langdialog.c.

References dialogstack, tydialogglobals::hcode, hitemhitcallback, langmodaldialog, tydialogglobals::pdialog, and topdialog.

Referenced by langdialogitemhit().

static void pushdialogcall void   )  [static]
 

Definition at line 65 of file langdialog.c.

References dialogstack, tydialogglobals::hcode, hitemhitcallback, langmodaldialog, tydialogglobals::pdialog, and topdialog.

Referenced by langdialogitemhit().


Variable Documentation

tydialogglobals dialogstack[maxnesteddialogs] [static]
 

Definition at line 56 of file langdialog.c.

Referenced by popdialogcall(), and pushdialogcall().

hdltreenode hitemhitcallback [static]
 

Definition at line 60 of file langdialog.c.

Referenced by langdialogitemhit(), langrundialog(), popdialogcall(), and pushdialogcall().

DialogPtr langmodaldialog = nil
 

Definition at line 53 of file langdialog.c.

Referenced by langdialogitemhit(), langdialogrunning(), langgetdialogvalue(), langsetdialogitemenable(), langsetdialogitemvis(), langsetdialogvalue(), langvaliddialogitem(), popdialogcall(), and pushdialogcall().

short topdialog = 0 [static]
 

Definition at line 58 of file langdialog.c.

Referenced by langdialogitemhit(), langrundialog(), popdialogcall(), and pushdialogcall().


Generated on Sat Jun 3 00:06:35 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6