ioabutton.c File Reference

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

Include dependency graph for ioabutton.c:

Go to the source code of this file.

Defines

#define textvertinset   2

Functions

static boolean cleanbutton (hdlobject h, short height, short width, Rect *r)
static boolean canreplicatebutton (hdlobject h)
static boolean getbuttoneditrect (hdlobject h, Rect *r)
static boolean getbuttonvalue (hdlobject h, Handle *hvalue)
static boolean debugbutton (hdlobject h, bigstring errorstring)
static boolean drawbutton (hdlobject h)
static boolean initbuttonvisit (hdlobject h)
static boolean initbutton (tyobject *obj)
static boolean getbuttoninvalrect (hdlobject h, Rect *r)
static boolean recalcbutton (hdlobject h, boolean flmajorrecalc)
static boolean clickbutton (hdlobject listhead, hdlobject h, Point pt, boolean flshiftkey, boolean fl2click)
static boolean catchreturnbutton (hdlobject h)
void setupbutton (tyioaconfigrecord *)

Variables

static boolean flbold


Define Documentation

#define textvertinset   2
 

Definition at line 41 of file ioabutton.c.


Function Documentation

static boolean canreplicatebutton hdlobject  h  )  [static]
 

Definition at line 69 of file ioabutton.c.

Referenced by setupbutton().

static boolean catchreturnbutton hdlobject  h  )  [static]
 

Definition at line 331 of file ioabutton.c.

Referenced by setupbutton().

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

Definition at line 44 of file ioabutton.c.

References IOAmakemultiple(), max, systemFont, and textvertinset.

Referenced by setupbutton().

Here is the call graph for this function:

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

Definition at line 322 of file ioabutton.c.

References h, and IOArunbuttonscript().

Referenced by setupbutton().

Here is the call graph for this function:

static boolean debugbutton hdlobject  h,
bigstring  errorstring
[static]
 

Definition at line 102 of file ioabutton.c.

References setstringlength.

static boolean drawbutton hdlobject  h  )  [static]
 

Definition at line 155 of file ioabutton.c.

References flbold, getbuttoneditrect(), h, IOAeditdrawtexthandle(), and nil.

Referenced by setupbutton().

Here is the call graph for this function:

static boolean getbuttoneditrect hdlobject  h,
Rect r
[static]
 

Definition at line 76 of file ioabutton.c.

References h, and IOAgetobjectsize().

Referenced by drawbutton(), and setupbutton().

Here is the call graph for this function:

static boolean getbuttoninvalrect hdlobject  h,
Rect r
[static]
 

Definition at line 294 of file ioabutton.c.

Referenced by setupbutton().

static boolean getbuttonvalue hdlobject  h,
Handle hvalue
[static]
 

Definition at line 96 of file ioabutton.c.

References h, and IOAgetstringvalue().

Referenced by setupbutton().

Here is the call graph for this function:

static boolean initbutton tyobject obj  )  [static]
 

Definition at line 278 of file ioabutton.c.

References centerjustified, initbuttonvisit(), and IOAvisitobjects().

Referenced by setupbutton().

Here is the call graph for this function:

static boolean initbuttonvisit hdlobject  h  )  [static]
 

Definition at line 265 of file ioabutton.c.

Referenced by initbutton().

static boolean recalcbutton hdlobject  h,
boolean  flmajorrecalc
[static]
 

Definition at line 305 of file ioabutton.c.

References bigstring, errorstring, h, IOAevalscript(), IOAinvalobject(), and IOAsetobjectvalue().

Referenced by setupbutton().

Here is the call graph for this function:

void setupbutton tyioaconfigrecord  ) 
 

Definition at line 340 of file ioabutton.c.

References buttontype, canreplicatebutton(), catchreturnbutton(), cleanbutton(), clickbutton(), debugbutton, drawbutton(), getbuttoneditrect(), getbuttoninvalrect(), getbuttonvalue(), initbutton(), IOAcopystring(), and recalcbutton().

Referenced by main().

Here is the call graph for this function:


Variable Documentation

boolean flbold [static]
 

Definition at line 262 of file ioabutton.c.

Referenced by drawbutton(), and setselectionstyleinfo().


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