opexpand.c File Reference

#include "frontier.h"
#include "standard.h"
#include "quickdraw.h"
#include "mouse.h"
#include "op.h"
#include "opinternal.h"
#include "oplineheight.h"
#include "opdisplay.h"
#include "opicons.h"
#include "tablestructure.h"

Include dependency graph for opexpand.c:

Go to the source code of this file.

Functions

static boolean opcollapsevisit (hdlheadrecord hnode, ptrvoid refcon)
void opfastcollapse (hdlheadrecord h)
boolean opcollapse (hdlheadrecord hnode)
static boolean opexpandvisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opexpand (hdlheadrecord hnode, short level, boolean flmaycreatesubs)
static void oprecursivelyexpandto (hdlheadrecord hnode)
void opexpandto (hdlheadrecord hnode)
void opexpandtoggle (void)
void opexpandupdate (hdlheadrecord hnewnode)
void opcollapseall (void)
boolean opsetlongcursor (long cursor)

Variables

static boolean flnothingcollapsed
static long pixelscollapsed
static long pixelsexpanded
static long pixelsalreadyexpanded
static long ctalreadyexpanded


Function Documentation

boolean opcollapse hdlheadrecord  hnode  ) 
 

Definition at line 85 of file opexpand.c.

References tyoutlinerecord::ctexpanded, flnothingcollapsed, hnode, infinity, nil, opcollapsevisit(), opdirtyview(), opdisplayenabled(), opdrawicon(), opgetlinerect(), opgetnextexpanded(), opgetscreenline(), oprecursivelyvisit(), opresetscrollbars(), opscrollrect(), opupdatenow(), outlinedata, pixelscollapsed, r, and smashrect().

Referenced by opcollapseall(), opexpandtoggle(), opfunctionvalue(), opkeystroke(), opsetexpansionstateverb(), and tablesymbolchangedvisit().

Here is the call graph for this function:

void opcollapseall void   ) 
 

Definition at line 443 of file opexpand.c.

References opchasedown(), opcollapse(), opdisabledisplay(), openabledisplay(), opinvaldisplay(), opjumpto(), and opsubheadsexpanded().

Here is the call graph for this function:

static boolean opcollapsevisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 54 of file opexpand.c.

References flnothingcollapsed, h, hnode, opgetlineheight(), opgetnodelinecount(), and pixelscollapsed.

Referenced by opcollapse(), and opfastcollapse().

Here is the call graph for this function:

boolean opexpand hdlheadrecord  hnode,
short  level,
boolean  flmaycreatesubs
 

Definition at line 184 of file opexpand.c.

References ctalreadyexpanded, hnode, invalrect(), nil, opdirtyview(), opdisplayenabled(), opdovisiscroll(), opexpandvisit(), opgeticonrect(), opgetlineheight(), opgetlinerect(), opgetscreenline(), opinvalafter(), opinvaldisplay(), opinvalnode(), oplastexpanded(), opneedvisiscroll(), oprecursivelyvisit(), opresetscrollbars(), opscrollrect(), opseteditbufferrect(), opsetline1(), opsetscrollpositiontoline1(), opupdatenow(), outlinedata, pixelsalreadyexpanded, pixelsexpanded, and r.

Referenced by browserselectfile(), duplicateexpansion(), opdemote(), opexpandtoggle(), opfunctionvalue(), opinserthandle(), opinsertoutlineverb(), opkeystroke(), opmoveoutlineright(), opmovetohotspot(), oppromote(), opsetexpansionstateverb(), scriptlocalsbutton(), and tablesymbolzoomvisit().

Here is the call graph for this function:

void opexpandto hdlheadrecord  hnode  ) 
 

Definition at line 336 of file opexpand.c.

References hnode, opcontainsnode(), opdirtyview(), opmoveto(), oppophoist(), oprecursivelyexpandto(), opresetscrollbars(), opsetscrollpositiontoline1(), opsmashdisplay(), and outlinedata.

Referenced by addmenucommandverb(), meexpandto(), opafterundo(), opbeforeundo(), opeditsetundoglobals(), opflatfind(), opsetcursorverb(), opsetlongcursor(), opundounlink(), and scriptmousedown().

Here is the call graph for this function:

void opexpandtoggle void   ) 
 

Definition at line 378 of file opexpand.c.

References idopcollapsescript, idopexpandscript, langopruncallbackscripts(), opcollapse(), and opexpand().

Referenced by opcmdkeyfilter().

Here is the call graph for this function:

void opexpandupdate hdlheadrecord  hnewnode  ) 
 

Definition at line 408 of file opexpand.c.

References hnewnode, opdisplayenabled(), opgetcurrentscreenlines(), opgetlineheight(), opgetnodelinecount(), opgetscreenline(), opmakegap(), opresetscrollbars(), opupdatenow(), and outlinedata.

Referenced by browserfileadded(), and opinsertheadline().

Here is the call graph for this function:

static boolean opexpandvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 159 of file opexpand.c.

References ctalreadyexpanded, hnode, opgetlineheight(), opgetnodelinecount(), pixelsalreadyexpanded, and pixelsexpanded.

Referenced by opexpand(), and oprecursivelyexpandto().

Here is the call graph for this function:

void opfastcollapse hdlheadrecord  h  ) 
 

Definition at line 74 of file opexpand.c.

References h, infinity, nil, opcollapsevisit(), and oprecursivelyvisit().

Referenced by addmenucommandverb(), opmovetohotspot(), and oppaste().

Here is the call graph for this function:

static void oprecursivelyexpandto hdlheadrecord  hnode  )  [static]
 

Definition at line 314 of file opexpand.c.

References hnode, nil, opexpandvisit(), and oprecursivelyvisit().

Referenced by opexpandto().

Here is the call graph for this function:

boolean opsetlongcursor long  cursor  ) 
 

Definition at line 474 of file opexpand.c.

References opexpandto(), and opnodeinoutline().

Here is the call graph for this function:


Variable Documentation

long ctalreadyexpanded [static]
 

Definition at line 50 of file opexpand.c.

Referenced by opexpand(), and opexpandvisit().

boolean flnothingcollapsed [static]
 

Definition at line 42 of file opexpand.c.

Referenced by opcollapse(), and opcollapsevisit().

long pixelsalreadyexpanded [static]
 

Definition at line 48 of file opexpand.c.

Referenced by opexpand(), and opexpandvisit().

long pixelscollapsed [static]
 

Definition at line 44 of file opexpand.c.

Referenced by opcollapse(), and opcollapsevisit().

long pixelsexpanded [static]
 

Definition at line 46 of file opexpand.c.

Referenced by opexpand(), and opexpandvisit().


Generated on Thu Jun 8 05:32:20 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6