opwinpad.c File Reference

#include "config.h"
#include "dialogs.h"
#include "memory.h"
#include "strings.h"
#include "quickdraw.h"
#include "font.h"
#include "cursor.h"
#include "file.h"
#include "ops.h"
#include "resources.h"
#include "search.h"
#include "shell.h"
#include "shellhooks.h"
#include "shellundo.h"
#include "lang.h"
#include "langexternal.h"
#include "langinternal.h"
#include "tablestructure.h"
#include "process.h"
#include "op.h"
#include "opinternal.h"
#include "opverbs.h"
#include "wpengine.h"
#include "scripts.h"
#include "kernelverbdefs.h"

Include dependency graph for opwinpad.c:

Go to the source code of this file.

Data Structures

struct  tysourcerecord
struct  tydebuggerrecord

Defines

#define havecomponentmanager()   (false)
#define opstringlist   159
#define optypestring   1
#define scripttypestring   2
#define opsizestring   3
#define operrorlist   259
#define noooutlineerror   1
#define internalerror   2
#define namenotoutlineerror   3
#define namenotscripterror   4
#define rejectmenubarnum   5
#define maxchainedlocals   80
#define maxnestedsources   40

Typedefs

typedef tydebuggerrecordptrdebuggerrecord
typedef tydebuggerrecord ** hdldebuggerrecord

Enumerations

enum  {
  runbutton = 1, debugbutton, recordbutton, stepbutton,
  inbutton, outbutton, followbutton, gobutton,
  stopbutton, killbutton, localsbutton, installbutton
}

Functions

static boolean scriptinruntimestack (void)
static void scriptkillbutton (void)
static boolean scriptnewprocess (short buttonnum)
static boolean scriptbutton (short buttonnum)
static boolean scriptbuttonenabled (short buttonnum)
static boolean scriptbuttondisplayed (short buttonnum)
static boolean scriptbuttonstatus (short buttonnum, tybuttonstatus *status)
static boolean opverbsetscrollbarsroutine (void)
static void opverbsetcallbacks (hdloutlinerecord houtline)
static void opverbcheckwindowrect (hdloutlinerecord houtline)
static void opverbresize (void)
boolean opverbclose (void)
static boolean opverbsetfont (void)
static boolean opverbsetsize (void)
static boolean opwinnewrecord (void)
static boolean opwindisposerecord (void)
static boolean opwinloadfile (hdlfilenum fnum, short rnum)
static boolean opwinsavefile (hdlfilenum fnum, short rnum, boolean flsaveas)
boolean opstart (void)

Variables

static hdldebuggerrecord debuggerdata = nil


Define Documentation

#define havecomponentmanager void   )     (false)
 

Definition at line 64 of file opwinpad.c.

Referenced by opgetcodeverb(), and osacomponentstart().

#define internalerror   2
 

Definition at line 76 of file opwinpad.c.

#define maxchainedlocals   80
 

Definition at line 111 of file opwinpad.c.

Referenced by scriptpushtable().

#define maxnestedsources   40
 

Definition at line 113 of file opwinpad.c.

Referenced by scriptpushsourcerecord().

#define namenotoutlineerror   3
 

Definition at line 77 of file opwinpad.c.

#define namenotscripterror   4
 

Definition at line 78 of file opwinpad.c.

#define noooutlineerror   1
 

Definition at line 75 of file opwinpad.c.

#define operrorlist   259
 

Definition at line 74 of file opwinpad.c.

#define opsizestring   3
 

Definition at line 72 of file opwinpad.c.

#define opstringlist   159
 

Definition at line 69 of file opwinpad.c.

#define optypestring   1
 

Definition at line 70 of file opwinpad.c.

#define rejectmenubarnum   5
 

Definition at line 79 of file opwinpad.c.

#define scripttypestring   2
 

Definition at line 71 of file opwinpad.c.


Typedef Documentation

typedef struct tydebuggerrecord ** hdldebuggerrecord
 

typedef struct tydebuggerrecord * ptrdebuggerrecord
 


Enumeration Type Documentation

anonymous enum
 

Enumerator:
runbutton 
debugbutton 
recordbutton 
stepbutton 
inbutton 
outbutton 
followbutton 
gobutton 
stopbutton 
killbutton 
localsbutton 
installbutton 

Definition at line 83 of file opwinpad.c.


Function Documentation

boolean opstart void   ) 
 

Definition at line 594 of file opwinpad.c.

References debuggerdata, idscriptconfig, loadconfigresource(), longsizeof, newclearhandle(), opactivate(), opclear(), opcmdkeyfilter(), opcopy(), opcut(), opeditgetundoglobals(), opeditsetglobals(), opeditsetundoglobals(), opgetoutinesize(), opidle(), opinitdisplayvariables(), opkeystroke(), opmousedown(), oppaste(), opprint(), opresetscrollbars(), opscroll(), opselectall(), opsetcursor(), opsetprintinfo(), opsetselectioninfo(), opsettextmode(), opupdate(), opverbclose(), opverbresize(), opverbsetfont(), opverbsetsize(), opwindisposerecord(), opwinloadfile(), opwinnewrecord(), opwinsavefile(), outlinedata, outlinewindow, outlinewindowinfo, scriptbutton(), scriptbuttonstatus(), shellnewcallbacks(), wpinit(), and wpshutdown().

Referenced by frontierstart(), and main().

Here is the call graph for this function:

static void opverbcheckwindowrect hdloutlinerecord  houtline  )  [static]
 

Definition at line 451 of file opwinpad.c.

References equalrects(), outlinewindowinfo, r, and shellgetglobalwindowrect().

Here is the call graph for this function:

boolean opverbclose void   ) 
 

Definition at line 478 of file opwinpad.c.

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

Referenced by opstart().

Here is the call graph for this function:

static void opverbresize void   )  [static]
 

Definition at line 472 of file opwinpad.c.

References opresize().

Here is the call graph for this function:

static void opverbsetcallbacks hdloutlinerecord  houtline  )  [static]
 

Definition at line 417 of file opwinpad.c.

References opverbsetscrollbarsroutine(), and tyoutlinerecord::setscrollbarsroutine.

Here is the call graph for this function:

static boolean opverbsetfont void   )  [static]
 

Definition at line 497 of file opwinpad.c.

References opsetfont().

Here is the call graph for this function:

static boolean opverbsetscrollbarsroutine void   )  [static]
 

Definition at line 402 of file opwinpad.c.

References outlinedata, outlinewindowinfo, and tyoutlinerecord::vertscrollinfo.

Referenced by opverbsetcallbacks().

static boolean opverbsetsize void   )  [static]
 

Definition at line 503 of file opwinpad.c.

References opsetsize().

Here is the call graph for this function:

static boolean opwindisposerecord void   )  [static]
 

Definition at line 530 of file opwinpad.c.

References nil, opdisposeoutline(), and outlinedata.

Referenced by opstart().

Here is the call graph for this function:

static boolean opwinloadfile hdlfilenum  fnum,
short  rnum
[static]
 

Definition at line 542 of file opwinpad.c.

References disposehandle(), filereadhandle(), fl, tyoutlinerecord::flwindowopen, opunpack(), opverbsetcallbacks(), and outlinedata.

Referenced by opstart().

Here is the call graph for this function:

static boolean opwinnewrecord void   )  [static]
 

Definition at line 509 of file opwinpad.c.

References tyoutlinerecord::flwindowopen, opnewrecord(), opverbsetcallbacks(), and outlinedata.

Referenced by opstart().

Here is the call graph for this function:

static boolean opwinsavefile hdlfilenum  fnum,
short  rnum,
boolean  flsaveas
[static]
 

Definition at line 573 of file opwinpad.c.

References disposehandle(), fileseteof(), filesetposition(), filewritehandle(), fl, nil, and oppack().

Referenced by opstart().

Here is the call graph for this function:

static boolean scriptbutton short  buttonnum  )  [static]
 

Definition at line 256 of file opwinpad.c.

References debuggerdata, killbutton, localsbutton, opsettextmode(), outlinewindow, runbutton, scriptkillbutton(), scriptnewprocess(), and shellupdatenow().

Referenced by opstart(), and scriptstart().

Here is the call graph for this function:

static boolean scriptbuttondisplayed short  buttonnum  )  [static]
 

Definition at line 346 of file opwinpad.c.

References debugbutton, debuggerdata, flscriptrunning, followbutton, gobutton, inbutton, killbutton, localsbutton, outbutton, recordbutton, runbutton, scriptinruntimestack(), tydebuggerrecord::scriptprocess, stepbutton, and stopbutton.

Referenced by scriptbuttonstatus().

Here is the call graph for this function:

static boolean scriptbuttonenabled short  buttonnum  )  [static]
 

Definition at line 281 of file opwinpad.c.

References debugbutton, debuggerdata, flscriptrunning, followbutton, gobutton, inbutton, installbutton, killbutton, localsbutton, NULL, outbutton, outlinedata, runbutton, scriptinruntimestack(), stepbutton, stopbutton, and typeLAND.

Referenced by scriptbuttonstatus(), scriptcmdclick(), and scriptdoubleclick().

Here is the call graph for this function:

static boolean scriptbuttonstatus short  buttonnum,
tybuttonstatus status
[static]
 

Definition at line 390 of file opwinpad.c.

References scriptbuttondisplayed(), and scriptbuttonenabled().

Referenced by opstart(), and scriptstart().

Here is the call graph for this function:

static boolean scriptinruntimestack void   )  [static]
 

Definition at line 192 of file opwinpad.c.

References debuggerdata, outlinedata, and return().

Referenced by scriptbuttondisplayed(), scriptbuttonenabled(), scriptgettargetdata(), scriptmousedown(), and scriptupdateserverpopup().

Here is the call graph for this function:

static void scriptkillbutton void   )  [static]
 

Definition at line 224 of file opwinpad.c.

References debuggerdata, and tydebuggerrecord::flscriptkilled.

Referenced by scriptbutton(), scriptclose(), and scriptdebuggercallback().

static boolean scriptnewprocess short  buttonnum  )  [static]
 

Definition at line 240 of file opwinpad.c.

References alertdialog(), bigstring, langrunhandle(), nil, opgetlangtext(), and outlinedata.

Referenced by scriptbutton().

Here is the call graph for this function:


Variable Documentation

hdldebuggerrecord debuggerdata = nil [static]
 

Definition at line 189 of file opwinpad.c.

Referenced by initscripts(), opstart(), scriptbutton(), scriptbuttondisplayed(), scriptbuttonenabled(), scriptclose(), scriptdebugger(), scriptdebuggercallback(), scriptdebuggereventloop(), scriptdebugtraperror(), scriptgetdebuggingcontext(), scriptgetlevelname(), scriptgetsourcerecord(), scriptgobutton(), scriptinruntimestack(), scriptkillbutton(), scriptlocalsbutton(), scriptmousedown(), scriptnewprocess(), scriptpopsourcerecord(), scriptpoptable(), scriptprocesskilled(), scriptpushsourcerecord(), scriptpushtable(), scriptstepbutton(), scriptunlockdebuggingcontext(), and scriptwindowmessage().


Generated on Fri Jun 9 08:24:48 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6