browserverbs.c File Reference

#include <standard.h>
#include "memory.h"
#include "file.h"
#include "quickdraw.h"
#include "strings.h"
#include "kb.h"
#include "ops.h"
#include "popup.h"
#include "resources.h"
#include "scrollbar.h"
#include "search.h"
#include "windows.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 "tablestructure.h"
#include "cancoon.h"
#include "opinternal.h"
#include "opverbs.h"
#include "claybrowser.h"
#include "claybrowserstruc.h"
#include "kernelverbdefs.h"

Include dependency graph for browserverbs.c:

Go to the source code of this file.

Defines

#define browserstringlist   166
#define browsertypestring   1
#define browsersizestring   2
#define browsererrorlist   266
#define nobrowsererror   1
#define namenotbrowsererror   2
#define tabletopmargin   3
#define seprectheight   2

Enumerations

enum  tybrowsertoken { zoomscriptfunc, ctbrowserverbs }

Functions

static boolean browsersetglobals (void)
static boolean browserresetrects (hdlwindowinfo hw)
static boolean browsergetcontentsize (long *width, long *height)
static void browserresize (void)
static boolean browsersetfont (void)
static boolean browsersetsize (void)
static boolean browsergettargetdata (short id)
static boolean browserclose (void)
static void browseridle (void)
static boolean getsystemname (bigstring systemname)
static boolean browsernewwindow (void)
static boolean browserfindvisit (WindowPtr w)
static boolean browserfindwindow (short idconfig)
boolean browseropenmainwindow (void)
boolean browserstart (void)

Variables

WindowPtr browserwindow = nil
hdlwindowinfo browserwindowinfo = nil
hdlclaydata browserdata = nil
static errornum = 0


Define Documentation

#define browsererrorlist   266
 

Definition at line 66 of file browserverbs.c.

#define browsersizestring   2
 

Definition at line 63 of file browserverbs.c.

#define browserstringlist   166
 

Definition at line 61 of file browserverbs.c.

#define browsertypestring   1
 

Definition at line 62 of file browserverbs.c.

#define namenotbrowsererror   2
 

Definition at line 68 of file browserverbs.c.

#define nobrowsererror   1
 

Definition at line 67 of file browserverbs.c.

#define seprectheight   2
 

Referenced by browserresetrects(), and tableverbresetrects().

#define tabletopmargin   3
 

Definition at line 104 of file browserverbs.c.

Referenced by browsergetcontentsize(), browserresetrects(), tablegetcontentsize(), tablesetextrainfo(), tableverbgetcontentsize(), and tableverbresetrects().


Enumeration Type Documentation

enum tybrowsertoken
 

Enumerator:
zoomscriptfunc 
ctbrowserverbs 

Definition at line 71 of file browserverbs.c.


Function Documentation

static boolean browserclose void   )  [static]
 

Definition at line 314 of file browserverbs.c.

References killundo(), opcloseoutline(), and outlinedata.

Referenced by browserstart().

Here is the call graph for this function:

static boolean browserfindvisit WindowPtr  w  )  [static]
 

Definition at line 453 of file browserverbs.c.

References browserdata, browserwindow, browserwindowinfo, getwindowinfo(), and return().

Referenced by browserfindwindow().

Here is the call graph for this function:

static boolean browserfindwindow short  idconfig  )  [static]
 

Definition at line 472 of file browserverbs.c.

References browserfindvisit(), frontrootwindow(), and visitownedwindows().

Referenced by browseropenmainwindow().

Here is the call graph for this function:

static boolean browsergetcontentsize long width,
long height
[static]
 

Definition at line 237 of file browserverbs.c.

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

Referenced by browserstart().

Here is the call graph for this function:

static boolean browsergettargetdata short  id  )  [static]
 

Definition at line 287 of file browserverbs.c.

References idoutlineprocessor, idwordprocessor, and opeditsetglobals().

Referenced by browserstart().

Here is the call graph for this function:

static void browseridle void   )  [static]
 

Definition at line 333 of file browserverbs.c.

References browsercommitchanges(), and opidle().

Referenced by browserstart().

Here is the call graph for this function:

static boolean browsernewwindow void   )  [static]
 

Definition at line 359 of file browserverbs.c.

References browserdata, browserinitrecord(), browserresize(), browserwindow, browserwindowinfo, ccgetwindowrect(), ccnewsubwindow(), disposehandle(), error, fixedctcols, getwindowinfo(), long, newchildwindow(), newclearhandle(), newoutlinerecord(), newtableformats(), nil, opdisposeoutline(), popport(), pushscratchport(), shellgetfrontrootinfo(), shellpopglobals(), shellpushfrontrootglobals(), shellpushglobals(), shellwindow, windowgetfspec(), and windowzoom().

Referenced by browseropenmainwindow().

Here is the call graph for this function:

boolean browseropenmainwindow void   ) 
 

Definition at line 493 of file browserverbs.c.

References browserfindwindow(), browsernewwindow(), browserwindow, and windowbringtofront().

Here is the call graph for this function:

static boolean browserresetrects hdlwindowinfo  hw  )  [static]
 

Definition at line 107 of file browserverbs.c.

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

Referenced by browserstart().

Here is the call graph for this function:

static void browserresize void   )  [static]
 

Definition at line 255 of file browserverbs.c.

References eraserect(), insetrect(), opresize(), and r.

Referenced by browsernewwindow(), and browserstart().

Here is the call graph for this function:

static boolean browsersetfont void   )  [static]
 

Definition at line 275 of file browserverbs.c.

References opsetfont().

Referenced by browserstart().

Here is the call graph for this function:

static boolean browsersetglobals void   )  [static]
 

Definition at line 90 of file browserverbs.c.

References browserwindow, browserwindowinfo, opeditsetglobals(), outlinedata, outlinewindow, outlinewindowinfo, and tableformatsdata.

Referenced by browserstart().

Here is the call graph for this function:

static boolean browsersetsize void   )  [static]
 

Definition at line 281 of file browserverbs.c.

References opsetsize().

Referenced by browserstart().

Here is the call graph for this function:

boolean browserstart void   ) 
 

Definition at line 506 of file browserverbs.c.

References browserclose(), browserdata, browsergetcontentsize(), browsergettargetdata(), browseridle(), browserresetrects(), browserresize(), browsersetfont(), browsersetglobals(), browsersetsize(), browserupdate(), browserwindow, browserwindowinfo, loadconfigresource(), opactivate(), opclear(), opcopy(), opcut(), opeditgetundoglobals(), opeditsetundoglobals(), opkeystroke(), opmousedown(), oppaste(), opprint(), opresetscrollbars(), opscroll(), opselectall(), opsetcursor(), opsetprintinfo(), opsetselectioninfo(), opsettextmode(), and shellnewcallbacks().

Here is the call graph for this function:

static boolean getsystemname bigstring  systemname  )  [static]
 

Definition at line 341 of file browserverbs.c.

References copyheapstring(), copystring(), h, noErr, and stringlength.

Here is the call graph for this function:


Variable Documentation

hdlclaydata browserdata = nil
 

Definition at line 83 of file browserverbs.c.

Referenced by browserfindvisit(), browsernewwindow(), browserresetrects(), and browserstart().

WindowPtr browserwindow = nil
 

Definition at line 79 of file browserverbs.c.

Referenced by browserfindvisit(), browsernewwindow(), browseropenmainwindow(), browsersetglobals(), and browserstart().

hdlwindowinfo browserwindowinfo = nil
 

Definition at line 81 of file browserverbs.c.

Referenced by browserfindvisit(), browsernewwindow(), browsersetglobals(), and browserstart().

errornum = 0 [static]
 

Definition at line 87 of file browserverbs.c.

Referenced by ccfunctionvalue(), getmenuparam(), getscriptparam(), mathfunctionvalue(), menufunctionvalue(), opfunctionvalue(), opgetcodeverb(), opuncompileverb(), pictfunctionvalue(), stringfunctionvalue(), windowfunctionvalue(), and wpfunctionvalue().


Generated on Wed May 31 22:58:14 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6