appletfilelabel.c File Reference

#include "applet.h"
#include "appletbits.h"
#include "appletfilesinternal.h"
#include "appletfilelabel.h"
#include <Icons.h>

Include dependency graph for appletfilelabel.c:

Go to the source code of this file.

Data Structures

struct  tylabelinfo

Defines

#define ctlabels   8

Functions

boolean filegetlabelinfo (short ixlabel, RGBColor *rgb, bigstring bslabel)
static boolean label2index (bigstring bslabel, short *ixlabel)
boolean filesetlabel (ptrfilespec pfs, short ixlabel)

Variables

static tylabelinfo labelcache [ctlabels]
static boolean needinit = true


Define Documentation

#define ctlabels   8
 

Definition at line 23 of file appletfilelabel.c.

Referenced by filegetlabelinfo().


Function Documentation

boolean filegetlabelinfo short  ixlabel,
RGBColor rgb,
bigstring  bslabel
 

Definition at line 30 of file appletfilelabel.c.

References bigstring, clearbytes(), ctlabels, i, labelcache, longsizeof, needinit, newheapstring(), and noErr.

Referenced by label2index().

Here is the call graph for this function:

boolean filesetlabel ptrfilespec  pfs,
short  ixlabel
 

Definition at line 95 of file appletfilelabel.c.

References getmacfileinfo(), and setmacfileinfo().

Here is the call graph for this function:

static boolean label2index bigstring  bslabel,
short ixlabel
[static]
 

Definition at line 73 of file appletfilelabel.c.

References bigstring, equalstrings(), filegetlabelinfo(), and i.

Here is the call graph for this function:


Variable Documentation

tylabelinfo labelcache[ctlabels] [static]
 

Definition at line 25 of file appletfilelabel.c.

Referenced by filegetlabelinfo().

boolean needinit = true [static]
 

Definition at line 27 of file appletfilelabel.c.

Referenced by filegetlabelinfo().


Generated on Wed May 31 20:48:17 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6