menuverbs.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "quickdraw.h"
#include "strings.h"
#include "kb.h"
#include "menu.h"
#include "ops.h"
#include "resources.h"
#include "search.h"
#include "shell.h"
#include "shellhooks.h"
#include "shellmenu.h"
#include "shellundo.h"
#include "lang.h"
#include "langexternal.h"
#include "tablestructure.h"
#include "menueditor.h"
#include "opinternal.h"
#include "opverbs.h"
#include "menuinternal.h"
#include "meprograms.h"
#include "menuverbs.h"
#include "cancoon.h"
#include "kernelverbdefs.h"

Include dependency graph for menuverbs.c:

Go to the source code of this file.

Data Structures

struct  tymenuvariable
struct  tyfindinfo

Defines

#define menustringlist   166
#define menutypestring   1
#define menusizestring   2
#define menuerrorlist   266
#define nomenuerror   1
#define namenotmenuerror   2

Typedefs

typedef tymenuvariableptrmenuvariable
typedef tymenuvariable ** hdlmenuvariable
typedef tyfindinfoptrfindinfo

Enumerations

enum  tymenutoken {
  zoomscriptfunc, buildmenubarfunc, clearmenubarfunc, isinstalledfunc,
  installfunc, removefunc, getscriptfunc, setscriptfunc,
  addmenucommandfunc, deletemenucommandfunc, addsubmenufunc, deletesubmenufunc,
  getcommandkeyfunc, setcommandkeyfunc, ctmenuverbs
}

Functions

boolean menuverbgettypestring (hdlexternalvariable hvariable, bigstring bs)
static boolean newmenuvariable (boolean flinmemory, long variabledata, hdlmenuvariable *h)
boolean menuverbunload (hdlexternalvariable hvariable)
static boolean menuverbinmemory (hdlmenuvariable hvariable)
boolean menuverbgetsize (hdlexternalvariable hvariable, long *size)
boolean menuverbgetdisplaystring (hdlexternalvariable hvariable, bigstring bs)
boolean menuverbisdirty (hdlexternalvariable hvariable)
boolean menuverbsetdirty (hdlexternalvariable hvariable, boolean fldirty)
boolean menuverbmemorypack (hdlexternalvariable hvariable, Handle *hpacked)
boolean menuverbmemoryunpack (Handle hpacked, long *ixload, hdlexternalvariable *h)
boolean menuverbpack (hdlexternalvariable hvariable, Handle *hpacked, boolean *flnewdbaddress)
boolean menuverbunpack (Handle hpacked, long *ixload, hdlexternalvariable *h)
boolean menuverbpacktotext (hdlexternalvariable hvariable, Handle htext)
boolean menuverbgettimes (hdlexternalvariable h, long *timecreated, long *timemodified)
boolean menuverbsettimes (hdlexternalvariable h, long timecreated, long timemodified)
static boolean mefindusedblocksvisit (hdlheadrecord hnode, ptrvoid refcon)
boolean menuverbfindusedblocks (hdlexternalvariable hvariable, bigstring bspath)
boolean menuverbfind (hdlexternalvariable hvariable, boolean *flzoom)
boolean menunewmenubar (hdlhashtable htable, bigstring bs, hdlmenurecord *hnewrecord)
static boolean menugetmenuvariable (hdlhashtable htable, bigstring bs, boolean *fltypeerror, hdlmenuvariable *hvariable)
boolean menugetmenubar (hdlhashtable htable, bigstring bs, boolean flcreate, hdlmenurecord *hmenubar)
static boolean getmenuparam (hdltreenode hfirst, short pnum, hdlmenuvariable *hv)
boolean menuwindowopen (hdlexternalvariable hvariable, hdlwindowinfo *hinfo)
boolean menuedit (hdlexternalvariable hvariable, hdlwindowinfo hparent, ptrfilespec fs, bigstring bstitle, rectparam rzoom)
static boolean menudisposevariable (hdlexternalvariable hvariable, boolean fldisk)
boolean menuverbdispose (hdlexternalvariable hvariable, boolean fldisk)
boolean menuverbnew (Handle hdata, hdlexternalvariable *hvariable)
static boolean menubuildverb (void)
static boolean menuclearverb (void)
static boolean getmenuparaminmemory (hdltreenode hparam1, hdlmenurecord *hmenurecord)
static boolean menuisinstalledverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean getmainmenuvalue (hdltreenode hparam1, hdlmenu *hmenu, short *idmenu)
static boolean menuinstallverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean menuremoveverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean menugetscriptverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean menugetcommandkeyverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean menusetcommandkeyverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean detachscript (hdlmenurecord hmenu, hdlheadrecord hnode)
static boolean attachscript (hdlmenurecord hmenu, hdlheadrecord hnode, hdloutlinerecord hscript)
static boolean menusetscriptverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean findheadlinevisit (hdlheadrecord hnode, ptrvoid refcon)
static void oprefreshdisplay ()
static boolean mepushmenudata (hdlmenurecord hmenurecord)
static boolean mepopmenudata (void)
static boolean getsubmenuvalue (hdltreenode hfirst, short pnum, hdlheadrecord *hsubmenu)
static void deletemenunode (hdlheadrecord hnode)
static boolean addmenucommandverb (hdltreenode hparam1, boolean flsubmenu, tyvaluerecord *v)
static boolean deletemenucommandverb (hdltreenode hparam1, boolean flsubmenu, tyvaluerecord *v)
static boolean menufunctionvalue (short token, hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror)
static boolean menuinitverbs (void)
static boolean menuverbkeystroke (void)
static boolean menuverbtitleclick (Point pt)
static boolean menuverbsetfont (void)
static boolean menuverbsetsize (void)
static boolean menuverbsetselectioninfo (void)
static boolean menuverbrunscript (void)
static boolean menuverbgetvariable (hdlexternalvariable *hvariable)
static boolean menuverbgettargetdata (short id)
static boolean menuchildclose (WindowPtr w)
static boolean menucheckwindowrect (void)
static boolean menuverbclose (void)
static boolean mebeginprint (void)
static boolean meendprint (void)
boolean menustart (void)

Variables

static short errornum = 0
static hdlmenurecord hmenudatasave = nil


Define Documentation

#define menuerrorlist   266
 

Definition at line 62 of file menuverbs.c.

Referenced by menufunctionvalue().

#define menusizestring   2
 

Definition at line 59 of file menuverbs.c.

Referenced by menuverbgetdisplaystring().

#define menustringlist   166
 

Definition at line 57 of file menuverbs.c.

Referenced by menuverbgetdisplaystring(), and menuverbgettypestring().

#define menutypestring   1
 

Definition at line 58 of file menuverbs.c.

Referenced by menuverbgettypestring().

#define namenotmenuerror   2
 

Definition at line 64 of file menuverbs.c.

Referenced by getmenuparam().

#define nomenuerror   1
 

Definition at line 63 of file menuverbs.c.

Referenced by menufunctionvalue().


Typedef Documentation

typedef struct tymenuvariable ** hdlmenuvariable
 

typedef struct tyfindinfo * ptrfindinfo
 

typedef struct tymenuvariable * ptrmenuvariable
 


Enumeration Type Documentation

enum tymenutoken
 

Enumerator:
zoomscriptfunc 
buildmenubarfunc 
clearmenubarfunc 
isinstalledfunc 
installfunc 
removefunc 
getscriptfunc 
setscriptfunc 
addmenucommandfunc 
deletemenucommandfunc 
addsubmenufunc 
deletesubmenufunc 
getcommandkeyfunc 
setcommandkeyfunc 
ctmenuverbs 

Definition at line 67 of file menuverbs.c.


Function Documentation

static boolean addmenucommandverb hdltreenode  hparam1,
boolean  flsubmenu,
tyvaluerecord v
[static]
 

Definition at line 1445 of file menuverbs.c.

References attachscript(), bigstring, deletemenunode(), detachscript(), disposehandle(), down, findheadlinevisit(), fl, flnextparamislast, getmenuparaminmemory(), getstringvalue(), getsubmenuvalue(), tyfindinfo::hfound, hnode, isemptystring, langexternalsetdirty(), longinfinity, mepopmenudata(), mepushmenudata(), newoutlinerecord(), newtexthandle(), nil, opaddheadline(), opdeposit(), opdirtyoutline(), opdisposeoutline(), opexpandto(), opfastcollapse(), opgetheadstring(), ophassubheads(), opnewstructure(), oppopoutline(), oppushoutline(), oprecursivelyvisit(), oprefreshdisplay(), oprepeatedbump(), opresetlevels(), opsetdisplaydefaults(), opsetsummit(), opsiblingvisiter(), tyfindinfo::pfind, pushundoaction(), right, rootvariable, shellfinddatawindow(), shellpopglobals(), and shellpushglobals().

Referenced by menufunctionvalue().

Here is the call graph for this function:

static boolean attachscript hdlmenurecord  hmenu,
hdlheadrecord  hnode,
hdloutlinerecord  hscript
[static]
 

Definition at line 1196 of file menuverbs.c.

References tylinkeditem::adrlink, hnode, tylinkeditem::houtline, tymenuiteminfo::linkedscript, megetmenuiteminfo(), mereleaserefconroutine(), mesetmenuiteminfo(), mesmashscriptwindow(), nil, nildbaddress, and opemptyrefcon().

Referenced by addmenucommandverb(), and menusetscriptverb().

Here is the call graph for this function:

static boolean deletemenucommandverb hdltreenode  hparam1,
boolean  flsubmenu,
tyvaluerecord v
[static]
 

Definition at line 1692 of file menuverbs.c.

References bigstring, deletemenunode(), findheadlinevisit(), flnextparamislast, getmenuparaminmemory(), getstringvalue(), tyfindinfo::hfound, hnode, isemptystring, langexternalsetdirty(), mepopmenudata(), mepushmenudata(), nil, ophassubheads(), oprecursivelyvisit(), opsiblingvisiter(), tyfindinfo::pfind, pushundoaction(), rootvariable, shellfinddatawindow(), shellpopglobals(), and shellpushglobals().

Referenced by menufunctionvalue().

Here is the call graph for this function:

static void deletemenunode hdlheadrecord  hnode  )  [static]
 

Definition at line 1385 of file menuverbs.c.

References hnode, opclearallmarks(), opdelete(), opdisabledisplay(), opdisplayenabled(), openabledisplay(), opmoveto(), opnodeinoutline(), and oprefreshdisplay().

Referenced by addmenucommandverb(), and deletemenucommandverb().

Here is the call graph for this function:

static boolean detachscript hdlmenurecord  hmenu,
hdlheadrecord  hnode
[static]
 

Definition at line 1166 of file menuverbs.c.

References hnode, killundo(), nil, shellpopglobals(), and shellpushglobals().

Referenced by addmenucommandverb(), and menusetscriptverb().

Here is the call graph for this function:

static boolean findheadlinevisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1294 of file menuverbs.c.

References bigstring, equalstrings(), hnode, and opgetheadstring().

Referenced by addmenucommandverb(), and deletemenucommandverb().

Here is the call graph for this function:

static boolean getmainmenuvalue hdltreenode  hparam1,
hdlmenu *  hmenu,
short idmenu
[static]
 

Definition at line 1001 of file menuverbs.c.

References bigstring, tyvaluerecord::data, flnextparamislast, getparamvalue(), shelltgetmainmenu(), tyvaluedata::stringvalue, stringvaluetype, texthandletostring(), and tyvaluerecord::valuetype.

Referenced by menuinstallverb(), and menuremoveverb().

Here is the call graph for this function:

static boolean getmenuparam hdltreenode  hfirst,
short  pnum,
hdlmenuvariable hv
[static]
 

Definition at line 748 of file menuverbs.c.

References errornum, idmenuprocessor, langexternalgetexternalparam(), and namenotmenuerror.

Referenced by getmenuparaminmemory(), and getsubmenuvalue().

Here is the call graph for this function:

static boolean getmenuparaminmemory hdltreenode  hparam1,
hdlmenurecord hmenurecord
[static]
 

Definition at line 964 of file menuverbs.c.

References getmenuparam(), menuverbinmemory(), and return().

Referenced by addmenucommandverb(), deletemenucommandverb(), menuinstallverb(), menuisinstalledverb(), and menuremoveverb().

Here is the call graph for this function:

static boolean getsubmenuvalue hdltreenode  hfirst,
short  pnum,
hdlheadrecord hsubmenu
[static]
 

Definition at line 1353 of file menuverbs.c.

References disposehandle(), fl, getmenuparam(), HNoNode, langexternalmemorypack(), langexternalmemoryunpack(), menuverbdispose(), and nil.

Referenced by addmenucommandverb().

Here is the call graph for this function:

static boolean mebeginprint void   )  [static]
 

Definition at line 2204 of file menuverbs.c.

References opbeginprint().

Referenced by menustart().

Here is the call graph for this function:

static boolean meendprint void   )  [static]
 

Definition at line 2212 of file menuverbs.c.

References meresize(), opsetdisplaydefaults(), and outlinedata.

Referenced by menustart().

Here is the call graph for this function:

static boolean mefindusedblocksvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 488 of file menuverbs.c.

References tylinkeditem::adrlink, BIGSTRING, bigstring, hnode, insertstring(), tymenuiteminfo::linkedscript, megetmenuiteminfo(), opgetheadstring(), pushchar(), and statsblockinuse().

Referenced by menuverbfindusedblocks().

Here is the call graph for this function:

static boolean menubuildverb void   )  [static]
 

Definition at line 941 of file menuverbs.c.

References rebuildmenubarlist().

Referenced by menufunctionvalue().

Here is the call graph for this function:

static boolean menucheckwindowrect void   )  [static]
 

Definition at line 2140 of file menuverbs.c.

References equalrects(), menudata, menuwindowinfo, r, and shellgetglobalwindowrect().

Referenced by menuverbclose().

Here is the call graph for this function:

static boolean menuchildclose WindowPtr  w  )  [static]
 

Definition at line 2111 of file menuverbs.c.

References assert, tyshellglobals::closeroutine, fl, mescriptwindowclosed(), shellglobals, shellpopglobals(), and shellpushglobals().

Referenced by menustart().

Here is the call graph for this function:

static boolean menuclearverb void   )  [static]
 

Definition at line 954 of file menuverbs.c.

References meclearmenubar().

Referenced by menufunctionvalue().

Here is the call graph for this function:

static boolean menudisposevariable hdlexternalvariable  hvariable,
boolean  fldisk
[static]
 

Definition at line 850 of file menuverbs.c.

References medisposemenurecord().

Referenced by menuverbdispose().

Here is the call graph for this function:

boolean menuedit hdlexternalvariable  hvariable,
hdlwindowinfo  hparent,
ptrfilespec  fs,
bigstring  bstitle,
rectparam  rzoom
 

Definition at line 793 of file menuverbs.c.

References getwindowinfo(), idmenueditorconfig, meeditmenurecord(), menuverbinmemory(), tymenurecord::menuwindowrect, newchildwindow(), nil, shellbringtofront(), shellfinddatawindow(), shellpopglobals(), shellpushglobals(), shellsetwindowchanges(), and windowzoom().

Referenced by langexternaledit(), and mezoommenubarwindow().

Here is the call graph for this function:

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

Definition at line 1807 of file menuverbs.c.

References addmenucommandfunc, addmenucommandverb(), addsubmenufunc, buildmenubarfunc, clearmenubarfunc, deletemenucommandfunc, deletemenucommandverb(), deletesubmenufunc, error, errornum, fl, getcommandkeyfunc, getscriptfunc, getstringlist(), tyshellglobals::gettargetdataroutine, idmenuprocessor, installfunc, isinstalledfunc, langcheckparamcount(), langfindtargetwindow(), mecheckglobals, menubuildverb(), menuclearverb(), menuerrorlist, menugetcommandkeyverb(), menugetscriptverb(), menuinstallverb(), menuisinstalledverb(), menuremoveverb(), menusetcommandkeyverb(), menusetscriptverb(), mezoomscriptwindow(), nil, nomenuerror, removefunc, setbooleanvalue(), setcommandkeyfunc, setscriptfunc, shellglobals, shellpopglobals(), shellpushglobals(), v, and zoomscriptfunc.

Referenced by menuinitverbs().

Here is the call graph for this function:

static boolean menugetcommandkeyverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1125 of file menuverbs.c.

References bigstring, chnul, tymenuiteminfo::cmdkey, getcommandkeystring(), keycommand, langcheckparamcount(), megetmenuiteminfo(), setemptystring, setstringvalue(), and v.

Referenced by menufunctionvalue().

Here is the call graph for this function:

boolean menugetmenubar hdlhashtable  htable,
bigstring  bs,
boolean  flcreate,
hdlmenurecord hmenubar
 

Definition at line 715 of file menuverbs.c.

References menugetmenuvariable(), menunewmenubar(), menuverbinmemory(), and return().

Referenced by getappmenurecord().

Here is the call graph for this function:

static boolean menugetmenuvariable hdlhashtable  htable,
bigstring  bs,
boolean fltypeerror,
hdlmenuvariable hvariable
[static]
 

Definition at line 666 of file menuverbs.c.

References tyvaluerecord::data, tyvaluedata::externalvalue, externalvaluetype, fl, hnode, idmenuprocessor, langfindsymbol(), pophashtable(), pushhashtable(), and tyvaluerecord::valuetype.

Referenced by menugetmenubar().

Here is the call graph for this function:

static boolean menugetscriptverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1076 of file menuverbs.c.

References bigstring, disposevaluerecord(), fl, flnextparamislast, getvarparam(), idscriptprocessor, langexternalnewvalue(), langsetsymboltableval(), meloadscriptoutline(), menudata, nil, and opdisposeoutline().

Referenced by menufunctionvalue().

Here is the call graph for this function:

static boolean menuinitverbs void   )  [static]
 

Definition at line 1997 of file menuverbs.c.

References idmenuverbs, loadfunctionprocessor(), and menufunctionvalue().

Referenced by menustart().

Here is the call graph for this function:

static boolean menuinstallverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1020 of file menuverbs.c.

References drawmenubar(), flnextparamislast, getmainmenuvalue(), getmenuparaminmemory(), insertmenu(), and meinstallmenubar().

Referenced by menufunctionvalue().

Here is the call graph for this function:

static boolean menuisinstalledverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 986 of file menuverbs.c.

References flnextparamislast, and getmenuparaminmemory().

Referenced by menufunctionvalue().

Here is the call graph for this function:

boolean menunewmenubar hdlhashtable  htable,
bigstring  bs,
hdlmenurecord hnewrecord
 

Definition at line 626 of file menuverbs.c.

References disposehandle(), idmenuprocessor, langsetexternalsymbol(), long, medisposemenurecord(), menewmenurecord(), and newmenuvariable().

Referenced by menugetmenubar().

Here is the call graph for this function:

static boolean menuremoveverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1048 of file menuverbs.c.

References drawmenubar(), flnextparamislast, getmainmenuvalue(), getmenuparaminmemory(), meremovemenubar(), and removemenu().

Referenced by menufunctionvalue().

Here is the call graph for this function:

static boolean menusetcommandkeyverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1147 of file menuverbs.c.

References bigstring, flnextparamislast, getstringvalue(), keycommand, mesetcmdkey(), setbooleanvalue(), and v.

Referenced by menufunctionvalue().

Here is the call graph for this function:

static boolean menusetscriptverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1230 of file menuverbs.c.

References attachscript(), bigstring, detachscript(), flnextparamislast, getvarvalue(), hnode, menudata, opcopyoutlinerecord(), and opvaltoscript().

Referenced by menufunctionvalue().

Here is the call graph for this function:

boolean menustart void   ) 
 

Definition at line 2222 of file menuverbs.c.

References assert, ccdisposefilerecord(), ccsavespecialfile(), idmenueditorconfig, loadconfigresource(), meactivate(), meadjustcursor(), mebeginprint(), meclear(), mecmdkeyfilter(), mecopy(), mecut(), meendprint(), megetcontentsize(), megetscrollbarinfo(), megetundoglobals(), meidle(), meinit(), memousedown(), menuchildclose(), menudata, menuinitverbs(), menuverbclose(), menuverbgettargetdata(), menuverbgetvariable(), menuverbkeystroke(), menuverbrunscript(), menuverbsearch(), menuverbsetfont(), menuverbsetselectioninfo(), menuverbsetsize(), menuverbtitleclick(), menuwindow, menuwindowinfo, mepaste(), meprint(), meresetwindowrects(), meresize(), mescraphook(), mescroll(), meselectall(), mesetglobals(), mesetprintinfo(), mesetundoglobals(), meupdate(), oppopglobals(), oppushglobals(), oprmousedown(), opsettextmode(), shellnewcallbacks(), and shellpushscraphook().

Referenced by frontierstart().

Here is the call graph for this function:

static boolean menuverbclose void   )  [static]
 

Definition at line 2162 of file menuverbs.c.

References killundo(), mecheckglobals, medisposemenubar(), menucheckwindowrect(), menudata, meremovemenubar(), nil, opcloseoutline(), and shellclosewindow().

Referenced by menustart().

Here is the call graph for this function:

boolean menuverbdispose hdlexternalvariable  hvariable,
boolean  fldisk
 

Definition at line 858 of file menuverbs.c.

References langexternaldisposevariable(), menudisposevariable(), and menuverbinmemory().

Referenced by getsubmenuvalue(), and langexternaldisposevalue().

Here is the call graph for this function:

boolean menuverbfind hdlexternalvariable  hvariable,
boolean flzoom
 

Definition at line 566 of file menuverbs.c.

References fl, menudata, menuverbinmemory(), menuverbunload(), menuwindowopen(), mesearchoutline(), nil, opdisabledisplay(), openabledisplay(), oppopoutline(), oppushoutline(), shellpopglobals(), and shellpushglobals().

Referenced by langexternalsearch().

Here is the call graph for this function:

boolean menuverbfindusedblocks hdlexternalvariable  hvariable,
bigstring  bspath
 

Definition at line 515 of file menuverbs.c.

References fl, mefindusedblocksvisit(), menudata, menuverbinmemory(), menuverbunload(), opoutermostsummit(), oppopallhoists(), oppopoutline(), oppushoutline(), oprestorehoists(), opsiblingvisiter(), and statsblockinuse().

Referenced by langexternalfindusedblocks().

Here is the call graph for this function:

boolean menuverbgetdisplaystring hdlexternalvariable  hvariable,
bigstring  bs
 

Definition at line 222 of file menuverbs.c.

References menusizestring, menustringlist, menuverbgetsize(), and parsenumberstring().

Referenced by langexternalgetdisplaystring().

Here is the call graph for this function:

boolean menuverbgetsize hdlexternalvariable  hvariable,
long size
 

Definition at line 199 of file menuverbs.c.

References long, menuverbinmemory(), opcountheads(), oppopoutline(), and oppushoutline().

Referenced by dockmenufillpopup(), langexternalgetvalsize(), menuverbgetdisplaystring(), and opfillpopup().

Here is the call graph for this function:

static boolean menuverbgettargetdata short  id  )  [static]
 

Definition at line 2079 of file menuverbs.c.

References idmenuprocessor, idoutlineprocessor, idwordprocessor, mesetglobals(), and opeditsetglobals().

Referenced by menustart().

Here is the call graph for this function:

boolean menuverbgettimes hdlexternalvariable  h,
long timecreated,
long timemodified
 

Definition at line 446 of file menuverbs.c.

References h, menudata, menuverbinmemory(), return(), and tyoutlinerecord::timecreated.

Referenced by langexternalgettimes().

Here is the call graph for this function:

boolean menuverbgettypestring hdlexternalvariable  hvariable,
bigstring  bs
 

Definition at line 128 of file menuverbs.c.

References getstringlist(), menustringlist, and menutypestring.

Referenced by langexternaltypestring().

Here is the call graph for this function:

static boolean menuverbgetvariable hdlexternalvariable hvariable  )  [static]
 

Definition at line 2068 of file menuverbs.c.

References menudata, nil, and return().

Referenced by menustart().

Here is the call graph for this function:

static boolean menuverbinmemory hdlmenuvariable  hvariable  )  [static]
 

Definition at line 162 of file menuverbs.c.

References dbpopdatabase(), dbpushdatabase(), fl, long, meloadmenurecord(), and tymenurecord::menurefcon.

Referenced by getmenuparaminmemory(), menuedit(), menugetmenubar(), menuverbdispose(), menuverbfind(), menuverbfindusedblocks(), menuverbgetsize(), menuverbgettimes(), menuverbmemorypack(), menuverbpack(), menuverbpacktotext(), menuverbsetdirty(), and menuverbsettimes().

Here is the call graph for this function:

boolean menuverbisdirty hdlexternalvariable  hvariable  ) 
 

Definition at line 248 of file menuverbs.c.

References mesomethingdirty().

Referenced by langexternalisdirty().

Here is the call graph for this function:

static boolean menuverbkeystroke void   )  [static]
 

Definition at line 2003 of file menuverbs.c.

References langexternalsurfacekey(), and mekeystroke().

Referenced by menustart().

Here is the call graph for this function:

boolean menuverbmemorypack hdlexternalvariable  hvariable,
Handle hpacked
 

Definition at line 279 of file menuverbs.c.

References disposehandle(), fl, menuverbinmemory(), menuverbunload(), mesavemenurecord(), nil, and pushhandle().

Referenced by langexternalmemorypack().

Here is the call graph for this function:

boolean menuverbmemoryunpack Handle  hpacked,
long ixload,
hdlexternalvariable h
 

Definition at line 310 of file menuverbs.c.

References h, loadhandleremains(), long, medisposemenurecord(), meunpackmenustructure(), and newmenuvariable().

Referenced by langexternalmemoryunpack().

Here is the call graph for this function:

boolean menuverbnew Handle  hdata,
hdlexternalvariable hvariable
 

Definition at line 877 of file menuverbs.c.

References disposehandle(), long, medisposemenurecord(), menewmenurecord(), newmenuvariable(), nil, opcopyformatting(), opcopysiblings(), opdirtymeasurements(), oppopoutline(), oppushoutline(), opsetctexpanded(), and opsetsummit().

Referenced by langexternalnewvalue().

Here is the call graph for this function:

boolean menuverbpack hdlexternalvariable  hvariable,
Handle hpacked,
boolean flnewdbaddress
 

Definition at line 345 of file menuverbs.c.

References fl, fldatabasesaveas, menuverbinmemory(), menuverbunload(), menuwindowopen(), mesavemenurecord(), nil, pushlongondiskhandle(), and shellsetwindowchanges().

Referenced by langexternalpack().

Here is the call graph for this function:

boolean menuverbpacktotext hdlexternalvariable  hvariable,
Handle  htext
 

Definition at line 421 of file menuverbs.c.

References fl, menuverbinmemory(), menuverbunload(), and opoutlinetotextscrap().

Referenced by langexternalpacktotext().

Here is the call graph for this function:

static boolean menuverbrunscript void   )  [static]
 

Definition at line 2060 of file menuverbs.c.

References mecheckglobals, and meuserselected().

Referenced by menustart().

Here is the call graph for this function:

boolean menuverbsetdirty hdlexternalvariable  hvariable,
boolean  fldirty
 

Definition at line 259 of file menuverbs.c.

References menuverbinmemory().

Referenced by langexternalsetdirty().

Here is the call graph for this function:

static boolean menuverbsetfont void   )  [static]
 

Definition at line 2024 of file menuverbs.c.

References mecheckglobals, and opsetfont().

Referenced by menustart().

Here is the call graph for this function:

static boolean menuverbsetselectioninfo void   )  [static]
 

Definition at line 2052 of file menuverbs.c.

References mecheckglobals, and opsetselectioninfo().

Referenced by menustart().

Here is the call graph for this function:

static boolean menuverbsetsize void   )  [static]
 

Definition at line 2038 of file menuverbs.c.

References mecheckglobals, and opsetsize().

Referenced by menustart().

Here is the call graph for this function:

boolean menuverbsettimes hdlexternalvariable  h,
long  timecreated,
long  timemodified
 

Definition at line 467 of file menuverbs.c.

References h, menudata, menuverbinmemory(), return(), and tyoutlinerecord::timecreated.

Referenced by langexternalsettimes().

Here is the call graph for this function:

static boolean menuverbtitleclick Point  pt  )  [static]
 

Definition at line 2018 of file menuverbs.c.

References langexternaltitleclick(), and pt.

Referenced by menustart().

Here is the call graph for this function:

boolean menuverbunload hdlexternalvariable  hvariable  ) 
 

Definition at line 143 of file menuverbs.c.

References medisposemenurecord().

Referenced by menuverbfind(), menuverbfindusedblocks(), menuverbmemorypack(), menuverbpack(), and menuverbpacktotext().

Here is the call graph for this function:

boolean menuverbunpack Handle  hpacked,
long ixload,
hdlexternalvariable h
 

Definition at line 410 of file menuverbs.c.

References h, loadlongfromdiskhandle(), and newmenuvariable().

Referenced by langexternalunpack().

Here is the call graph for this function:

boolean menuwindowopen hdlexternalvariable  hvariable,
hdlwindowinfo hinfo
 

Definition at line 770 of file menuverbs.c.

References nil, and shellfinddatawindow().

Referenced by langexternalvariablewindowopen(), menuverbfind(), and menuverbpack().

Here is the call graph for this function:

static boolean mepopmenudata void   )  [static]
 

Definition at line 1343 of file menuverbs.c.

References hmenudatasave, menudata, nil, and oppopoutline().

Referenced by addmenucommandverb(), and deletemenucommandverb().

Here is the call graph for this function:

static boolean mepushmenudata hdlmenurecord  hmenurecord  )  [static]
 

Definition at line 1331 of file menuverbs.c.

References assert, hmenudatasave, menudata, nil, and oppushoutline().

Referenced by addmenucommandverb(), and deletemenucommandverb().

Here is the call graph for this function:

static boolean newmenuvariable boolean  flinmemory,
long  variabledata,
hdlmenuvariable h
[static]
 

Definition at line 137 of file menuverbs.c.

References h, and langnewexternalvariable().

Referenced by menunewmenubar(), menuverbmemoryunpack(), menuverbnew(), and menuverbunpack().

Here is the call graph for this function:

static void oprefreshdisplay  )  [static]
 

Definition at line 1312 of file menuverbs.c.

References opdirtymeasurements(), opdisplayenabled(), opgetscrollbarinfo(), opinvaldisplay(), opresetscrollbars(), opsetctexpanded(), and outlinedata.

Referenced by addmenucommandverb(), and deletemenunode().

Here is the call graph for this function:


Variable Documentation

short errornum = 0 [static]
 

Definition at line 124 of file menuverbs.c.

hdlmenurecord hmenudatasave = nil [static]
 

Definition at line 1329 of file menuverbs.c.

Referenced by mepopmenudata(), and mepushmenudata().


Generated on Wed Jun 7 22:21:01 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6