tablewindow.c File Reference

#include "frontier.h"
#include "standard.h"
#include "cursor.h"
#include "memory.h"
#include "file.h"
#include "quickdraw.h"
#include "strings.h"
#include "kb.h"
#include "mouse.h"
#include "ops.h"
#include "popup.h"
#include "resources.h"
#include "scrap.h"
#include "scrollbar.h"
#include "search.h"
#include "frontierwindows.h"
#include "windowlayout.h"
#include "zoom.h"
#include "shell.h"
#include "shellhooks.h"
#include "shellundo.h"
#include "lang.h"
#include "langexternal.h"
#include "tableinternal.h"
#include "tabledisplay.h"
#include "tablestructure.h"
#include "tableverbs.h"
#include "cancoon.h"
#include "opinternal.h"
#include "opverbs.h"
#include "claybrowser.h"
#include "claybrowserstruc.h"
#include "kernelverbdefs.h"

Include dependency graph for tablewindow.c:

Go to the source code of this file.

Defines

#define iconrectheight   0
#define iconrectwidth   0
#define tabletopmargin   3
#define seprectheight   4

Functions

boolean tableverbsetglobals (void)
static boolean tableverbresetrects (hdlwindowinfo hw)
static boolean tableverbgetcontentsize (long *width, long *height)
static void tableverbresize (void)
static boolean tableverbsetfont (void)
static boolean tableverbsetsize (void)
static boolean tablesetselectioninfo (void)
static boolean tableverbgettargetdata (short id)
static void tableverbidle (void)
static boolean tablegetvariableroutine (ptrvoid refcon)
boolean tableverbclose (void)
static boolean tableverbchildclose (WindowPtr w)
static void tableverbupdate (void)
static void tableverbactivate (boolean flactivate)
static boolean tableverbtitleclick (Point pt)
static boolean tableverbadjustcursor (Point pt)
static boolean tableverbmousedown (Point pt, tyclickflags flags)
static void tableedittabkey ()
static boolean tableverbkeystroke (void)
static boolean tableverbpaste (void)
static boolean tableverbruncursor (void)
static boolean tableverbcmdkeyfilter (char chkb)
static boolean tablebeginprint (void)
static boolean tableendprint (void)
boolean tablebeforeprintpage (void)
boolean tableafterprintpage (void)
boolean tablestart (void)

Variables

WindowPtr tableformatswindow = nil
hdlwindowinfo tableformatswindowinfo = nil
hdltableformats tableformatsdata = nil
static short beforeprintcolwidths [maxtablecols]


Define Documentation

#define iconrectheight   0
 

Definition at line 72 of file tablewindow.c.

#define iconrectwidth   0
 

Definition at line 73 of file tablewindow.c.

#define seprectheight   4
 

#define tabletopmargin   3
 

Definition at line 110 of file tablewindow.c.


Function Documentation

boolean tableafterprintpage void   ) 
 

Definition at line 729 of file tablewindow.c.

References beforeprintcolwidths, maxtablecols, moveleft(), and sizeof().

Referenced by setuptableoutlinecallbacks().

Here is the call graph for this function:

boolean tablebeforeprintpage void   ) 
 

Definition at line 715 of file tablewindow.c.

References clearbytes(), maxtablecols, sizeof(), tableformatsdata, tablerecalccolwidths(), and tytableformats::tablerect.

Referenced by setuptableoutlinecallbacks().

Here is the call graph for this function:

static boolean tablebeginprint void   )  [static]
 

Definition at line 679 of file tablewindow.c.

References beforeprintcolwidths, maxtablecols, moveleft(), opbeginprint(), sizeof(), and tableformatsdata.

Referenced by tablestart().

Here is the call graph for this function:

static void tableedittabkey  )  [static]
 

Definition at line 569 of file tablewindow.c.

References tykeystrokerecord::flshiftkey, keyboardstatus, opeditselectall(), oploadeditbuffer(), opunloadeditbuffer(), sysbeep, and tablecelliseditable().

Referenced by tableverbkeystroke().

Here is the call graph for this function:

static boolean tableendprint void   )  [static]
 

Definition at line 699 of file tablewindow.c.

References beforeprintcolwidths, maxtablecols, moveleft(), opendprint(), opsetdisplaydefaults(), outlinedata, sizeof(), tableformatswindowinfo, tableverbresetrects(), and tableverbresize().

Referenced by tablestart().

Here is the call graph for this function:

static boolean tablegetvariableroutine ptrvoid  refcon  )  [static]
 

Definition at line 381 of file tablewindow.c.

References nil, and tableformatsdata.

Referenced by tablestart().

static boolean tablesetselectioninfo void   )  [static]
 

Definition at line 324 of file tablewindow.c.

References nil, opsetselectioninfo(), and outlinedata.

Referenced by tablestart().

Here is the call graph for this function:

boolean tablestart void   ) 
 

Definition at line 737 of file tablewindow.c.

References assert, ccdisposefilerecord(), ccsavespecialfile(), idtableconfig, loadconfigresource(), opclear(), opcopy(), opcut(), oppopglobals(), opprint(), oppushglobals(), opresetscrollbars(), oprmousedown(), opscroll(), opselectall(), opsetprintinfo(), opsettextmode(), shellnewcallbacks(), shellpushscraphook(), tablebeginprint(), tableeditgetundoglobals(), tableeditsetundoglobals(), tableendprint(), tableformatsdata, tableformatswindow, tableformatswindowinfo, tablegetvariableroutine(), tableinitverbs(), tablescraphook(), tablesetselectioninfo(), tableverbactivate(), tableverbadjustcursor(), tableverbchildclose(), tableverbclose(), tableverbcmdkeyfilter(), tableverbgetcontentsize(), tableverbgettargetdata(), tableverbidle(), tableverbkeystroke(), tableverbmousedown(), tableverbpaste(), tableverbresetrects(), tableverbresize(), tableverbruncursor(), tableverbsearch(), tableverbsetfont(), tableverbsetglobals(), tableverbsetsize(), tableverbtitleclick(), and tableverbupdate().

Referenced by frontierstart().

Here is the call graph for this function:

static void tableverbactivate boolean  flactivate  )  [static]
 

Definition at line 471 of file tablewindow.c.

References NULL, opactivate(), outlinedata, and tabledrawzoombutton().

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbadjustcursor Point  pt  )  [static]
 

Definition at line 502 of file tablewindow.c.

References adjustpopupcursor(), cursorisarrow, cursorisverticalrails, opsetcursor(), pointinrect(), pt, setcursortype(), tablefindcolumnguide(), and tableformatsdata.

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbchildclose WindowPtr  w  )  [static]
 

Definition at line 442 of file tablewindow.c.

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

Referenced by tablestart().

Here is the call graph for this function:

boolean tableverbclose void   ) 
 

Definition at line 397 of file tablewindow.c.

References assert, killundo(), nil, opcloseoutline(), outlinedata, shellclosechildwindows(), tablecheckwindowrect(), tabledisposeoutline(), tableexiteditmode(), tableformatsdata, tableformatswindowinfo, tableoutlineneedssaving(), and tablewindowclosed().

Referenced by ccwindowclose(), and tablestart().

Here is the call graph for this function:

static boolean tableverbcmdkeyfilter char  chkb  )  [static]
 

Definition at line 667 of file tablewindow.c.

References nil, opcmdkeyfilter(), and outlinedata.

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbgetcontentsize long width,
long height
[static]
 

Definition at line 254 of file tablewindow.c.

References getscrollbarwidth(), iconrectwidth, tablegetoutlinesize(), tabletopmargin, and windowmargin.

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbgettargetdata short  id  )  [static]
 

Definition at line 333 of file tablewindow.c.

References debuggingcurrentprocess(), idoutlineprocessor, idtableprocessor, idwordprocessor, opeditsetglobals(), and tablegetlinkedhashtable().

Referenced by tablestart().

Here is the call graph for this function:

static void tableverbidle void   )  [static]
 

Definition at line 364 of file tablewindow.c.

References browsercommitchanges(), nil, opidle(), outlinedata, tablechecksortorder(), tablecheckzoombutton(), tabledrawzoombutton(), and tableupdatecoltitles().

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbkeystroke void   )  [static]
 

Definition at line 593 of file tablewindow.c.

References chbackspace, chenter, tykeystrokerecord::chkb, chreturn, chtab, tykeystrokerecord::flcmdkey, tykeystrokerecord::flshiftkey, keyboardstatus, left, opistextmode(), opkeystroke(), opmotionkey(), opsettextmode(), shellouch(), tabledive(), tableedittabkey(), and tablesurface().

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbmousedown Point  pt,
tyclickflags  flags
[static]
 

Definition at line 531 of file tablewindow.c.

References opmousedown(), pointinrect(), pt, tableadjustcolwidth(), tablefindcolumnguide(), tableformatsdata, tablekindpopuphit(), tablesortpopuphit(), tabletitleclick(), and tablezoombuttonhit().

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbpaste void   )  [static]
 

Definition at line 643 of file tablewindow.c.

References hashscraptype, oppaste(), shellgetscrap(), and tablepasteroutine().

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbresetrects hdlwindowinfo  hw  )  [static]
 

Definition at line 113 of file tablewindow.c.

References getscrollbarwidth(), iconrectheight, iconrectwidth, insetrect(), isclaydisplay, nil, popupbetweenwidth, r, seprectheight, setscrollbarrect(), shellcalcgrowiconrect(), showscrollbar(), tabletopmargin, titlerect, and windowmargin.

Referenced by tableendprint(), and tablestart().

Here is the call graph for this function:

static void tableverbresize void   )  [static]
 

Definition at line 272 of file tablewindow.c.

References insetrect(), nil, opresize(), opupdatenow(), r, tableformatsdata, and tablerecalccolwidths().

Referenced by tableendprint(), and tablestart().

Here is the call graph for this function:

static boolean tableverbruncursor void   )  [static]
 

Definition at line 658 of file tablewindow.c.

References tablecursorisrunnable(), and tableruncursor().

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbsetfont void   )  [static]
 

Definition at line 304 of file tablewindow.c.

References opsetfont(), shelladjustaftergrow(), and tableformatswindow.

Referenced by tablestart().

Here is the call graph for this function:

boolean tableverbsetglobals void   ) 
 

Definition at line 84 of file tablewindow.c.

References nil, opeditsetglobals(), opsetoutline(), outlinedata, outlinewindow, outlinewindowinfo, tableformatsdata, tableformatswindow, and tableformatswindowinfo.

Referenced by ccwindowsetglobals(), and tablestart().

Here is the call graph for this function:

static boolean tableverbsetsize void   )  [static]
 

Definition at line 314 of file tablewindow.c.

References opsetsize(), shelladjustaftergrow(), and tableformatswindow.

Referenced by tablestart().

Here is the call graph for this function:

static boolean tableverbtitleclick Point  pt  )  [static]
 

Definition at line 484 of file tablewindow.c.

References cmdkeydown(), ismouserightclick(), mousedoubleclick(), pt, tableclienttitlepopuphit(), tablegetlinkedtablevariable(), and tablesurface().

Referenced by tablestart().

Here is the call graph for this function:

static void tableverbupdate void   )  [static]
 

Definition at line 464 of file tablewindow.c.

References tableupdate().

Referenced by tablestart().

Here is the call graph for this function:


Variable Documentation

short beforeprintcolwidths[maxtablecols] [static]
 

Definition at line 676 of file tablewindow.c.

Referenced by tableafterprintpage(), tablebeginprint(), and tableendprint().

hdltableformats tableformatsdata = nil
 

Definition at line 80 of file tablewindow.c.

Referenced by browserresetrects(), browsersetglobals(), ccwindowsetglobals(), ccwindowstart(), claybrowserinitdraw(), claydrawline(), claygettextrect(), claypostdrawline(), claypredrawline(), claypushnodestyle(), getframeheight(), getframewidth(), hasframe(), simpleoutlinerdisplay(), tableadjustcolwidth(), tableadjustcolwidthcallback(), tableavailwidth(), tablebeforeprintpage(), tablebeginprint(), tablechecksortorder(), tablecheckzoombutton(), tableclearroutine(), tabledefaultdrawcell(), tabledirty(), tabledrawline(), tabledrawnodeicon(), tabledrawzoombutton(), tablefindcolumn(), tablefindcolumnguide(), tablegetcircleicon(), tablegetdisplaysettingsverb(), tablegetedittextrect(), tablegeticonrect(), tablegetlineheight(), tablegetlinewidth(), tablegetoutlinesize(), tablegettextrect(), tablegettitlerect(), tablegetvariableroutine(), tablegetwpedittext(), tablekindpopuphit(), tablemouseinline(), tablenewformatsrecord(), tablepackformats(), tablepopformats(), tablepostdrawline(), tablepostfontchange(), tablepostmovecallback(), tablepredrawline(), tableprint(), tablepushformats(), tablepushnodestyle(), tablerecalccolwidths(), tablerowsperpage(), tablesetprintinfo(), tablesetscrollbarcallback(), tablesettitlestyle(), tablesetwpedittext(), tablesortpopuphit(), tablestart(), tablesumcolwidths(), tablesymbolchangedwindowvisit(), tabletitleclick(), tableupdate(), tableupdatecoltitles(), tableupdategridlines(), tableupdatekindpopup(), tableupdatesortpopup(), tableverbadjustcursor(), tableverbclose(), tableverbmousedown(), tableverbresize(), tableverbsetglobals(), tablewidth2cols(), and tablezoombuttonhit().

WindowPtr tableformatswindow = nil
 

Definition at line 76 of file tablewindow.c.

Referenced by ccwindowsetglobals(), tabledirty(), tabledrawzoombutton(), tablestart(), tablesurface(), tableverbsetfont(), tableverbsetglobals(), tableverbsetsize(), and tablezoomfromhead().

hdlwindowinfo tableformatswindowinfo = nil
 

Definition at line 78 of file tablewindow.c.

Referenced by ccwindowsetglobals(), tableendprint(), tableresetformatsrects(), tablesetdisplaysettingsverb(), tablesetscrollbarcallback(), tablestart(), tableverbclose(), and tableverbsetglobals().


Generated on Wed Jun 14 04:22:55 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6