shellwindowverbs.c File Reference

#include "frontier.h"
#include "standard.h"
#include "shell.h"
#include "shellprivate.h"
#include "about.h"
#include "file.h"
#include "resources.h"
#include "strings.h"
#include "frontierwindows.h"
#include "db.h"
#include "command.h"
#include "lang.h"
#include "langexternal.h"
#include "langinternal.h"
#include "tablestructure.h"
#include "scripts.h"
#include "kernelverbs.h"
#include "kernelverbdefs.h"
#include "shellbuttons.h"
#include "opinternal.h"
#include "opbuttons.h"
#include "tableverbs.h"

Include dependency graph for shellwindowverbs.c:

Go to the source code of this file.

Defines

#define windowerrorlist   268
#define notimplementederror   1

Enumerations

enum  tywindowtoken {
  isopenfunc, openfunc, isfrontfunc, bringtofrontfunc,
  sendtobackfunc, frontmostfunc, nextfunc, isvisiblefunc,
  showfunc, hidefunc, closefunc, updatefunc,
  ismenuscriptfunc, getposfunc, setposfunc, getsizefunc,
  setsizefunc, zoomfunc, runselectionfunc, scrollfunc,
  msgfunc, systemstatsfunc, quickscriptfunc, isdirtyfunc,
  setdirtyfunc, gettitlefunc, settitlefunc, aboutfunc,
  getfilefunc, isreadonlyfunc, ctwindowverbs
}

Functions

static boolean getwinaddressparam (hdltreenode hfirst, short pnum, hdlwindowinfo *hinfo)
boolean getwinparam (hdltreenode hfirst, short pnum, hdlwindowinfo *hinfo)
boolean setwinvalue (WindowPtr pwindow, tyvaluerecord *val)
static boolean isopenverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean openverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror)
static boolean isreadonlyverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean isfrontverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean bringtofrontverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean sendtobackverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean frontmostverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean nextverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean isvisibleverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean showhideverb (hdltreenode hparam1, boolean flshow, tyvaluerecord *vreturned)
static boolean closeverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean updateverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean ismenuscriptverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean getboundsverb (hdltreenode hparam1, boolean flsize, tyvaluerecord *vreturned)
static boolean setboundsverb (hdltreenode hparam1, boolean flsize, tyvaluerecord *vreturned)
static boolean zoomverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean getdirtywinparam (hdltreenode hfirst, short pnum, hdlwindowinfo *hinfo, hdlexternalvariable *hvariable)
static boolean isdirtyverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean setdirtyverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean gettitleverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean settitleverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean getfileverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean windowfunctionvalue (short token, hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror)
boolean windowinitverbs (void)


Define Documentation

#define notimplementederror   1
 

Definition at line 58 of file shellwindowverbs.c.

#define windowerrorlist   268
 

Definition at line 57 of file shellwindowverbs.c.

Referenced by windowfunctionvalue().


Enumeration Type Documentation

enum tywindowtoken
 

Enumerator:
isopenfunc 
openfunc 
isfrontfunc 
bringtofrontfunc 
sendtobackfunc 
frontmostfunc 
nextfunc 
isvisiblefunc 
showfunc 
hidefunc 
closefunc 
updatefunc 
ismenuscriptfunc 
getposfunc 
setposfunc 
getsizefunc 
setsizefunc 
zoomfunc 
runselectionfunc 
scrollfunc 
msgfunc 
systemstatsfunc 
quickscriptfunc 
isdirtyfunc 
setdirtyfunc 
gettitlefunc 
settitlefunc 
aboutfunc 
getfilefunc 
isreadonlyfunc 
ctwindowverbs 

Definition at line 61 of file shellwindowverbs.c.


Function Documentation

static boolean bringtofrontverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 498 of file shellwindowverbs.c.

References fl, flnextparamislast, getwinparam(), nil, setbooleanvalue(), and shellbringtofront().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean closeverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 661 of file shellwindowverbs.c.

References BIGSTRING, tyvaluerecord::data, fl, flnextparamislast, tyvaluedata::flvalue, getoptionalparamvalue(), getwinparam(), nil, setbooleanvalue(), and shellclose().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean frontmostverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 562 of file shellwindowverbs.c.

References langcheckparamcount(), nil, setwinvalue(), and shellfindtargetwindow().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean getboundsverb hdltreenode  hparam1,
boolean  flsize,
tyvaluerecord vreturned
[static]
 

Definition at line 783 of file shellwindowverbs.c.

References bigstring, tyvaluerecord::data, fl, flnextparamislast, getvarparam(), getwinparam(), hashtableassign(), tyvaluedata::intvalue, nil, r, setbooleanvalue(), setintvalue(), and shellgetglobalwindowrect().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean getdirtywinparam hdltreenode  hfirst,
short  pnum,
hdlwindowinfo hinfo,
hdlexternalvariable hvariable
[static]
 

Definition at line 893 of file shellwindowverbs.c.

References bigstring, tyvaluerecord::data, disablelangerror(), enablelangerror(), tyvaluedata::externalvalue, externalvaluetype, fl, getvarvalue(), getwinparam(), hnode, nil, return(), and tyvaluerecord::valuetype.

Referenced by isdirtyverb(), and setdirtyverb().

Here is the call graph for this function:

static boolean getfileverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 1048 of file shellwindowverbs.c.

References flnextparamislast, getwinparam(), nil, setfilespecvalue(), setstringvalue(), windowgetfspec(), and zerostring.

Referenced by handleapp1verb(), and windowfunctionvalue().

Here is the call graph for this function:

static boolean gettitleverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 987 of file shellwindowverbs.c.

References bigstring, fl, flnextparamislast, getwinparam(), nil, setemptystring, setstringvalue(), and shellgetwindowtitle().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean getwinaddressparam hdltreenode  hfirst,
short  pnum,
hdlwindowinfo hinfo
[static]
 

Definition at line 135 of file shellwindowverbs.c.

References bigstring, getvarvalue(), hnode, langexternalwindowopen(), and nil.

Referenced by getwinparam().

Here is the call graph for this function:

boolean getwinparam hdltreenode  hfirst,
short  pnum,
hdlwindowinfo hinfo
 

Definition at line 153 of file shellwindowverbs.c.

References bigstring, disablelangerror(), enablelangerror(), fl, getstringvalue(), getwinaddressparam(), and shellfindnamedwindow().

Referenced by bringtofrontverb(), closeverb(), filemenufunctionvalue(), getboundsverb(), getdirtywinparam(), getfileverb(), gettitleverb(), isfrontverb(), ismenuscriptverb(), isopenverb(), isvisibleverb(), langpackwindowverb(), nextverb(), sendtobackverb(), setboundsverb(), settitleverb(), showhideverb(), updateverb(), windowfunctionvalue(), and zoomverb().

Here is the call graph for this function:

static boolean isdirtyverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 927 of file shellwindowverbs.c.

References flnextparamislast, getdirtywinparam(), langexternalisdirty(), nil, and setbooleanvalue().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean isfrontverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 464 of file shellwindowverbs.c.

References fl, flnextparamislast, getwinparam(), nil, setbooleanvalue(), and shellfindtargetwindow().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean ismenuscriptverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 727 of file shellwindowverbs.c.

References tyshellglobals::configresnum, fl, flnextparamislast, getwinparam(), idscriptconfig, nil, scriptinmenubar(), setbooleanvalue(), shellglobals, shellpopglobals(), and shellpushglobals().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean isopenverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 257 of file shellwindowverbs.c.

References flnextparamislast, getwinparam(), nil, and setbooleanvalue().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean isreadonlyverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 433 of file shellwindowverbs.c.

References bigstring, tyvaluerecord::data, tyvaluedata::externalvalue, externalvaluetype, flnextparamislast, getvarvalue(), hnode, langexternalgetreadonly(), setbooleanvalue(), and tyvaluerecord::valuetype.

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean isvisibleverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 614 of file shellwindowverbs.c.

References fl, flnextparamislast, getwinparam(), nil, setbooleanvalue(), and windowvisible().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean nextverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 587 of file shellwindowverbs.c.

References flnextparamislast, getwinparam(), nil, setwinvalue(), and shellnextwindow().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean openverb hdltreenode  hparam1,
tyvaluerecord vreturned,
bigstring  bserror
[static]
 

Definition at line 276 of file shellwindowverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, tyvaluedata::externalvalue, externalvaluetype, flnextparamislast, getbooleanvalue(), gettablevalue(), getvarvalue(), hnode, idoutlineprocessor, idscriptprocessor, idwordprocessor, langerrormessage(), langexternalsetreadonly(), langgetparamcount(), langzoomvalwindow(), opbuttonsattach(), setbooleanvalue(), shelladjustaftergrow(), shellclose(), shellfinddatawindow(), shellpopglobals(), shellpushglobals(), and tyvaluerecord::valuetype.

Referenced by handleapp1verb(), and windowfunctionvalue().

Here is the call graph for this function:

static boolean sendtobackverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 534 of file shellwindowverbs.c.

References fl, flnextparamislast, getwinparam(), nil, setbooleanvalue(), and windowsendtoback().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean setboundsverb hdltreenode  hparam1,
boolean  flsize,
tyvaluerecord vreturned
[static]
 

Definition at line 833 of file shellwindowverbs.c.

References fl, flnextparamislast, getintvalue(), getwinparam(), nil, setbooleanvalue(), shellmovewindow(), and shellsizewindow().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean setdirtyverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 955 of file shellwindowverbs.c.

References fl, flnextparamislast, getbooleanvalue(), getdirtywinparam(), langexternalsetdirty(), nil, setbooleanvalue(), and shellsetwindowchanges().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean settitleverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 1016 of file shellwindowverbs.c.

References bigstring, fl, flnextparamislast, getstringvalue(), getwinparam(), nil, setbooleanvalue(), shellsetwindowtitle(), and shellwindowmenudirty().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

boolean setwinvalue WindowPtr  pwindow,
tyvaluerecord val
 

Definition at line 191 of file shellwindowverbs.c.

References bigstring, fl, tyshellglobals::getvariableroutine, langexternalbracketname(), langexternalfindvariable(), nil, setaddressvalue(), setstringvalue(), shellgetwindowtitle(), shellglobals, shellpopglobals(), shellpushglobals(), shellwindowinfo, windowgetpath(), and zerostring.

Referenced by filemenufunctionvalue(), frontmostverb(), nextverb(), and shellrunwindowconfirmationscript().

Here is the call graph for this function:

static boolean showhideverb hdltreenode  hparam1,
boolean  flshow,
tyvaluerecord vreturned
[static]
 

Definition at line 635 of file shellwindowverbs.c.

References fl, flnextparamislast, getwinparam(), nil, setbooleanvalue(), shellhidewindow(), and shellunhidewindow().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean updateverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 702 of file shellwindowverbs.c.

References fl, flnextparamislast, getwinparam(), nil, setbooleanvalue(), shellupdatenow(), and shellwindowinval().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

static boolean windowfunctionvalue short  token,
hdltreenode  hparam1,
tyvaluerecord vreturned,
bigstring  bserror
[static]
 

Definition at line 1070 of file shellwindowverbs.c.

References aboutcommand(), aboutfunc, badwindowerror, bigstring, bringtofrontfunc, bringtofrontverb(), closefunc, closeverb(), dbstatsmessage(), error, errornum, tyshellglobals::executeroutine, flnextparamislast, frontmostfunc, frontmostverb(), getboundsverb(), getdirectionvalue(), getfilefunc, getfileverb(), getlongvalue(), getposfunc, getsizefunc, getstringlist(), getstringvalue(), gettitlefunc, gettitleverb(), getwinparam(), hidefunc, isdirtyfunc, isdirtyverb(), isfrontfunc, isfrontverb(), ismenuscriptfunc, ismenuscriptverb(), isopenfunc, isopenverb(), isreadonlyfunc, isreadonlyverb(), isvisiblefunc, isvisibleverb(), langcheckparamcount(), langerrorlist, langgetparamcount(), msgfunc, nextfunc, nextverb(), nil, notimplementederror, openfunc, openverb(), quickscriptfunc, runselectionfunc, scrollfunc, tyshellglobals::scrollroutine, sendtobackfunc, sendtobackverb(), setbooleanvalue(), setboundsverb(), setdirtyfunc, setdirtyverb(), setposfunc, setsizefunc, settitlefunc, settitleverb(), shellfrontwindowmessage(), shellgetdatabase(), shellglobals, shellpopglobals(), shellpushtargetglobals(), shellupdatescrollbars(), shellwindowinfo, showfunc, showhideverb(), startcmddialog(), systemstatsfunc, updatefunc, updateverb(), v, windowerrorlist, zoomfunc, and zoomverb().

Referenced by windowinitverbs().

Here is the call graph for this function:

boolean windowinitverbs void   ) 
 

Definition at line 1284 of file shellwindowverbs.c.

References idwindowverbs, loadfunctionprocessor(), and windowfunctionvalue().

Referenced by shellinit().

Here is the call graph for this function:

static boolean zoomverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 866 of file shellwindowverbs.c.

References fl, flnextparamislast, getwinparam(), nil, setbooleanvalue(), shellglobals, shellpopglobals(), shellpushglobals(), and tyshellglobals::zoomwindowroutine.

Referenced by windowfunctionvalue().

Here is the call graph for this function:


Generated on Tue Jun 13 13:15:21 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6