wpengine.h File Reference

#include "shell.h"

Include dependency graph for wpengine.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tywprecord

Defines

#define wpengineinclude
#define NewTrackClickProc(userRoutine)   ((TrackClickUPP) (userRoutine))
#define CallTrackClickProc(userRoutine, wp, pt)   (*(userRoutine))(wp, pt)
#define wpnoflags   0
#define wponeline   0x0001
#define wpneverscroll   0x0002
#define wpalwaysmeasure   0x0004
#define wpprinting   0x0008

Typedefs

typedef tywprecordptrwprecord
typedef tywprecord ** hdlwprecord
typedef pascal void(* TrackClickProcPtr )(hdlwprecord, Point)
typedef TrackClickProcPtr TrackClickUPP
typedef void(* wpvoidcallback )(void)
typedef unsigned long tywpflags

Functions

boolean wppushdata (hdlwprecord)
boolean wppopdata (void)
boolean wpinit (void)
void wpshutdown (void)
boolean wpgetruler (void)
boolean wpsetruler (boolean)
hdlwprecord wpnewbuffer (Handle, const Rect *, const Rect *, tywpflags, boolean)
boolean wpnewrecord (Rect, hdlwprecord *)
void wpsetupwindow (void)
boolean wpsetbufferrect (Rect, Rect)
boolean wphidecursor (void)
boolean wppack (Handle *)
boolean wpunpack (Handle, hdlwprecord *)
boolean wpscroll (tydirection, boolean, long)
void wpresetscrollbars (void)
void wpdisposerecord (hdlwprecord)
void wpdispose (void)
boolean wpsetname (bigstring)
boolean wptotalrecalc (void)
boolean wpgetdisplay (void)
boolean wpsetdisplay (boolean)
void wpresize (void)
boolean wpkeystroke (void)
boolean wpgo (tydirection, long)
void wpclick (Point, tyclickflags)
void wpactivate (boolean)
void wpupdate (void)
void wpidle (void)
boolean wpadjustcursor (Point)
boolean wpundo (void)
boolean wpscraphook (Handle)
boolean wpcut (void)
boolean wpcopy (void)
boolean wppaste (boolean)
boolean wpclear (void)
boolean wpinserthandle (Handle)
boolean wpinsert (bigstring)
boolean wpsetselection (long, long)
boolean wpgetselection (long *, long *)
boolean wpgetselrect (Rect *)
boolean wpgetselpoint (Point *)
boolean wpsetselpoint (Point)
boolean wpselectword (void)
boolean wpselectline (void)
boolean wpselectpara (void)
boolean wpselectall (void)
boolean wpsetfont (void)
boolean wpsetsize (void)
boolean wpsetstyle (void)
boolean wpsetleading (void)
boolean wpsetjustify (void)
boolean wpgetmaxpos (long *)
boolean wpsetselectioninfo (void)
boolean wpgettexthandle (Handle *)
boolean wpgettext (bigstring, long *)
boolean wpgetseltexthandle (Handle *)
boolean wpgetseltext (bigstring)
boolean wpsettexthandle (Handle)
boolean wpsettext (bigstring)
short wpavailwidth (void)
boolean wppagesetup (void)
boolean wpsetprintinfo (void)
boolean wpbeginprint (void)
boolean wpendprint (void)
boolean wpprint (short)
boolean wpgetindent (short *)
boolean wpsetindent (short)
boolean wpgetleftmargin (short *)
boolean wpsetleftmargin (short)
boolean wpgetrightmargin (short *)
boolean wpsetrightmargin (short)
boolean wpsettab (short, short, byte)
boolean wpcleartabs (void)
boolean wpgetcontentsize (long *, long *)
boolean wpmeasuretext (Handle, Rect *, tywpflags)
boolean wpdrawtext (Handle, const Rect *, const Rect *, tywpflags)
boolean wpsearch (boolean, boolean, boolean, boolean)
boolean wpreadfromtextfile (bigstring)
boolean wpwritetotextfile (bigstring)
boolean wptraversehiddentext (tydirection dir, long *)
boolean wptrimhiddentext (void)

Variables

WindowPtr wpwindow
hdlwprecord wpdata
hdlwindowinfo wpwindowinfo
boolean flwperror


Define Documentation

#define CallTrackClickProc userRoutine,
wp,
pt   )     (*(userRoutine))(wp, pt)
 

Definition at line 72 of file wpengine.h.

Referenced by wpclick().

#define NewTrackClickProc userRoutine   )     ((TrackClickUPP) (userRoutine))
 

Definition at line 69 of file wpengine.h.

#define wpalwaysmeasure   0x0004
 

Definition at line 94 of file wpengine.h.

Referenced by oploadeditbuffer(), and wpnewbuffer().

#define wpengineinclude
 

Definition at line 28 of file wpengine.h.

#define wpneverscroll   0x0002
 

Definition at line 93 of file wpengine.h.

Referenced by miniloadstrings(), oploadeditbuffer(), and wpnewbuffer().

#define wpnoflags   0
 

Definition at line 91 of file wpengine.h.

Referenced by wpunpack().

#define wponeline   0x0001
 

Definition at line 92 of file wpengine.h.

Referenced by opeditdrawtext(), opeditmeasuretext(), oploadeditbuffer(), wpnewbuffer(), wpnewpg(), and wpunpack().

#define wpprinting   0x0008
 

Definition at line 95 of file wpengine.h.

Referenced by opeditdrawtext(), opeditmeasuretext(), wpdrawtext(), wpnewbuffer(), and wpnewpg().


Typedef Documentation

typedef struct tywprecord ** hdlwprecord
 

Definition at line 46 of file wpengine.h.

typedef struct tywprecord* ptrwprecord
 

Definition at line 46 of file wpengine.h.

typedef pascal void(* TrackClickProcPtr)(hdlwprecord, Point)
 

Definition at line 65 of file wpengine.h.

typedef TrackClickProcPtr TrackClickUPP
 

Definition at line 67 of file wpengine.h.

typedef unsigned long tywpflags
 

Definition at line 98 of file wpengine.h.

typedef void(* wpvoidcallback)(void)
 

Definition at line 88 of file wpengine.h.


Function Documentation

void wpactivate boolean   ) 
 

Definition at line 1731 of file wpengine.c.

References activate_verb, deactivate_verb, hide_cursor, no_change_verb, popclip(), pushvalidrgnclip(), TRUE, wpbuffer, wpdisplayenabled(), wpframeselection(), wpisactive(), wppopdraw(), wppushdraw(), wpsetglobals(), and wpvisicursor().

Referenced by miniactivate(), miniactivatemessage(), minimousedown(), opeditactivate(), oploadeditbuffer(), opunloadeditbuffer(), wpgo(), and wpstart().

Here is the call graph for this function:

boolean wpadjustcursor Point   ) 
 

Definition at line 4509 of file wpengine.c.

References cursorisarrow, cursorisibeam, NULL, point, pt, setcursortype(), WITHIN_VIS_AREA, wpbuffer, and wpsetglobals().

Referenced by wpstart().

Here is the call graph for this function:

short wpavailwidth void   ) 
 

Definition at line 567 of file wpengine.c.

References typrintinfo::paperrect, and shellprintinfo.

Referenced by wpfunctionvalue(), and wpsetavailbounds().

boolean wpbeginprint void   ) 
 

Definition at line 1928 of file wpengine.c.

References MEM_NULL, nil, shellprintinfo, wpdata, wpprintdevice, and ws_globals.

Referenced by opbeginprint(), and wpstart().

boolean wpclear void   ) 
 

Definition at line 4159 of file wpengine.c.

References pushundoaction(), undoclearstring, wpdelete(), wppostedit(), wppreedit(), and wpresettyping().

Referenced by miniclear(), opeditclear(), tableclearroutine(), and wpstart().

Here is the call graph for this function:

boolean wpcleartabs void   ) 
 

Definition at line 4933 of file wpengine.c.

References mem_globals, MEM_NULL, MemoryAlloc, no_tab, NULL, pushundoaction(), screen_offset, tab, undoformatstring, wpbuffer, wpdirtyselectioninfo(), wpdisplay_way, wppreedit(), and wppushrulerundo().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

void wpclick Point  ,
tyclickflags 
 

Definition at line 3762 of file wpengine.c.

References CallTrackClickProc, FALSE, getmousepoint(), mouse_down, mouse_moved, mouse_up, mousestilldown(), NULL, point, pointinrect(), pt, r, shellsetselectioninfo(), TRUE, WITHIN_VIS_AREA, wpbuffer, wpdata, wppostruleredit(), wppreedit(), wpresettyping(), and wprulerclick().

Referenced by minimousedown(), opeditclick(), and wpverbclick().

Here is the call graph for this function:

boolean wpcopy void   ) 
 

Definition at line 4066 of file wpengine.c.

References NULL, wpbuffer, wpsetglobals(), and wpsetscrap().

Referenced by minicopy(), opeditcopy(), tablecopyroutine(), and wpstart().

Here is the call graph for this function:

boolean wpcut void   ) 
 

Definition at line 4047 of file wpengine.c.

References NULL, pushundoaction(), undo_delete, undocutstring, wpbuffer, wpdisplay_way, wppostedit(), wppreedit(), wppushundo(), wpresettyping(), and wpsetscrap().

Referenced by minicut(), opeditcut(), tablecutroutine(), and wpstart().

Here is the call graph for this function:

void wpdispose void   ) 
 

Definition at line 3045 of file wpengine.c.

References nil, wpdata, wpdisposerecord(), wpresettyping(), and wpsetglobals().

Referenced by opeditdispose(), oploadeditbuffer(), and opunloadeditbuffer().

Here is the call graph for this function:

void wpdisposerecord hdlwprecord   ) 
 

Definition at line 3030 of file wpengine.c.

References disposehandle(), nil, and wpdisposeundo().

Referenced by minidisposerecord(), oploadeditbuffer(), wpdispose(), wpdisposevariable(), wpverbpack(), and wpverbunload().

Here is the call graph for this function:

boolean wpdrawtext Handle  ,
const Rect ,
const Rect ,
tywpflags 
 

Definition at line 1436 of file wpengine.c.

References defaultpgflags, direct_copy, graf_device::machine_ref3, graf_device::machine_var, mem_globals, MEM_NULL, nil, NULL, PG_CATCH, PG_ENDTRY, PG_TRY, shellprintinfo, shellwindowinfo, wpnewpg(), wpprinting, and ws_globals.

Referenced by opeditdrawtext().

Here is the call graph for this function:

boolean wpendprint void   ) 
 

Definition at line 1950 of file wpengine.c.

References wpprintdevice, and ws_globals.

Referenced by opendprint(), and wpstart().

boolean wpgetcontentsize long ,
long
 

Definition at line 1057 of file wpengine.c.

References bounds, wpbuffer, wpgetrulerheight(), and wpsetglobals().

Referenced by opeditmeasuretext(), and wpstart().

Here is the call graph for this function:

boolean wpgetdisplay void   ) 
 

Definition at line 654 of file wpengine.c.

References wpdata, and wpsetglobals().

Here is the call graph for this function:

boolean wpgetindent short  ) 
 

Definition at line 4822 of file wpengine.c.

References indents, mask, NULL, and wpbuffer.

Referenced by wpfunctionvalue().

boolean wpgetleftmargin short  ) 
 

Definition at line 4844 of file wpengine.c.

References indents, mask, NULL, and wpbuffer.

Referenced by wpfunctionvalue().

boolean wpgetmaxpos long  ) 
 

Definition at line 4308 of file wpengine.c.

References gettextlength(), wpbuffer, and wpsetglobals().

Referenced by opeditcango(), opeditgetmaxpos(), wppackheader(), and wpverbgetsize().

Here is the call graph for this function:

boolean wpgetrightmargin short  ) 
 

Definition at line 4866 of file wpengine.c.

References indents, mask, NULL, and wpbuffer.

Referenced by wpfunctionvalue().

boolean wpgetruler void   ) 
 

Definition at line 726 of file wpengine.c.

References wpsetglobals().

Referenced by wpfunctionvalue(), and wpupdate().

Here is the call graph for this function:

boolean wpgetselection long ,
long
 

Definition at line 4319 of file wpengine.c.

References left, wpbuffer, wpsetglobals(), wpsetselection(), and wptraversehiddentext().

Referenced by dosearch(), opeditcango(), opeditgetselection(), opeditrecalcheadline(), opfunctionvalue(), opsaveeditbuffer(), wpfunctionvalue(), wpgo(), wpinserthandle(), wpselectpara(), wptrimhiddentext(), and wpverbruncursor().

Here is the call graph for this function:

boolean wpgetselpoint Point  ) 
 

Definition at line 1546 of file wpengine.c.

References r, TRUE, wpbuffer, and wpsetglobals().

Referenced by opeditgetselpoint(), and wpkeystroke().

Here is the call graph for this function:

boolean wpgetselrect Rect  ) 
 

Definition at line 1514 of file wpengine.c.

References bounds, CURRENT_POSITION, mem_globals, MEM_NULL, rgn, wpbuffer, and wpsetglobals().

Referenced by opeditcango(), opeditgetselrect(), and wpselectline().

Here is the call graph for this function:

boolean wpgetseltext bigstring   ) 
 

Definition at line 2702 of file wpengine.c.

References disposehandle(), setemptystring, texthandletostring(), and wpgetseltexthandle().

Referenced by doreplaceallfunc(), minigetselstring(), opeditgetseltext(), and wpverbclick().

Here is the call graph for this function:

boolean wpgetseltexthandle Handle  ) 
 

Definition at line 2665 of file wpengine.c.

References all_visible_text_chars, MEM_NULL, newemptyhandle(), newfilledhandle(), nil, NULL, text, wpbuffer, and wpsetglobals().

Referenced by wpfunctionvalue(), wpgetseltext(), and wpverbruncursor().

Here is the call graph for this function:

boolean wpgettext bigstring  ,
long
 

Definition at line 2641 of file wpengine.c.

References disposehandle(), gethandlesize(), setemptystring, texthandletostring(), and wpgettexthandle().

Here is the call graph for this function:

boolean wpgettexthandle Handle  ) 
 

Definition at line 2579 of file wpengine.c.

References block, disposehandle(), enlargehandle(), fl, h, newemptyhandle(), text, wpbuffer, and wpsetglobals().

Referenced by minigetstring(), opdefaultgetwpedittext(), tablegetwpedittext(), wpfunctionvalue(), wpgettext(), and wpverbpacktotext().

Here is the call graph for this function:

boolean wpgo tydirection  ,
long 
 

Definition at line 3637 of file wpengine.c.

References chdownarrow, chleftarrow, chrightarrow, chuparrow, compute_cursor, CURRENT_POSITION, down, flatdown, flatup, key_insert_mode, left, nil, right, up, wpactivate(), wpbuffer, wpdata, wpdisplay_way, wpgetselection(), wpisactive(), wppostedit(), wppreedit(), and wpresettyping().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wphidecursor void   ) 
 

Definition at line 893 of file wpengine.c.

References hide_cursor, wpbuffer, and wpsetglobals().

Referenced by oppostedit().

Here is the call graph for this function:

void wpidle void   ) 
 

Definition at line 4528 of file wpengine.c.

References hide_cursor, wpbuffer, wppopdraw(), wppushdraw(), and wpsetglobals().

Referenced by miniidle(), opeditidle(), and wpstart().

Here is the call graph for this function:

boolean wpinit void   ) 
 

Definition at line 261 of file wpengine.c.

References pg_style_hooks::char_info, pg_globals::def_style, mem_globals, NewRgn, style_info::procs, wpselectionrgn, and ws_globals.

Referenced by main(), opstart(), and wpstart().

boolean wpinsert bigstring   ) 
 

Definition at line 3930 of file wpengine.c.

References stringlength, and wpinserttext().

Referenced by doreplaceallfunc(), dosearch(), opeditinsert(), and searchfunctionvalue().

Here is the call graph for this function:

boolean wpinserthandle Handle   ) 
 

Definition at line 3874 of file wpengine.c.

References fl, invalrect(), NULL, oploadeditbuffer(), opunloadeditbuffer(), outlinedata, wpbuffer, wpdisplay_way, wpdisplayenabled(), wpgetselection(), wpinserttexthandle(), wppostruleredit(), wppreedit(), wpresettyping(), wpsetdisplay(), and wpsetselection().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wpkeystroke void   ) 
 

Definition at line 3408 of file wpengine.c.

References begin_line_caret, chbackspace, chdelete, chdownarrow, chend, chhome, tykeystrokerecord::chkb, chleftarrow, chpagedown, chpageup, chreturn, chrightarrow, chtab, chuparrow, CURRENT_POSITION, doc_bottom_caret, down, end_line_caret, EXTEND_MOD_BIT, tykeystrokerecord::flcmdkey, tykeystrokerecord::floptionkey, tykeystrokerecord::flshiftkey, home_caret, key_insert_mode, keyboardstatus, tykeystrokerecord::keydirection, left, modifiers, next_word_caret, nodirection, NULL, null_caret, obscurecursor(), previous_word_caret, pt, pushundoaction(), setupundo(), toggle_cursor, undo_backspace, undo_fwd_delete, undo_none, undo_typing, undotypingstring, up, wpbuffer, wpdata, wpdisplay_way, wpdisposeundo(), wpgetselpoint(), wppostruleredit(), wppreedit(), wppushundostep(), wpscroll(), wpsetcaretpos(), wpsetselpoint(), wptraversehiddentext(), and wpvisicursor().

Referenced by minikeystroke(), opeditkey(), and wpverbkeystroke().

Here is the call graph for this function:

boolean wpmeasuretext Handle  ,
Rect ,
tywpflags 
 

Definition at line 1410 of file wpengine.c.

References bounds, MEM_NULL, and wpnewpg().

Referenced by opeditmeasuretext().

Here is the call graph for this function:

hdlwprecord wpnewbuffer Handle  ,
const Rect ,
const Rect ,
tywpflags  ,
boolean 
 

Definition at line 2868 of file wpengine.c.

References activate_verb, defaultpgflags, device, disposehandle(), tywprecord::floneline, mem_globals, MEM_NULL, memoryerror(), newclearhandle(), newshape(), nil, NO_WRAP_BIT, PG_CATCH, PG_ENDTRY, PG_TRY, setdefaultstyles(), timenow(), truenoop(), USE_NO_DEVICE, wpalwaysmeasure, wpneverscroll, wpnoop(), wponeline, wpprinting, wpsetautoscroll(), wptrackclickUPP, wpunpacktext(), wpwindow, and ws_globals.

Referenced by miniloadstrings(), oploadeditbuffer(), wpnewrecord(), and wpunpack().

Here is the call graph for this function:

boolean wpnewrecord Rect  ,
hdlwprecord
 

Definition at line 2987 of file wpengine.c.

References bigstring, tyconfigrecord::defaultfont, tyconfigrecord::defaultsize, tyconfigrecord::defaultstyle, tyconfigrecord::defaultwindowrect, idwpconfig, nil, offsetrect(), typrintinfo::paperrect, popport(), popstyle(), pushscratchport(), pushstyle(), setemptystring, shellgetconfig(), shellprintinfo, and wpnewbuffer().

Referenced by wpverbnew().

Here is the call graph for this function:

boolean wppack Handle  ) 
 

Definition at line 2399 of file wpengine.c.

References disposehandle(), fl, gethandlesize(), nil, pushhandle(), wpbuffer, wppackheader(), wppacktext(), and wpsetglobals().

Referenced by wpverbpackrecord().

Here is the call graph for this function:

boolean wppagesetup void   ) 
 

Definition at line 1890 of file wpengine.c.

References shellinvalcontent(), wpbuffer, wpsetavailbounds(), wpsetglobals(), and wpwindowinfo.

Referenced by wpstart().

Here is the call graph for this function:

boolean wppaste boolean   ) 
 

Definition at line 4075 of file wpengine.c.

References CURRENT_POSITION, data_insert_mode, disposehandle(), FALSE, gethandlesize(), lockhandle(), mem_globals, memoryerror(), NULL, PG_CATCH, PG_ENDTRY, PG_TRY, pictscraptype, pushundoaction(), shellconvertscrap(), textscraptype, undo_insert, undo_paste, undopastestring, unlockhandle(), wpbuffer, wpdisplay_way, wppostedit(), wppreedit(), wppushundo(), wpresettyping(), and wpscraptype.

Referenced by minipaste(), opeditpaste(), wpverbnew(), and wpverbpaste().

Here is the call graph for this function:

boolean wppopdata void   ) 
 

Definition at line 478 of file wpengine.c.

References topwpstack, wpdata, and wpstack.

Referenced by wpverbfind(), wpverbgetsize(), and wpverbnew().

boolean wpprint short   ) 
 

Definition at line 1958 of file wpengine.c.

References best_way, typrintinfo::paperrect, r, shellprintinfo, wpbuffer, wpdata, wpprintdevice, wpresettyping(), and wpsetglobals().

Referenced by wpstart().

Here is the call graph for this function:

boolean wppushdata hdlwprecord   ) 
 

Definition at line 456 of file wpengine.c.

References ctwpstack, idwpstackfull, shellinternalerror, STR_wp_stack_overflow, topwpstack, wpdata, and wpstack.

Referenced by wpverbfind(), wpverbgetsize(), and wpverbnew().

boolean wpreadfromtextfile bigstring   ) 
 

Referenced by wpfunctionvalue().

void wpresetscrollbars void   ) 
 

Definition at line 1043 of file wpengine.c.

References wpgetscrollbarinfo(), wpredrawscrollbars(), and wpsetglobals().

Referenced by wppostruleredit(), wpresize(), wpscroll(), wpsetbufferrect(), wpstart(), and wpvisicursor().

Here is the call graph for this function:

void wpresize void   ) 
 

Definition at line 4263 of file wpengine.c.

References co_ordinate::h, NULL, co_ordinate::v, wpbuffer, wpdirty(), wpresetscrollbars(), and wpsetglobals().

Referenced by wpstart().

Here is the call graph for this function:

boolean wpscraphook Handle   ) 
 

Definition at line 4026 of file wpengine.c.

References getscrap(), wpscraptype, wpsetscrap(), and wpunpacktext().

Referenced by wpstart().

Here is the call graph for this function:

boolean wpscroll tydirection  ,
boolean  ,
long 
 

Referenced by tablesetwpedittext(), wpkeystroke(), wpstart(), and wptrackclick().

boolean wpsearch boolean  ,
boolean  ,
boolean  ,
boolean 
 

Definition at line 4401 of file wpengine.c.

References block, ctblocks, wpbuffer, and wpsetglobals().

Referenced by dosearch().

Here is the call graph for this function:

boolean wpselectall void   ) 
 

Definition at line 4178 of file wpengine.c.

References longinfinity, and wpsetselection().

Referenced by miniselectallandactivate(), minisetfontsize(), opeditselectall(), wpselectline(), and wpstart().

Here is the call graph for this function:

boolean wpselectline void   ) 
 

Definition at line 4197 of file wpengine.c.

References CURRENT_POSITION, wpbuffer, wpgetselrect(), wpselectall(), wpsetglobals(), and wpsetselection().

Referenced by wpfunctionvalue(), and wpverbruncursor().

Here is the call graph for this function:

boolean wpselectpara void   ) 
 

Definition at line 4227 of file wpengine.c.

References wpbuffer, wpgetselection(), wpsetglobals(), and wpsetselection().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wpselectword void   ) 
 

Definition at line 4184 of file wpengine.c.

References CURRENT_POSITION, FALSE, TRUE, wpbuffer, wpsetglobals(), and wpsetselection().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wpsetbufferrect Rect  ,
Rect 
 

Definition at line 849 of file wpengine.c.

References bounds, CURRENT_POSITION, FALSE, hide_cursor, MEM_NULL, newshape(), wpadjustboundstofit(), wpbuffer, wpgetrulerheight(), wpresetscrollbars(), and wpsetglobals().

Referenced by miniresizetextrects(), opseteditbufferrect(), and wplinkwindowinfo().

Here is the call graph for this function:

boolean wpsetdisplay boolean   ) 
 

Definition at line 671 of file wpengine.c.

References wpsetglobals(), and wptotalrecalc().

Referenced by wpfunctionvalue(), and wpinserthandle().

Here is the call graph for this function:

boolean wpsetfont void   ) 
 

Definition at line 4562 of file wpengine.c.

References bigstring, convertpstring(), fontgetname(), NULL, pushundoaction(), undoformatstring, wpbuffer, wpdisplayenabled(), wppostedit(), wppreedit(), and wppushformatundo().

Referenced by minisetfontsize(), and wpstart().

Here is the call graph for this function:

boolean wpsetindent short   ) 
 

Definition at line 4834 of file wpengine.c.

References indents, mask, and wpsetverbindent().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wpsetjustify void   ) 
 

Definition at line 4657 of file wpengine.c.

References centerjustified, fulljustified, info, justify_center, justify_full, justify_left, justify_right, leftjustified, mask, NULL, pushundoaction(), rightjustified, undoformatstring, wpbuffer, wpdirtyselectioninfo(), wpdisplay_way, wppostruleredit(), wppreedit(), and wppushrulerundo().

Referenced by wpfunctionvalue(), and wpstart().

Here is the call graph for this function:

boolean wpsetleading void   ) 
 

Definition at line 4631 of file wpengine.c.

References info, mask, NULL, pushundoaction(), undoformatstring, wpbuffer, wpdisplay_way, wppostruleredit(), wppreedit(), and wppushrulerundo().

Referenced by wpfunctionvalue(), and wpstart().

Here is the call graph for this function:

boolean wpsetleftmargin short   ) 
 

Definition at line 4856 of file wpengine.c.

References indents, mask, and wpsetverbindent().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wpsetname bigstring   ) 
 

Definition at line 4242 of file wpengine.c.

References disposehandle(), fl, newheapstring(), and wpdirty().

Here is the call graph for this function:

boolean wpsetprintinfo void   ) 
 

Definition at line 1903 of file wpengine.c.

References typrintinfo::ctpages, infinity, typrintinfo::paperrect, r, shellprintinfo, and wpsetglobals().

Referenced by wpstart().

Here is the call graph for this function:

boolean wpsetrightmargin short   ) 
 

Definition at line 4878 of file wpengine.c.

References indents, mask, and wpsetverbindent().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wpsetruler boolean   ) 
 

Referenced by wpfunctionvalue().

boolean wpsetselection long  ,
long 
 

Definition at line 4339 of file wpengine.c.

References gettextlength(), min, wpbuffer, wpdirtyselectioninfo(), wpdisplayenabled(), wpframeselection(), wpisactive(), wppopdraw(), wppushdraw(), wpresettyping(), wpsetglobals(), and wpupdate().

Referenced by dosearch(), minisetselect(), opeditrecalcheadline(), opeditsetselection(), opfunctionvalue(), oploadeditbuffer(), oprestoreeditbuffer(), wpfunctionvalue(), wpgetselection(), wpinserthandle(), wpselectall(), wpselectline(), wpselectpara(), wpselectword(), wptraversehiddentext(), and wptrimhiddentext().

Here is the call graph for this function:

boolean wpsetselectioninfo void   ) 
 

Definition at line 4712 of file wpengine.c.

References bigstring, centerjustified, clearbytes(), convertcstring(), FALSE, fontgetnumber(), fulljustified, info, justify_center, justify_full, justify_left, justify_right, leftjustified, mask, NULL, rightjustified, unknownjustification, wpbuffer, wpownwindowinfo(), and wpsetglobals().

Referenced by wpstart().

Here is the call graph for this function:

boolean wpsetselpoint Point   ) 
 

Definition at line 1574 of file wpengine.c.

References NULL, offset, point, pt, r, TRUE, wpbuffer, wpdisplayenabled(), and wpsetglobals().

Referenced by opeditsetselpoint(), and wpkeystroke().

Here is the call graph for this function:

boolean wpsetsize void   ) 
 

Definition at line 4587 of file wpengine.c.

References NULL, pushundoaction(), undoformatstring, wpbuffer, wpdisplayenabled(), wppostedit(), wppreedit(), and wppushformatundo().

Referenced by minisetfontsize(), and wpstart().

Here is the call graph for this function:

boolean wpsetstyle void   ) 
 

Definition at line 4604 of file wpengine.c.

References normal, NULL, pushundoaction(), style_bits, undoformatstring, wpbuffer, wpdisplayenabled(), wppostedit(), wppreedit(), and wppushformatundo().

Referenced by wpstart().

Here is the call graph for this function:

boolean wpsettab short  ,
short  ,
byte 
 

Definition at line 4888 of file wpengine.c.

References chnul, chspace, NULL, pushundoaction(), tab, undoformatstring, wpbuffer, wpdirtyselectioninfo(), wpdisplay_way, wppostruleredit(), wppreedit(), and wppushrulerundo().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wpsettext bigstring   ) 
 

Definition at line 2847 of file wpengine.c.

References disposehandle(), fl, newtexthandle(), and wpsettexthandle().

Here is the call graph for this function:

boolean wpsettexthandle Handle   ) 
 

Definition at line 2810 of file wpengine.c.

References draw_none, fl, gettextlength(), nil, pushundoaction(), range, wpbuffer, wpdirtyselectioninfo(), wpdisplay_way, wpinserttexthandle(), wpownwindowinfo(), wppostruleredit(), and wppreedit().

Referenced by minisetstring(), opdefaultsetwpedittext(), tablesetwpedittext(), wpfunctionvalue(), and wpsettext().

Here is the call graph for this function:

void wpsetupwindow void   ) 
 

Definition at line 769 of file wpengine.c.

References MEM_NULL, wpbuffer, wpsetglobals(), wpwindow, and ws_globals.

Referenced by wplinkwindowinfo().

Here is the call graph for this function:

void wpshutdown void   ) 
 

Definition at line 277 of file wpengine.c.

References mem_globals, and ws_globals.

Referenced by opstart(), and wpstart().

boolean wptotalrecalc void   ) 
 

Definition at line 4291 of file wpengine.c.

References FALSE, wpbuffer, wppostedit(), and wppreedit().

Referenced by wpsetdisplay().

Here is the call graph for this function:

boolean wptraversehiddentext tydirection  dir,
long
 

Definition at line 3290 of file wpengine.c.

References left, wpbuffer, and wpsetselection().

Referenced by wpgetselection(), wpkeystroke(), and wptrimhiddentext().

Here is the call graph for this function:

boolean wptrimhiddentext void   ) 
 

Definition at line 3348 of file wpengine.c.

References fl, left, right, wpgetselection(), wpsetselection(), and wptraversehiddentext().

Referenced by wpfunctionvalue().

Here is the call graph for this function:

boolean wpundo void   ) 
 

Definition at line 4382 of file wpengine.c.

References getundo(), setundo(), wpbuffer, wpdata, wpdisplay_way, wpdisposeundo(), wppostedit(), and wppreedit().

Referenced by wpundoroutine().

Here is the call graph for this function:

boolean wpunpack Handle  ,
hdlwprecord
 

Definition at line 2438 of file wpengine.c.

References assert, bigstring, BIGSTRING, diskrecttorect(), error, nil, typrintinfo::paperrect, popfromhandle(), r, setemptystring, sethandlesize(), shellerrormessage(), shellprintinfo, wpnewbuffer(), wpnoflags, wponeline, and wpsetavailbounds().

Referenced by wpverbinmemory().

Here is the call graph for this function:

void wpupdate void   ) 
 

Definition at line 1814 of file wpengine.c.

References direct_copy, eraserect(), graf_device::machine_ref3, graf_device::machine_var, mem_globals, MEM_NULL, nil, NULL, PG_CATCH, PG_ENDTRY, PG_TRY, popbackcolor(), pushbackcolor(), whitecolor, wpbuffer, wpframedisplay(), wpframeselection(), wpgetruler(), wpisactive(), wpsetglobals(), and ws_globals.

Referenced by minidrawtextitems(), opeditupdate(), tablesetwpedittext(), wpsetselection(), and wpstart().

Here is the call graph for this function:

boolean wpwritetotextfile bigstring   ) 
 

Referenced by wpfunctionvalue().


Variable Documentation

boolean flwperror
 

hdlwprecord wpdata
 

Definition at line 82 of file wpengine.c.

Referenced by minisetwpglobals(), opeditdispose(), opeditsetglobals(), oppostedit(), opupdateafterresize(), wpadjustboundstofit(), wpbeginprint(), wpclick(), wpclose(), wpdirty(), wpdisplayenabled(), wpdispose(), wpedit(), wpgetdisplay(), wpgetscrollbarinfo(), wpgo(), wpkeystroke(), wppackheader(), wppopdata(), wppostruleredit(), wppreedit(), wpprint(), wppushdata(), wpscroll(), wpsetglobals(), wpsetruler(), wpstart(), wpundo(), wpundoroutine(), wpverbgetvariable(), wpverbpackrecord(), wpverbpacktotext(), wpverbsetscrollbarsroutine(), and wpvisicursor().

WindowPtr wpwindow
 

Definition at line 80 of file wpengine.c.

Referenced by minisetwpglobals(), opeditdispose(), opeditsetglobals(), wpdirty(), wpdisplayenabled(), wpnewbuffer(), wppushdraw(), wpsetupwindow(), and wpstart().

hdlwindowinfo wpwindowinfo
 

Definition at line 84 of file wpengine.c.

Referenced by minisetwpglobals(), opeditdispose(), opeditsetglobals(), wpdirtyselectioninfo(), wplinkwindowinfo(), wpownwindowinfo(), wppagesetup(), wppostruleredit(), wpscroll(), wpstart(), wptrackclick(), and wpverbsetscrollbarsroutine().


Generated on Thu Jun 15 01:35:36 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6