ioaedittext.c File Reference

#include "frontier.h"
#include "standard.h"
#include <iac.h>
#include <ioa.h>
#include <ioaedittext.h>
#include <appletkb.h>

Include dependency graph for ioaedittext.c:

Go to the source code of this file.

Data Structures

struct  typackedtextdata

Functions

static void disposehandle (Handle h)
static boolean newtextdata (hdltextdata *hdata)
static boolean cleanedittext (hdlobject h, short height, short width, Rect *r)
static boolean canreplicateedittext (hdlobject h)
static boolean getedittexteditrect (hdlobject h, Rect *r)
static boolean getedittextvalue (hdlobject h, Handle *hvalue)
boolean gettextbehindbullets (hdlobject h, bigstring bs)
boolean emptytextbehindbullets (hdlobject h)
boolean settextbehindbullets (hdlobject h, void *pstring)
static boolean debugedittext (hdlobject h, bigstring errorstring)
static boolean drawedittext (hdlobject h)
static boolean initedittext (tyobject *obj)
static boolean recalcedittext (hdlobject h, boolean flmajorrecalc)
static boolean clickedittext (hdlobject listhead, hdlobject h, Point pt, boolean flshiftkey, boolean fl2click)
static boolean setcursoredittext (hdlobject h, Point pt)
static boolean editedittext (hdlobject h, boolean fledit)
static boolean idleedittext (hdlobject h)
static boolean keystrokeedittext (hdlobject h, char ch)
static boolean packtextdata (hdlobject hobject, Handle *hpackeddata)
static boolean disposetextdata (hdlobject h)
static boolean unpacktextdata (hdlobject h)
static boolean gettextattributes (hdlobject h, AppleEvent *event)
static boolean settextattributes (hdlobject h, AppleEvent *event)
void setupedittext (tyioaconfigrecord *)


Function Documentation

static boolean canreplicateedittext hdlobject  h  )  [static]
 

Definition at line 133 of file ioaedittext.c.

References nil.

Referenced by setupedittext().

static boolean cleanedittext hdlobject  h,
short  height,
short  width,
Rect r
[static]
 

Definition at line 109 of file ioaedittext.c.

References IOAclosestmultiple(), and IOAmakemultiple().

Referenced by setupedittext().

Here is the call graph for this function:

static boolean clickedittext hdlobject  listhead,
hdlobject  h,
Point  pt,
boolean  flshiftkey,
boolean  fl2click
[static]
 

Definition at line 305 of file ioaedittext.c.

References h, IOAclearactivetextobject(), IOAeditclick(), IOAgetactiveeditrecord(), IOAsetactivetextobject(), and pt.

Referenced by setupedittext().

Here is the call graph for this function:

static boolean debugedittext hdlobject  h,
bigstring  errorstring
[static]
 

Definition at line 215 of file ioaedittext.c.

References setstringlength.

Referenced by setupedittext().

static void disposehandle Handle  h  )  [static]
 

Definition at line 83 of file ioaedittext.c.

References DisposeHandle, and nil.

static boolean disposetextdata hdlobject  h  )  [static]
 

Definition at line 483 of file ioaedittext.c.

References disposehandle().

Referenced by setupedittext().

Here is the call graph for this function:

static boolean drawedittext hdlobject  h  )  [static]
 

Definition at line 224 of file ioaedittext.c.

References IOAeditdrawtexthandle(), and r.

Referenced by setupedittext().

Here is the call graph for this function:

static boolean editedittext hdlobject  h,
boolean  fledit
[static]
 

Definition at line 337 of file ioaedittext.c.

References h, IOAclearactivetextobject(), IOAeditselectall(), IOAgetactiveeditrecord(), and IOAsetactivetextobject().

Referenced by setupedittext().

Here is the call graph for this function:

boolean emptytextbehindbullets hdlobject  h  ) 
 

Definition at line 187 of file ioaedittext.c.

References nil, and SetHandleSize.

Referenced by emptycardpassword().

static boolean getedittexteditrect hdlobject  h,
Rect r
[static]
 

Definition at line 142 of file ioaedittext.c.

Referenced by setupedittext().

static boolean getedittextvalue hdlobject  h,
Handle hvalue
[static]
 

Definition at line 150 of file ioaedittext.c.

References h, IOAgetstringvalue(), nil, and noErr.

Referenced by setupedittext().

Here is the call graph for this function:

static boolean gettextattributes hdlobject  h,
AppleEvent event
[static]
 

Definition at line 539 of file ioaedittext.c.

References tyIACglobals::event, IACglobals, IACpushbooleanparam(), IACpushtextparam(), NewHandle, and nil.

Referenced by setupedittext().

Here is the call graph for this function:

boolean gettextbehindbullets hdlobject  h,
bigstring  bs
 

Definition at line 177 of file ioaedittext.c.

References IOAtexthandletostring().

Referenced by getcardpassword().

Here is the call graph for this function:

static boolean idleedittext hdlobject  h  )  [static]
 

Definition at line 361 of file ioaedittext.c.

References IOAeditidle(), and IOAgetactiveeditrecord().

Referenced by setupedittext().

Here is the call graph for this function:

static boolean initedittext tyobject obj  )  [static]
 

Definition at line 251 of file ioaedittext.c.

References newtextdata().

Referenced by setupedittext().

Here is the call graph for this function:

static boolean keystrokeedittext hdlobject  h,
char  ch
[static]
 

Definition at line 370 of file ioaedittext.c.

References chbackspace, disposehandle(), GetHandleSize, IOAeditkeystroke(), IOAeditselectall(), IOAgetactiveeditrecord(), keystroketodirection(), NewHandle, nil, nodirection, and SetHandleSize.

Referenced by setupedittext().

Here is the call graph for this function:

static boolean newtextdata hdltextdata hdata  )  [static]
 

Definition at line 90 of file ioaedittext.c.

References h, longsizeof, and nil.

Referenced by initedittext(), and unpacktextdata().

static boolean packtextdata hdlobject  hobject,
Handle hpackeddata
[static]
 

Definition at line 433 of file ioaedittext.c.

References GetHandleSize, HLock, HUnlock, info, IOAclearbytes(), longsizeof, NewHandle, and nil.

Referenced by setupedittext().

Here is the call graph for this function:

static boolean recalcedittext hdlobject  h,
boolean  flmajorrecalc
[static]
 

Definition at line 259 of file ioaedittext.c.

References disposehandle(), h, IOArecalcobjectvalue(), IOAsetobjectvalue(), and nil.

Referenced by setupedittext().

Here is the call graph for this function:

static boolean setcursoredittext hdlobject  h,
Point  pt
[static]
 

Definition at line 323 of file ioaedittext.c.

References iBeamCursor, and nil.

Referenced by setupedittext().

static boolean settextattributes hdlobject  h,
AppleEvent event
[static]
 

Definition at line 566 of file ioaedittext.c.

References disposehandle(), tyIACglobals::event, fl, IACgetbooleanparam(), IACgettextparam(), IACglobals, and tyIACglobals::nextparamoptional.

Referenced by setupedittext().

Here is the call graph for this function:

boolean settextbehindbullets hdlobject  h,
void *  pstring
 

Definition at line 198 of file ioaedittext.c.

References disposehandle(), IOAnewtexthandle(), and value.

Referenced by setcardpassword().

Here is the call graph for this function:

void setupedittext tyioaconfigrecord  ) 
 

Definition at line 596 of file ioaedittext.c.

References canreplicateedittext(), cleanedittext(), clickedittext(), debugedittext(), disposetextdata(), drawedittext(), editedittext(), edittexttype, getedittexteditrect(), getedittextvalue(), gettextattributes(), idleedittext(), initedittext(), IOAcopystring(), keystrokeedittext(), packtextdata(), recalcedittext(), setcursoredittext(), settextattributes(), and unpacktextdata().

Referenced by main().

Here is the call graph for this function:

static boolean unpacktextdata hdlobject  h  )  [static]
 

Definition at line 493 of file ioaedittext.c.

References disposehandle(), HLock, HUnlock, info, longsizeof, newtextdata(), nil, and noErr.

Referenced by setupedittext().

Here is the call graph for this function:


Generated on Fri Jun 2 04:02:57 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6