claybrowserexpand.c File Reference

#include "frontier.h"
#include "standard.h"
#include "cursor.h"
#include "file.h"
#include "fileloop.h"
#include "kb.h"
#include "memory.h"
#include "strings.h"
#include "shellundo.h"
#include "op.h"
#include "opinternal.h"
#include "claybrowserstruc.h"
#include "claybrowserexpand.h"
#include "claycallbacks.h"

Include dependency graph for claybrowserexpand.c:

Go to the source code of this file.

Functions

static void browsercalcinsertionpoint (hdlheadrecord hparent, hdlheadrecord *hpre, tydirection *dir)
void browserfindinsertionpoint (hdlheadrecord hparent, bigstring bsnewhead, tybrowserinfo *newfileinfo, hdlheadrecord *hpre, tydirection *dir)
boolean browserexpandvisit (bigstring bsitem, tybrowserinfo *info, long refcon)
boolean browserexpand (hdlheadrecord hnode, long ctlevels)
static boolean expandcancelledvisit (hdlheadrecord hnode, ptrvoid refcon)
boolean browserpreexpand (hdlheadrecord hnode, short ctlevels, boolean flmaycreatesubs)
boolean browserselectfile (ptrfilespec pfs, boolean flexpand, hdlheadrecord *hnode)
boolean browserexpandtofile (ptrfilespec pfs)
boolean browsercanexpand (hdlheadrecord hnode)
boolean browserpostcollapse (hdlheadrecord hnode)

Variables

static boolean compoundexpand = false
static short expandcount


Function Documentation

static void browsercalcinsertionpoint hdlheadrecord  hparent,
hdlheadrecord hpre,
tydirection dir
[static]
 

Definition at line 51 of file claybrowserexpand.c.

References down, longinfinity, nil, opgetlastsubhead(), opnosubheads(), oprepeatedbump(), and right.

Referenced by browserexpandvisit().

Here is the call graph for this function:

boolean browsercanexpand hdlheadrecord  hnode  ) 
 

Definition at line 618 of file claybrowserexpand.c.

References browsergetrefcon(), hnode, and info.

Referenced by setuptableoutlinecallbacks().

Here is the call graph for this function:

boolean browserexpand hdlheadrecord  hnode,
long  ctlevels
 

Definition at line 380 of file claybrowserexpand.c.

References browserexpand(), browserexpandvisit(), clayfolderloop(), claygetfilespec(), tyexpandinfo::ctlevels, expandcount, tyexpandinfo::flsettmpbits, tyexpandinfo::flsortnodes, hnode, tyexpandinfo::hparent, opchasedown(), and opsubheadsexpanded().

Referenced by browserexpand(), browserexpandvisit(), and browserpreexpand().

Here is the call graph for this function:

boolean browserexpandtofile ptrfilespec  pfs  ) 
 

Definition at line 599 of file claybrowserexpand.c.

References browserselectfile(), hnode, opclearallmarks(), opjumpto(), and opupdatenow().

Here is the call graph for this function:

boolean browserexpandvisit bigstring  bsitem,
tybrowserinfo info,
long  refcon
 

Definition at line 311 of file claybrowserexpand.c.

References browsercalcinsertionpoint(), browsercopyfileinfo(), browserexpand(), browserfindinsertionpoint(), info, keyboardescape(), opaddheadline(), opendinternalchange(), opstartinternalchange(), rollbeachball(), and testheapspace().

Referenced by browserexpand(), browserfileadded(), and initializetableoutline().

Here is the call graph for this function:

void browserfindinsertionpoint hdlheadrecord  hparent,
bigstring  bsnewhead,
tybrowserinfo newfileinfo,
hdlheadrecord hpre,
tydirection dir
 

Definition at line 89 of file claybrowserexpand.c.

References alllower(), bigstring, browsergetrefcon(), comparestrings(), copystring(), down, tybrowserinfo::filesize, gethashkey, hashtablelookupnode(), hnode, long, longinfinity, moveleft(), nil, opchasedown(), opchaseright(), opfindhead(), opgetheadstring(), oprepeatedbump(), right, setstringlength, tyhashnode::sortedlink, tybrowserinfo::timemodified, up, viewbycolor, viewbycomment, viewbydate, viewbyicon, viewbykind, viewbyname, viewbysize, viewbysmallicon, and viewbyversion.

Referenced by browserexpandvisit(), browserinsertagain(), and browsersortfolder().

Here is the call graph for this function:

boolean browserpostcollapse hdlheadrecord  hnode  ) 
 

Definition at line 628 of file claybrowserexpand.c.

References browserdeletedummyvalues(), hnode, killundo(), opdeletesubs(), opdisabledisplay(), openabledisplay(), opendinternalchange(), opstartinternalchange(), and outlinedata.

Referenced by setuptableoutlinecallbacks().

Here is the call graph for this function:

boolean browserpreexpand hdlheadrecord  hnode,
short  ctlevels,
boolean  flmaycreatesubs
 

Definition at line 441 of file claybrowserexpand.c.

References browserexpand(), browserlineinserted(), compoundexpand, emptystring, expandcancelledvisit(), fl, hnode, initbeachball(), nil, opaddheadline(), opcleartmpbits(), opendinternalchange(), opsetctexpanded(), opsiblingvisiter(), opstartinternalchange(), opvalidate(), outlinedata, and right.

Referenced by setuptableoutlinecallbacks().

Here is the call graph for this function:

boolean browserselectfile ptrfilespec  pfs,
boolean  flexpand,
hdlheadrecord hnode
 

Definition at line 514 of file claybrowserexpand.c.

References bigstring, compoundexpand, copystring(), deletestring(), filespectopath(), firstword(), flreturn, hnode, nil, opcleartmpbits(), opdisabledisplay(), openabledisplay(), opexpand(), opfindhead(), opinvaldisplay(), opnavigate(), opresetscrollbars(), opsubheadsexpanded(), right, and stringlength.

Referenced by browserexpandtofile().

Here is the call graph for this function:

static boolean expandcancelledvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 425 of file claybrowserexpand.c.

References hnode, opdeletenode(), opendinternalchange(), and opstartinternalchange().

Referenced by browserpreexpand().

Here is the call graph for this function:


Variable Documentation

boolean compoundexpand = false [static]
 

Definition at line 46 of file claybrowserexpand.c.

Referenced by browserpreexpand(), and browserselectfile().

short expandcount [static]
 

Definition at line 48 of file claybrowserexpand.c.

Referenced by browserexpand().


Generated on Thu Jun 1 02:58:56 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6