appletdefs.h File Reference

#include <Printing.h>

Include dependency graph for appletdefs.h:

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

Go to the source code of this file.

Data Structures

struct  tydaterecord

Defines

#define appletdefsinclude
#define macintosh
#define geneva   kFontIDGeneva
#define widthsmallicon   16
#define heightsmallicon   16
#define quickdrawglobal(x)   qd.x
#define sizegrowicon   15
#define dragscreenmargin   4
#define doctitlebarheight   18
#define lenbigstring   255
#define OsType   OSType
#define bigstring   Str255
#define sysbeep   SysBeep(1)
#define stringlength(bs)   ((bs)[0])
#define setstringlength(bs, len)   (bs[0]=(char)len)
#define setstringwithchar(ch, bs)   {bs[0]=1;bs[1]=ch;}
#define setemptystring(bs)   (setstringlength(bs,0))
#define isemptystring(bs)   (stringlength(bs)==0)
#define isemptyrect(r)   EmptyRect (&r)
#define assert(x)   ((void) 0)
#define true   1
#define false   0
#define infinity   32767
#define longinfinity   (long)0x7FFFFFFF
#define intinfinity   32767
#define intminusinfinity   -32766
#define emptystring   (ptrstring) "\p"
#define chnul   ((char) 0)
#define chbacktab   ((char) 0)
#define chhome   ((char) 1)
#define chenter   ((char) 3)
#define chend   ((char) 4)
#define chhelp   ((char) 5)
#define chbackspace   ((char) 8)
#define chtab   ((char) 9)
#define chlinefeed   ((char) 10)
#define chpageup   ((char) 11)
#define chpagedown   ((char) 12)
#define chreturn   ((char) 13)
#define chescape   ((char) 27)
#define chrightarrow   ((char) 29)
#define chleftarrow   ((char) 28)
#define chuparrow   ((char) 30)
#define chdownarrow   ((char) 31)
#define chsinglequote   ((char) 39)
#define chdoublequote   ((char) 34)
#define chspace   ((char) 32)
#define chdelete   ((char) 127)
#define ctdirections   12
#define mod   %
#define div   /
#define abs(x)   ((x) < 0? -(x) : (x))
#define odd(x)   ((x) % 2)
#define even(x)   (!((x) % 2))
#define max(x, y)   ((x) > (y)? (x) : (y))
#define min(x, y)   ((x) < (y)? (x) : (y))
#define bitboolean(fl)   ((fl)?true:false)
#define isnumeric(x)   ((x >= '0') && (x <= '9'))
#define longsizeof(x)   (long)sizeof(x)

Typedefs

typedef ControlHandle hdlscrollbar
typedef unsigned short boolean
typedef unsigned char * ptrstring
typedef unsigned char ** hdlstring
typedef void * ptrvoid
typedef char * ptrchar
typedef shortptrint
typedef boolean(* callback )(void)
typedef unsigned char byte
typedef unsigned char * ptrbyte

Enumerations

enum  tydirection {
  nodirection = 0, up = 1, down = 2, left = 3,
  right = 4, flatup = 5, flatdown = 6, sorted = 8,
  pageup = 9, pagedown = 10, pageleft = 11, pageright = 12
}
enum  tyjustification {
  leftjustified, centerjustified, rightjustified, fulljustified,
  unknownjustification
}
enum  tylinespacing {
  singlespaced = 1, oneandalittlespaced = 2, oneandaquarterspaced = 3, oneandahalfspaced = 4,
  doublespaced = 5, triplespaced = 6
}


Define Documentation

#define abs  )     ((x) < 0? -(x) : (x))
 

Definition at line 224 of file appletdefs.h.

#define appletdefsinclude
 

Definition at line 8 of file appletdefs.h.

#define assert  )     ((void) 0)
 

Definition at line 103 of file appletdefs.h.

#define bigstring   Str255
 

Definition at line 74 of file appletdefs.h.

#define bitboolean fl   )     ((fl)?true:false)
 

Definition at line 234 of file appletdefs.h.

#define chbackspace   ((char) 8)
 

Definition at line 124 of file appletdefs.h.

#define chbacktab   ((char) 0)
 

Definition at line 119 of file appletdefs.h.

#define chdelete   ((char) 127)
 

Definition at line 138 of file appletdefs.h.

#define chdoublequote   ((char) 34)
 

Definition at line 136 of file appletdefs.h.

#define chdownarrow   ((char) 31)
 

Definition at line 134 of file appletdefs.h.

#define chend   ((char) 4)
 

Definition at line 122 of file appletdefs.h.

#define chenter   ((char) 3)
 

Definition at line 121 of file appletdefs.h.

#define chescape   ((char) 27)
 

Definition at line 130 of file appletdefs.h.

#define chhelp   ((char) 5)
 

Definition at line 123 of file appletdefs.h.

#define chhome   ((char) 1)
 

Definition at line 120 of file appletdefs.h.

#define chleftarrow   ((char) 28)
 

Definition at line 132 of file appletdefs.h.

#define chlinefeed   ((char) 10)
 

Definition at line 126 of file appletdefs.h.

#define chnul   ((char) 0)
 

Definition at line 118 of file appletdefs.h.

#define chpagedown   ((char) 12)
 

Definition at line 128 of file appletdefs.h.

#define chpageup   ((char) 11)
 

Definition at line 127 of file appletdefs.h.

#define chreturn   ((char) 13)
 

Definition at line 129 of file appletdefs.h.

#define chrightarrow   ((char) 29)
 

Definition at line 131 of file appletdefs.h.

#define chsinglequote   ((char) 39)
 

Definition at line 135 of file appletdefs.h.

#define chspace   ((char) 32)
 

Definition at line 137 of file appletdefs.h.

#define chtab   ((char) 9)
 

Definition at line 125 of file appletdefs.h.

#define chuparrow   ((char) 30)
 

Definition at line 133 of file appletdefs.h.

#define ctdirections   12
 

Definition at line 177 of file appletdefs.h.

#define div   /
 

Definition at line 222 of file appletdefs.h.

#define doctitlebarheight   18
 

Definition at line 68 of file appletdefs.h.

#define dragscreenmargin   4
 

Definition at line 66 of file appletdefs.h.

#define emptystring   (ptrstring) "\p"
 

Definition at line 116 of file appletdefs.h.

#define even  )     (!((x) % 2))
 

Definition at line 228 of file appletdefs.h.

#define false   0
 

Definition at line 109 of file appletdefs.h.

#define geneva   kFontIDGeneva
 

Definition at line 16 of file appletdefs.h.

Referenced by ccdrawabout(), ccdrawmainwindowtext(), coerceTEXTtoSTXT(), diskgetfontnum(), drawabout(), drawlabeledicon(), drawlabeledwindoidicon(), drawtitle(), drawurlitem(), drawwindowmessage(), fontgetnumber(), initicon(), initpicture(), landinitstatswindow(), landstatswindowline(), langerrordrawtext(), popupclick(), pushaboutstyle(), and scriptupdateserverpopup().

#define heightsmallicon   16
 

Definition at line 38 of file appletdefs.h.

#define infinity   32767
 

Definition at line 111 of file appletdefs.h.

#define intinfinity   32767
 

Definition at line 113 of file appletdefs.h.

#define intminusinfinity   -32766
 

Definition at line 114 of file appletdefs.h.

#define isemptyrect r   )     EmptyRect (&r)
 

Definition at line 92 of file appletdefs.h.

#define isemptystring bs   )     (stringlength(bs)==0)
 

Definition at line 90 of file appletdefs.h.

#define isnumeric  )     ((x >= '0') && (x <= '9'))
 

Definition at line 236 of file appletdefs.h.

#define lenbigstring   255
 

Definition at line 70 of file appletdefs.h.

#define longinfinity   (long)0x7FFFFFFF
 

Definition at line 112 of file appletdefs.h.

#define longsizeof  )     (long)sizeof(x)
 

Definition at line 238 of file appletdefs.h.

#define macintosh
 

Definition at line 10 of file appletdefs.h.

#define max x,
 )     ((x) > (y)? (x) : (y))
 

Definition at line 230 of file appletdefs.h.

#define min x,
 )     ((x) < (y)? (x) : (y))
 

Definition at line 232 of file appletdefs.h.

#define mod   %
 

Definition at line 220 of file appletdefs.h.

#define odd  )     ((x) % 2)
 

Definition at line 226 of file appletdefs.h.

#define OsType   OSType
 

Definition at line 72 of file appletdefs.h.

#define quickdrawglobal  )     qd.x
 

Definition at line 60 of file appletdefs.h.

#define setemptystring bs   )     (setstringlength(bs,0))
 

Definition at line 88 of file appletdefs.h.

#define setstringlength bs,
len   )     (bs[0]=(char)len)
 

Definition at line 84 of file appletdefs.h.

#define setstringwithchar ch,
bs   )     {bs[0]=1;bs[1]=ch;}
 

Definition at line 86 of file appletdefs.h.

Referenced by addvalue(), chardialog(), coercetostring(), daveNetMassager(), hashgetvaluestring(), indexpage(), Insertmenuitem(), isoutlinetext(), isseparatorstring(), langscanner(), midinsertchar(), modaldialogcallback(), oplangtextvisit(), parsepopescapesequence(), parsepopstringconst(), pushmenuitem(), pushpopupitem(), and stripmarkup().

#define sizegrowicon   15
 

Definition at line 64 of file appletdefs.h.

#define stringlength bs   )     ((bs)[0])
 

Definition at line 82 of file appletdefs.h.

#define sysbeep   SysBeep(1)
 

Definition at line 80 of file appletdefs.h.

Referenced by aboutmousedown(), alertdialog(), ccrun(), cmdiconhit(), langerrorset(), langfunctionvalue(), langzoomobject(), minikeystroke(), ouch(), popupmenuhit(), revertfrontwindow(), savedialog(), scriptbutton(), shellinit(), tableedittabkey(), and tablegetwpedittext().

#define true   1
 

Definition at line 108 of file appletdefs.h.

#define widthsmallicon   16
 

Definition at line 37 of file appletdefs.h.


Typedef Documentation

typedef unsigned short boolean
 

Definition at line 76 of file appletdefs.h.

typedef unsigned char byte
 

Definition at line 218 of file appletdefs.h.

typedef boolean(* callback)(void)
 

Definition at line 216 of file appletdefs.h.

typedef ControlHandle hdlscrollbar
 

Definition at line 40 of file appletdefs.h.

typedef unsigned char ** hdlstring
 

Definition at line 78 of file appletdefs.h.

typedef unsigned char * ptrbyte
 

Definition at line 218 of file appletdefs.h.

typedef char* ptrchar
 

Definition at line 212 of file appletdefs.h.

typedef short* ptrint
 

Definition at line 214 of file appletdefs.h.

typedef unsigned char* ptrstring
 

Definition at line 78 of file appletdefs.h.

typedef void* ptrvoid
 

Definition at line 210 of file appletdefs.h.


Enumeration Type Documentation

enum tydirection
 

Enumerator:
nodirection 
up 
down 
left 
right 
flatup 
flatdown 
sorted 
pageup 
pagedown 
pageleft 
pageright 

Definition at line 149 of file appletdefs.h.

enum tyjustification
 

Enumerator:
leftjustified 
centerjustified 
rightjustified 
fulljustified 
unknownjustification 

Definition at line 180 of file appletdefs.h.

enum tylinespacing
 

Enumerator:
singlespaced 
oneandalittlespaced 
oneandaquarterspaced 
oneandahalfspaced 
doublespaced 
triplespaced 

Definition at line 194 of file appletdefs.h.


Generated on Wed May 31 20:12:26 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6