ioaicon.c File Reference

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

Include dependency graph for ioaicon.c:

Go to the source code of this file.

Data Structures

struct  tyversion1icondata

Defines

#define iconheight   32
#define iconwidth   32
#define iconvertinset   3
#define textvertinset   2

Typedefs

typedef tyversion1icondata ** hdlversion1icondata

Functions

static boolean cleanicon (hdlobject h, short height, short width, Rect *r)
static boolean canreplicateicon (hdlobject h)
static boolean geticonvalue (hdlobject h, Handle *hvalue)
static boolean debugicon (hdlobject h, bigstring errorstring)
static short icontextheight (void)
static boolean geticoneditrect (hdlobject h, Rect *redit)
static boolean drawiconobject (hdlobject h)
static boolean recalciconobject (hdlobject h, boolean flmajorrecalc)
static boolean newicondata (hdlicondata *hdata)
static boolean initicon (tyobject *obj)
static boolean geticonattributes (hdlobject h, AppleEvent *event)
static boolean seticonattributes (hdlobject h, AppleEvent *event)
static boolean unpackicondata (hdlobject h)
static boolean clickicon (hdlobject listhead, hdlobject h, Point pt, boolean flshiftkey, boolean fl2click)
void setupicon (tyioaconfigrecord *)


Define Documentation

#define iconheight   32
 

Definition at line 37 of file ioaicon.c.

Referenced by cleanicon(), and drawiconobject().

#define iconvertinset   3
 

Definition at line 40 of file ioaicon.c.

Referenced by cleanicon(), and drawiconobject().

#define iconwidth   32
 

Definition at line 38 of file ioaicon.c.

Referenced by cleanicon(), and drawiconobject().

#define textvertinset   2
 

Definition at line 42 of file ioaicon.c.


Typedef Documentation

typedef struct tyversion1icondata ** hdlversion1icondata
 


Function Documentation

static boolean canreplicateicon hdlobject  h  )  [static]
 

Definition at line 96 of file ioaicon.c.

Referenced by setupicon().

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

Definition at line 67 of file ioaicon.c.

References iconheight, iconvertinset, iconwidth, and IOAmakemultiple().

Referenced by setupicon().

Here is the call graph for this function:

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

Definition at line 331 of file ioaicon.c.

References h, IOArunbuttonscript(), and nil.

Referenced by setupicon().

Here is the call graph for this function:

static boolean debugicon hdlobject  h,
bigstring  errorstring
[static]
 

Definition at line 109 of file ioaicon.c.

References setstringlength.

Referenced by setupicon().

static boolean drawiconobject hdlobject  h  )  [static]
 

Definition at line 152 of file ioaicon.c.

References geticoneditrect(), h, iconheight, icontextheight(), iconvertinset, iconwidth, IOAcenterrect(), IOAeditdrawtexthandle(), nil, ploticonresource(), ploticonsuite(), r, and ttLabel.

Referenced by setupicon().

Here is the call graph for this function:

static boolean geticonattributes hdlobject  h,
AppleEvent event
[static]
 

Definition at line 259 of file ioaicon.c.

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

Referenced by setupicon().

Here is the call graph for this function:

static boolean geticoneditrect hdlobject  h,
Rect redit
[static]
 

Definition at line 134 of file ioaicon.c.

References icontextheight(), and r.

Referenced by drawiconobject(), and setupicon().

Here is the call graph for this function:

static boolean geticonvalue hdlobject  h,
Handle hvalue
[static]
 

Definition at line 103 of file ioaicon.c.

References h, and IOAgetstringvalue().

Referenced by setupicon().

Here is the call graph for this function:

static short icontextheight void   )  [static]
 

Definition at line 118 of file ioaicon.c.

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

Referenced by drawiconobject(), and geticoneditrect().

static boolean initicon tyobject obj  )  [static]
 

Definition at line 243 of file ioaicon.c.

References centerjustified, geneva, and newicondata().

Referenced by setupicon().

Here is the call graph for this function:

static boolean newicondata hdlicondata hdata  )  [static]
 

Definition at line 220 of file ioaicon.c.

References h, longsizeof, and nil.

Referenced by initicon(), and unpackicondata().

static boolean recalciconobject hdlobject  h,
boolean  flmajorrecalc
[static]
 

Definition at line 213 of file ioaicon.c.

References h, and IOArecalcobjectvalue().

Referenced by setupicon().

Here is the call graph for this function:

static boolean seticonattributes hdlobject  h,
AppleEvent event
[static]
 

Definition at line 275 of file ioaicon.c.

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

Referenced by setupicon().

Here is the call graph for this function:

void setupicon tyioaconfigrecord  ) 
 

Definition at line 350 of file ioaicon.c.

References canreplicateicon(), cleanicon(), clickicon(), debugicon(), drawiconobject(), geticonattributes(), geticoneditrect(), geticonvalue(), icontype, initicon(), IOAcopystring(), recalciconobject(), seticonattributes(), and unpackicondata().

Referenced by main().

Here is the call graph for this function:

static boolean unpackicondata hdlobject  h  )  [static]
 

Definition at line 297 of file ioaicon.c.

References DisposeHandle, longsizeof, newicondata(), and nil.

Referenced by setupicon().

Here is the call graph for this function:


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