ioascrollbar.c File Reference

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

Include dependency graph for ioascrollbar.c:

Go to the source code of this file.

Data Structures

struct  tyscrollbardata

Defines

#define trackscrollarrowUPP   (&trackscrollarrow)

Typedefs

typedef tyscrollbardata ** hdlscrollbardata

Functions

static boolean checkcontrolexists (hdlobject h)
static boolean cleanscrollbar (hdlobject h, short textheight, short textwidth, Rect *r)
static pascal void trackscrollarrow (hdlscrollbar sb, short part)
static boolean clickscrollbar (hdlobject listhead, hdlobject h, Point pt, boolean flshiftkey, boolean fl2click)
static boolean drawscrollbar (hdlobject h)
static boolean newscrollbardata (hdlscrollbardata *hdata)
static boolean initscrollbar (tyobject *obj)
static boolean recalcscrollbar (hdlobject h, boolean flmajorrecalc)
static boolean getscrollbarinvalrect (hdlobject h, Rect *r)
static boolean canreplicatescrollbar (hdlobject h)
static boolean getscrollbareditrect (hdlobject h, Rect *r)
static boolean getscrollbarvalue (hdlobject h, Handle *hvalue)
static boolean debugscrollbar (hdlobject h, bigstring errorstring)
static boolean getscrollbarattributes (hdlobject h, AppleEvent *event)
static boolean setscrollbarattributes (hdlobject h, AppleEvent *event)
static boolean disposescrollbardata (hdlobject h)
static boolean unpackscrollbardata (hdlobject h)
void setupscrollbar (tyioaconfigrecord *)


Define Documentation

#define trackscrollarrowUPP   (&trackscrollarrow)
 

Definition at line 174 of file ioascrollbar.c.

Referenced by clickscrollbar().


Typedef Documentation

typedef struct tyscrollbardata ** hdlscrollbardata
 


Function Documentation

static boolean canreplicatescrollbar hdlobject  h  )  [static]
 

Definition at line 317 of file ioascrollbar.c.

Referenced by setupscrollbar().

static boolean checkcontrolexists hdlobject  h  )  [static]
 

Definition at line 55 of file ioascrollbar.c.

References hcard, and nil.

Referenced by cleanscrollbar(), clickscrollbar(), drawscrollbar(), and getscrollbarvalue().

static boolean cleanscrollbar hdlobject  h,
short  textheight,
short  textwidth,
Rect r
[static]
 

Definition at line 83 of file ioascrollbar.c.

References checkcontrolexists(), h, and IOAclosestmultiple().

Referenced by setupscrollbar().

Here is the call graph for this function:

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

Definition at line 178 of file ioascrollbar.c.

References assert, checkcontrolexists(), h, nil, pt, and trackscrollarrowUPP.

Referenced by setupscrollbar().

Here is the call graph for this function:

static boolean debugscrollbar hdlobject  h,
bigstring  errorstring
[static]
 

Definition at line 351 of file ioascrollbar.c.

References setstringlength.

Referenced by setupscrollbar().

static boolean disposescrollbardata hdlobject  h  )  [static]
 

Definition at line 420 of file ioascrollbar.c.

References nil.

Referenced by setupscrollbar().

static boolean drawscrollbar hdlobject  h  )  [static]
 

Definition at line 211 of file ioascrollbar.c.

References checkcontrolexists(), h, nil, quickdrawglobal, and r.

Here is the call graph for this function:

static boolean getscrollbarattributes hdlobject  h,
AppleEvent event
[static]
 

Definition at line 360 of file ioascrollbar.c.

References tyIACglobals::event, IACglobals, and IACpushshortparam().

Referenced by setupscrollbar().

Here is the call graph for this function:

static boolean getscrollbareditrect hdlobject  h,
Rect r
[static]
 

Definition at line 324 of file ioascrollbar.c.

Referenced by setupscrollbar().

static boolean getscrollbarinvalrect hdlobject  h,
Rect r
[static]
 

Definition at line 309 of file ioascrollbar.c.

Referenced by setupscrollbar().

static boolean getscrollbarvalue hdlobject  h,
Handle hvalue
[static]
 

Definition at line 331 of file ioascrollbar.c.

References bigstring, checkcontrolexists(), h, IOAcopystring(), IOAnewtexthandle(), and IOApushstring().

Referenced by setupscrollbar().

Here is the call graph for this function:

static boolean initscrollbar tyobject obj  )  [static]
 

Definition at line 289 of file ioascrollbar.c.

References newscrollbardata().

Referenced by setupscrollbar().

Here is the call graph for this function:

static boolean newscrollbardata hdlscrollbardata hdata  )  [static]
 

Definition at line 264 of file ioascrollbar.c.

References h, longsizeof, and nil.

Referenced by initscrollbar().

static boolean recalcscrollbar hdlobject  h,
boolean  flmajorrecalc
[static]
 

Definition at line 302 of file ioascrollbar.c.

References h, and IOArecalcobjectvalue().

Referenced by setupscrollbar().

Here is the call graph for this function:

static boolean setscrollbarattributes hdlobject  h,
AppleEvent event
[static]
 

Definition at line 382 of file ioascrollbar.c.

References tyIACglobals::event, IACgetshortparam(), IACglobals, info, and tyIACglobals::nextparamoptional.

Referenced by setupscrollbar().

Here is the call graph for this function:

void setupscrollbar tyioaconfigrecord  ) 
 

Definition at line 444 of file ioascrollbar.c.

References canreplicatescrollbar(), cleanscrollbar(), clickscrollbar(), debugscrollbar(), disposescrollbardata(), drawscrollbar(), getscrollbarattributes(), getscrollbareditrect(), getscrollbarinvalrect(), getscrollbarvalue(), initscrollbar(), IOAcopystring(), recalcscrollbar(), scrollbartype, setscrollbarattributes(), and unpackscrollbardata().

Referenced by main().

Here is the call graph for this function:

static pascal void trackscrollarrow hdlscrollbar  sb,
short  part
[static]
 

Definition at line 112 of file ioascrollbar.c.

static boolean unpackscrollbardata hdlobject  h  )  [static]
 

Definition at line 431 of file ioascrollbar.c.

References tyscrollbardata::hcontrol, nil, and return().

Referenced by setupscrollbar().

Here is the call graph for this function:


Generated on Fri Jun 2 04:07:36 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6