appletpalette.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  typaletteitemrecord
struct  typaletterecord

Defines

#define paletteinclude
#define maxpaletteitems   50

Typedefs

typedef boolean(* typalettecallback )(void)
typedef typaletterecord ** hdlpaletterecord

Functions

hdlpaletterecord newpalette (WindowPtr, short)
void disposepalette (hdlpaletterecord)
void invalpalette (hdlpaletterecord)
void invalpaletteitem (hdlpaletterecord, short)
void palettemousedown (hdlpaletterecord)
void paletteupdate (hdlpaletterecord)
void paletteactivate (hdlpaletterecord, boolean)
void paletteselectitem (hdlpaletterecord, short)
void getpalettesize (hdlpaletterecord, short *, short *)


Define Documentation

#define maxpaletteitems   50
 

Definition at line 10 of file appletpalette.h.

Referenced by paletteselectitem().

#define paletteinclude
 

Definition at line 7 of file appletpalette.h.


Typedef Documentation

typedef struct typaletterecord ** hdlpaletterecord
 

typedef boolean(* typalettecallback)(void)
 

Definition at line 21 of file appletpalette.h.


Function Documentation

void disposepalette hdlpaletterecord   ) 
 

Definition at line 140 of file appletpalette.c.

References disposehandle().

Referenced by disposeappwindow(), and newappwindow().

Here is the call graph for this function:

void getpalettesize hdlpaletterecord  ,
short ,
short
 

Definition at line 71 of file appletpalette.c.

References typaletterecord::cticons, drawinset, geticonrect(), and r.

Referenced by zoomappwindow().

Here is the call graph for this function:

void invalpalette hdlpaletterecord   ) 
 

Definition at line 201 of file appletpalette.c.

void invalpaletteitem hdlpaletterecord  ,
short 
 

Definition at line 207 of file appletpalette.c.

References geticonrect(), and r.

Referenced by paletteselectitem().

Here is the call graph for this function:

hdlpaletterecord newpalette WindowPtr  ,
short 
 

Definition at line 123 of file appletpalette.c.

References drawinset, longsizeof, typaletterecord::macwindow, newclearhandle(), nil, and widthpaletteicon.

Referenced by newappwindow().

Here is the call graph for this function:

void paletteactivate hdlpaletterecord  ,
boolean 
 

Definition at line 240 of file appletpalette.c.

void palettemousedown hdlpaletterecord   ) 
 

Definition at line 217 of file appletpalette.c.

References geticonrect(), i, tymouserecord::localpt, mousestatus, and r.

Referenced by handlecontent().

Here is the call graph for this function:

void paletteselectitem hdlpaletterecord  ,
short 
 

Definition at line 244 of file appletpalette.c.

References i, invalpaletteitem(), and maxpaletteitems.

Here is the call graph for this function:

void paletteupdate hdlpaletterecord   ) 
 

Definition at line 156 of file appletpalette.c.

References centersmallicon(), geticonrect(), i, lightbluecolor, popbackcolor(), pushbackcolor(), r, and whitecolor.

Referenced by updateappwindow().

Here is the call graph for this function:


Generated on Wed May 31 21:40:14 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6