langerrorwindow.c File Reference

#include "frontier.h"
#include "standard.h"
#include "bitmaps.h"
#include "frontierconfig.h"
#include "cursor.h"
#include "font.h"
#include "icon.h"
#include "kb.h"
#include "memory.h"
#include "mouse.h"
#include "ops.h"
#include "popup.h"
#include "resources.h"
#include "quickdraw.h"
#include "scrap.h"
#include "strings.h"
#include "textedit.h"
#include "windowlayout.h"
#include "frontierwindows.h"
#include "shell.rsrc.h"
#include "shellhooks.h"
#include "lang.h"
#include "langinternal.h"
#include "cancoon.h"

Include dependency graph for langerrorwindow.c:

Go to the source code of this file.

Data Structures

struct  tylangerrorrecord

Typedefs

typedef tylangerrorrecordptrlangerrorrecord
typedef tylangerrorrecord ** hdllangerrorrecord

Functions

static void langerroractivate (boolean flactivate)
static boolean langerrorgetwindowrect (Rect *rwindow)
static boolean langerrorclose (void)
static boolean langerrorcopy (void)
static boolean langerrornewwindow (void)
static boolean langerrorsetrects (void)
static void langerrordrawicon (boolean flpressed)
static void langerrorframetext (void)
static void langerrordrawtext (boolean flbitmap)
static void langerrorupdate (void)
static boolean langerrorfindwindow (WindowPtr *w, hdllangerrorrecord *hdata)
boolean clearlangerrordialog (void)
static boolean langerrorset (bigstring bserror, bigstring bslocation)
static boolean langerrordispose (void)
static boolean langerroradjustcursor (Point pt)
static void langerrorbuttonhit (void)
static boolean langerrormousedown (Point pt, tyclickflags flags)
static boolean langerrorkeystroke (void)
boolean langerrordialog (bigstring bsmsg, ptrvoid refcon)
boolean langerrorflush (void)
static boolean langerrordirtyhook (void)
boolean langerrorstart (void)

Variables

WindowPtr langerrorwindow = nil
hdlwindowinfo langerrorwindowinfo = nil
hdllangerrorrecord langerrordata = nil
static hdllangerrorrecord pendingerrordata = nil
static long inhibiterrorclear = 0


Typedef Documentation

typedef struct tylangerrorrecord ** hdllangerrorrecord
 

typedef struct tylangerrorrecord * ptrlangerrorrecord
 


Function Documentation

boolean clearlangerrordialog void   ) 
 

Definition at line 364 of file langerrorwindow.c.

References inhibiterrorclear, langerrorfindwindow(), and shellclosewindow().

Referenced by langerrorstart().

Here is the call graph for this function:

static void langerroractivate boolean  flactivate  )  [static]
 

Definition at line 336 of file langerrorwindow.c.

References drawthemeborder(), langerrordrawicon(), langerrorframetext(), and langerrorsetrects().

Referenced by langerrorstart().

Here is the call graph for this function:

static boolean langerroradjustcursor Point  pt  )  [static]
 

Definition at line 472 of file langerrorwindow.c.

References cursorisarrow, cursorisgo, pointinrect(), pt, and setcursortype().

Referenced by langerrorstart().

Here is the call graph for this function:

static void langerrorbuttonhit void   )  [static]
 

Definition at line 490 of file langerrorwindow.c.

References tyerrorrecord::errorcallback, tyerrorrecord::errorrefcon, tylangerrorrecord::herrorstack, langerrordata, nil, and tyerrorstack::stack.

Referenced by langerrorkeystroke(), and langerrormousedown().

static boolean langerrorclose void   )  [static]
 

Definition at line 98 of file langerrorwindow.c.

References ccsubwindowclose(), ixlangerrorinfo, and langerrorwindowinfo.

Referenced by langerrorstart().

Here is the call graph for this function:

static boolean langerrorcopy void   )  [static]
 

Definition at line 106 of file langerrorwindow.c.

References bigstring, bserror, copystring(), disposehandle(), newtexthandle(), nil, shellsetscrap(), and textscraptype.

Referenced by langerrorstart().

Here is the call graph for this function:

boolean langerrordialog bigstring  bsmsg,
ptrvoid  refcon
 

Definition at line 685 of file langerrorwindow.c.

References ctscanchars, ctscanlines, isemptystring, langerrorset(), and zerostring.

Referenced by fwsnewprocess(), handlewindoweventcommand(), langerrorstart(), newprocess(), scriptdebugerrordebugger(), and scriptdebugerrormessage().

Here is the call graph for this function:

static boolean langerrordirtyhook void   )  [static]
 

Definition at line 735 of file langerrorwindow.c.

References tylangerrorrecord::flcallbackconsumed, flscriptrunning, langerrordrawicon(), langerrorfindwindow(), langerrorsetrects(), shellpopglobals(), and shellpushglobals().

Referenced by langerrorstart().

Here is the call graph for this function:

static boolean langerrordispose void   )  [static]
 

Definition at line 456 of file langerrorwindow.c.

References disposehandle(), and langerrordata.

Referenced by langerrorstart().

Here is the call graph for this function:

static void langerrordrawicon boolean  flpressed  )  [static]
 

Definition at line 222 of file langerrorwindow.c.

References bigstring, drawlabeledwindoidicon(), getstringlist(), langerrordata, langerrorlistnumber, and scripticonstring.

Referenced by langerroractivate(), langerrordirtyhook(), langerrorkeystroke(), langerrormousedown(), and langerrorupdate().

Here is the call graph for this function:

static void langerrordrawtext boolean  flbitmap  )  [static]
 

Definition at line 250 of file langerrorwindow.c.

References bigstring, bserror, closebitmap(), copystring(), edittwostringbox(), font, geneva, insetrect(), langerrordata, langerrorwindow, langerrorwindowinfo, openbitmap(), stringfindchar(), stringreplaceall(), and zerostring.

Referenced by langerrorupdate().

Here is the call graph for this function:

static boolean langerrorfindwindow WindowPtr w,
hdllangerrorrecord hdata
[static]
 

Definition at line 356 of file langerrorwindow.c.

References idlangerrorconfig, and shellfindwindow().

Referenced by clearlangerrordialog(), langerrordirtyhook(), and langerrorset().

Here is the call graph for this function:

boolean langerrorflush void   ) 
 

Definition at line 703 of file langerrorwindow.c.

References langerrornewwindow(), nil, and pendingerrordata.

Referenced by ccbackground().

Here is the call graph for this function:

static void langerrorframetext void   )  [static]
 

Definition at line 236 of file langerrorwindow.c.

References framerect(), langerrordata, poppen(), pushpen(), and setgraypen().

Referenced by langerroractivate(), and langerrorupdate().

Here is the call graph for this function:

static boolean langerrorgetwindowrect Rect rwindow  )  [static]
 

Definition at line 92 of file langerrorwindow.c.

References ccgetwindowrect(), and ixlangerrorinfo.

Referenced by langerrornewwindow().

Here is the call graph for this function:

static boolean langerrorkeystroke void   )  [static]
 

Definition at line 659 of file langerrorwindow.c.

References chenter, tykeystrokerecord::chkb, delayticks(), keyboardstatus, langerrorbuttonhit(), langerrordata, and langerrordrawicon().

Referenced by langerrorstart().

Here is the call graph for this function:

static boolean langerrormousedown Point  pt,
tyclickflags  flags
[static]
 

Definition at line 586 of file langerrorwindow.c.

References cursorisarrow, getmousedoubleclicktime(), getmousepoint(), langerrorbuttonhit(), langerrordata, langerrordrawicon(), mousestilldown(), pointinrect(), pt, and setcursortype().

Referenced by langerrorstart().

Here is the call graph for this function:

static boolean langerrornewwindow void   )  [static]
 

Definition at line 125 of file langerrorwindow.c.

References bigstring, ccnewsubwindow(), disposehandle(), fl, getstringlist(), getwindowinfo(), idlangerrorconfig, inhibiterrorclear, ixlangerrorinfo, langerrorgetwindowrect(), langerrorlistnumber, langerrortitlestring, newchildwindow(), newclearhandle(), nil, pendingerrordata, shellgetfrontrootinfo(), shellgetwindowcenter(), and windowzoom().

Referenced by langerrorflush().

Here is the call graph for this function:

static boolean langerrorset bigstring  bserror,
bigstring  bslocation
[static]
 

Definition at line 377 of file langerrorwindow.c.

References copyhandle(), copystring(), ctscanchars, ctscanlines, disposehandle(), tyerrorrecord::errorcallback, inhibiterrorclear, langcallbacks, langerrorfindwindow(), langerrorupdate(), langerrorwindowinfo, newclearhandle(), nil, pendingerrordata, tylangcallbacks::scripterrorstack, shellbringtofront(), shellforcebackgroundtask(), shellpopglobals(), shellpushglobals(), tyerrorstack::stack, and sysbeep.

Referenced by langerrordialog().

Here is the call graph for this function:

static boolean langerrorsetrects void   )  [static]
 

Definition at line 190 of file langerrorwindow.c.

References iconrectheight, iconrectwidth, langerrordata, r, and windowmargin.

Referenced by langerroractivate(), langerrordirtyhook(), and langerrorupdate().

boolean langerrorstart void   ) 
 

Definition at line 779 of file langerrorwindow.c.

References tylangcallbacks::clearerrorcallback, clearlangerrordialog(), tylangcallbacks::errormessagecallback, idlangerrorconfig, langcallbacks, langerroractivate(), langerroradjustcursor(), langerrorclose(), langerrorcopy(), langerrordata, langerrordialog(), langerrordirtyhook(), langerrordispose(), langerrorkeystroke(), langerrormousedown(), langerrorupdate(), langerrorwindow, langerrorwindowinfo, loadconfigresource(), shellnewcallbacks(), and shellpushdirtyhook().

Referenced by frontierstart().

Here is the call graph for this function:

static void langerrorupdate void   )  [static]
 

Definition at line 298 of file langerrorwindow.c.

References drawthemeborder(), eraserect(), langerrordrawicon(), langerrordrawtext(), langerrorframetext(), langerrorsetrects(), langerrorwindow, nil, popbackcolor(), pushbackcolor(), and whitecolor.

Referenced by langerrorset(), and langerrorstart().

Here is the call graph for this function:


Variable Documentation

long inhibiterrorclear = 0 [static]
 

Definition at line 88 of file langerrorwindow.c.

Referenced by clearlangerrordialog(), langerrornewwindow(), and langerrorset().

hdllangerrorrecord langerrordata = nil
 

Definition at line 84 of file langerrorwindow.c.

Referenced by langerrorbuttonhit(), langerrordispose(), langerrordrawicon(), langerrordrawtext(), langerrorframetext(), langerrorkeystroke(), langerrormousedown(), langerrorsetrects(), and langerrorstart().

WindowPtr langerrorwindow = nil
 

Definition at line 80 of file langerrorwindow.c.

Referenced by langerrordrawtext(), langerrorstart(), and langerrorupdate().

hdlwindowinfo langerrorwindowinfo = nil
 

Definition at line 82 of file langerrorwindow.c.

Referenced by langerrorclose(), langerrordrawtext(), langerrorset(), and langerrorstart().

hdllangerrorrecord pendingerrordata = nil [static]
 

Definition at line 86 of file langerrorwindow.c.

Referenced by langerrorflush(), langerrornewwindow(), and langerrorset().


Generated on Sat Jun 3 03:47:04 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6