ioaframe.c File Reference

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

Include dependency graph for ioaframe.c:

Go to the source code of this file.

Data Structures

struct  tycleanframe

Defines

#define frametype   -4
#define textvertinset   2
#define texthorizinset   2
#define mintextwidth   25
#define textleftinset   ((**(**h).owningcard).gridunits-texthorizinset)
#define textrightinset   (3*textleftinset)

Functions

static short frametextwidth (hdlobject h)
static short frametextheight (void)
static boolean cleanframevisit (hdlobject h)
static boolean cleanframe (hdlobject h, short height, short width, Rect *robject)
static boolean canreplicateframe (hdlobject h)
static boolean getframeeditrect (hdlobject h, Rect *rframe)
static boolean getframevalue (hdlobject h, Handle *hvalue)
static boolean debugframe (hdlobject h, bigstring errorstring)
static boolean drawframe (hdlobject h)
static boolean initframe (tyobject *obj)
static boolean recalcframe (hdlobject h, boolean flmajorrecalc)
static boolean getframeinvalrect (hdlobject h, Rect *r)
void setupframe (tyioaconfigrecord *)

Variables

tycleanframe cleanup


Define Documentation

#define frametype   -4
 

Definition at line 34 of file ioaframe.c.

Referenced by setupframe().

#define mintextwidth   25
 

Definition at line 38 of file ioaframe.c.

Referenced by frametextwidth().

#define texthorizinset   2
 

Definition at line 37 of file ioaframe.c.

#define textleftinset   ((**(**h).owningcard).gridunits-texthorizinset)
 

Definition at line 40 of file ioaframe.c.

Referenced by cleanframe(), and getframeeditrect().

#define textrightinset   (3*textleftinset)
 

Definition at line 41 of file ioaframe.c.

Referenced by cleanframe(), and getframeeditrect().

#define textvertinset   2
 

Definition at line 36 of file ioaframe.c.


Function Documentation

static boolean canreplicateframe hdlobject  h  )  [static]
 

Definition at line 142 of file ioaframe.c.

References nil.

Referenced by setupframe().

static boolean cleanframe hdlobject  h,
short  height,
short  width,
Rect robject
[static]
 

Definition at line 97 of file ioaframe.c.

References cleanframevisit(), cleanup, frametextheight(), IOAmakemultiple(), IOAvisitobjects(), tycleanframe::newobjectrect, tycleanframe::objectrect, r, textleftinset, and textrightinset.

Referenced by setupframe().

Here is the call graph for this function:

static boolean cleanframevisit hdlobject  h  )  [static]
 

Definition at line 85 of file ioaframe.c.

References cleanup, tycleanframe::newobjectrect, tycleanframe::objectrect, and r.

Referenced by cleanframe().

static boolean debugframe hdlobject  h,
bigstring  errorstring
[static]
 

Definition at line 176 of file ioaframe.c.

References setstringlength.

Referenced by setupframe().

static boolean drawframe hdlobject  h  )  [static]
 

Definition at line 185 of file ioaframe.c.

References frametextwidth(), getframeeditrect(), h, IOAeditdrawtexthandle(), IOApopforecolor(), IOApushforecolor(), quickdrawglobal, r, and texthorizinset.

Referenced by setupframe().

Here is the call graph for this function:

static short frametextheight void   )  [static]
 

Definition at line 59 of file ioaframe.c.

References tyFontInfo::ascent, tyFontInfo::descent, and textvertinset.

Referenced by cleanframe(), getframeeditrect(), and getframeinvalrect().

static short frametextwidth hdlobject  h  )  [static]
 

Definition at line 45 of file ioaframe.c.

References GetHandleSize, and mintextwidth.

Referenced by drawframe().

static boolean getframeeditrect hdlobject  h,
Rect rframe
[static]
 

Definition at line 151 of file ioaframe.c.

References frametextheight(), r, textleftinset, and textrightinset.

Referenced by drawframe(), and setupframe().

Here is the call graph for this function:

static boolean getframeinvalrect hdlobject  h,
Rect r
[static]
 

Definition at line 278 of file ioaframe.c.

References frametextheight().

Referenced by setupframe().

Here is the call graph for this function:

static boolean getframevalue hdlobject  h,
Handle hvalue
[static]
 

Definition at line 170 of file ioaframe.c.

References h, and IOAgetstringvalue().

Referenced by setupframe().

Here is the call graph for this function:

static boolean initframe tyobject obj  )  [static]
 

Definition at line 263 of file ioaframe.c.

Referenced by setupframe().

static boolean recalcframe hdlobject  h,
boolean  flmajorrecalc
[static]
 

Definition at line 271 of file ioaframe.c.

References h, and IOArecalcobjectvalue().

Referenced by setupframe().

Here is the call graph for this function:

void setupframe tyioaconfigrecord  ) 
 

Definition at line 291 of file ioaframe.c.

References canreplicateframe(), cleanframe(), debugframe(), drawframe(), frametype, getframeeditrect(), getframeinvalrect(), getframevalue(), initframe(), IOAcopystring(), and recalcframe().

Referenced by main().

Here is the call graph for this function:


Variable Documentation

tycleanframe cleanup
 

Definition at line 82 of file ioaframe.c.

Referenced by cleanframe(), and cleanframevisit().


Generated on Fri Jun 2 04:03:01 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6