appletmenu.h File Reference

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

Go to the source code of this file.

Defines

#define applemenu   128
#define aboutitem   1
#define filemenu   129
#define newitem   1
#define openitem   2
#define closeitem   3
#define saveitem   5
#define saveasitem   6
#define revertitem   7
#define pagesetupitem   9
#define printitem   10
#define quititem   12
#define editmenu   130
#define undoitem   1
#define cutitem   3
#define copyitem   4
#define pasteitem   5
#define clearitem   6
#define selectallitem   8
#define fontitem   10
#define sizeitem   11
#define styleitem   12
#define justifyitem   13
#define fontmenu   131
#define sizemenu   132
#define point9item   1
#define point10item   2
#define point12item   3
#define point14item   4
#define point18item   5
#define point24item   6
#define point36item   7
#define point48item   8
#define point72item   9
#define pointcustomitem   11
#define pointupitem   -1
#define pointdownitem   -2
#define stylemenu   133
#define plainitem   1
#define bolditem   3
#define italicitem   4
#define underlineitem   5
#define outlineitem   6
#define shadowitem   7
#define justifymenu   134
#define leftjustifyitem   1
#define rightjustifyitem   2
#define centerjustifyitem   3
#define fulljustifyitem   4
#define extendedmenu   135
#define helpitem   1
#define homeitem   2
#define enditem   3
#define pageupitem   4
#define pagedownitem   5
#define windowmenu   136
#define firstsharedmenu   200

Functions

void adjustmenus (void)
void initmenus (void)
void handlemenu (long)
boolean flipcustommenu (hdlappwindow, boolean)
void dialogmenuenabler (boolean)
void appcopycommand (void)
void disableeditmenuitems (void)

Variables

MenuHandle hdlapplemenu
MenuHandle hdlfilemenu
MenuHandle hdleditmenu
MenuHandle hdlfontmenu
MenuHandle hdlsizemenu
MenuHandle hdlstylemenu
MenuHandle hdljustifymenu


Define Documentation

#define aboutitem   1
 

Definition at line 8 of file appletmenu.h.

#define applemenu   128
 

Definition at line 7 of file appletmenu.h.

Referenced by handlemenu(), initmenus(), shellhandlemenu(), shellinitmenus(), and testmenus().

#define bolditem   3
 

Definition at line 61 of file appletmenu.h.

#define centerjustifyitem   3
 

Definition at line 70 of file appletmenu.h.

#define clearitem   6
 

Definition at line 34 of file appletmenu.h.

#define closeitem   3
 

Definition at line 16 of file appletmenu.h.

#define copyitem   4
 

Definition at line 32 of file appletmenu.h.

#define cutitem   3
 

Definition at line 31 of file appletmenu.h.

#define editmenu   130
 

Definition at line 26 of file appletmenu.h.

Referenced by filterfunctionkey(), geteditmenuitemidentifier(), handlemenu(), initmenus(), shelladjustmenus(), shelladjustundo(), shellgetlastmenuid(), shellhandlemenu(), and testmenus().

#define enditem   3
 

Definition at line 76 of file appletmenu.h.

#define extendedmenu   135
 

Definition at line 73 of file appletmenu.h.

Referenced by filterfunctionkey(), and handlemenu().

#define filemenu   129
 

Definition at line 10 of file appletmenu.h.

Referenced by handlemenu(), initmenus(), shelladjustmenus(), shellhandlemenu(), and testmenus().

#define firstsharedmenu   200
 

Definition at line 84 of file appletmenu.h.

Referenced by appleteventhandler().

#define fontitem   10
 

Definition at line 36 of file appletmenu.h.

#define fontmenu   131
 

Definition at line 43 of file appletmenu.h.

Referenced by checkfontsizestyle(), handlemenu(), initmenus(), shellcheckfontsizestyle(), shellhandlemenu(), shellinitmenus(), and testmenus().

#define fulljustifyitem   4
 

Definition at line 71 of file appletmenu.h.

#define helpitem   1
 

Definition at line 74 of file appletmenu.h.

#define homeitem   2
 

Definition at line 75 of file appletmenu.h.

#define italicitem   4
 

Definition at line 62 of file appletmenu.h.

#define justifyitem   13
 

Definition at line 39 of file appletmenu.h.

#define justifymenu   134
 

Definition at line 67 of file appletmenu.h.

Referenced by checkfontsizestyle(), handlemenu(), initmenus(), shellcheckfontsizestyle(), shellhandlemenu(), and testmenus().

#define leftjustifyitem   1
 

Definition at line 68 of file appletmenu.h.

#define newitem   1
 

Definition at line 14 of file appletmenu.h.

#define openitem   2
 

Definition at line 15 of file appletmenu.h.

#define outlineitem   6
 

Definition at line 64 of file appletmenu.h.

#define pagedownitem   5
 

Definition at line 78 of file appletmenu.h.

#define pagesetupitem   9
 

Definition at line 20 of file appletmenu.h.

#define pageupitem   4
 

Definition at line 77 of file appletmenu.h.

#define pasteitem   5
 

Definition at line 33 of file appletmenu.h.

#define plainitem   1
 

Definition at line 60 of file appletmenu.h.

#define point10item   2
 

Definition at line 47 of file appletmenu.h.

#define point12item   3
 

Definition at line 48 of file appletmenu.h.

#define point14item   4
 

Definition at line 49 of file appletmenu.h.

#define point18item   5
 

Definition at line 50 of file appletmenu.h.

#define point24item   6
 

Definition at line 51 of file appletmenu.h.

#define point36item   7
 

Definition at line 52 of file appletmenu.h.

Referenced by adjustmenus(), handlemenu(), and sizemenuchecker().

#define point48item   8
 

Definition at line 53 of file appletmenu.h.

Referenced by adjustmenus(), handlemenu(), and sizemenuchecker().

#define point72item   9
 

Definition at line 54 of file appletmenu.h.

Referenced by adjustmenus(), handlemenu(), and sizemenuchecker().

#define point9item   1
 

Definition at line 46 of file appletmenu.h.

#define pointcustomitem   11
 

Definition at line 55 of file appletmenu.h.

#define pointdownitem   -2
 

Definition at line 57 of file appletmenu.h.

#define pointupitem   -1
 

Definition at line 56 of file appletmenu.h.

#define printitem   10
 

Definition at line 21 of file appletmenu.h.

#define quititem   12
 

Definition at line 22 of file appletmenu.h.

#define revertitem   7
 

Definition at line 19 of file appletmenu.h.

#define rightjustifyitem   2
 

Definition at line 69 of file appletmenu.h.

#define saveasitem   6
 

Definition at line 18 of file appletmenu.h.

#define saveitem   5
 

Definition at line 17 of file appletmenu.h.

#define selectallitem   8
 

Definition at line 35 of file appletmenu.h.

#define shadowitem   7
 

Definition at line 65 of file appletmenu.h.

#define sizeitem   11
 

Definition at line 37 of file appletmenu.h.

#define sizemenu   132
 

Definition at line 45 of file appletmenu.h.

Referenced by checkfontsizestyle(), handlemenu(), initmenus(), shellcheckfontsizestyle(), shellhandlemenu(), and testmenus().

#define styleitem   12
 

Definition at line 38 of file appletmenu.h.

#define stylemenu   133
 

Definition at line 59 of file appletmenu.h.

Referenced by checkfontsizestyle(), handlemenu(), initmenus(), shellcheckfontsizestyle(), shellhandlemenu(), and testmenus().

#define underlineitem   5
 

Definition at line 63 of file appletmenu.h.

#define undoitem   1
 

Definition at line 30 of file appletmenu.h.

#define windowmenu   136
 

Definition at line 80 of file appletmenu.h.

Referenced by flipcustommenu(), handlemenu(), initwindowmenu(), and testmenus().


Function Documentation

void adjustmenus void   ) 
 

Definition at line 346 of file appletmenu.c.

References adjustwindowmenu(), app, tyappletrecord::appwindow, bigstring, bolditem, centerjustifyitem, checkfontsizestyle(), clearbytes(), closeitem, enablemenuitem(), fontitem, fulljustifyitem, getundomenuitem(), tyappletrecord::haswindowmenu, hdleditmenu, hdlfilemenu, hdljustifymenu, hdlsizemenu, hdlstylemenu, italicitem, justifyitem, leftjustifyitem, longsizeof, newitem, nil, openitem, outlineitem, pagesetupitem, plainitem, point10item, point12item, point14item, point18item, point24item, point36item, point48item, point72item, point9item, pointcustomitem, printitem, quititem, revertitem, rightjustifyitem, saveasitem, saveitem, setmenuitem(), setmenuitemenable(), shadowitem, sizeitem, styleitem, underlineitem, and undoitem.

Here is the call graph for this function:

void appcopycommand void   ) 
 

Definition at line 568 of file appletmenu.c.

References alertdialog(), app, apppostcallback(), appprecallback(), cardEditCommand(), tyappletrecord::commanderror, tyappletrecord::copycallback, copyCmd, tyappletrecord::creator, fl, tyappletrecord::getpictcallback, tyappletrecord::gettextcallback, nil, and pushscrap().

Referenced by cutcommand(), and handlemenu().

Here is the call graph for this function:

void dialogmenuenabler boolean   ) 
 

Definition at line 29 of file appletmenu.c.

References clearitem, copyitem, cutitem, disableallmenuitems(), disableallmenus(), enableallmenus(), enablemenuitem(), hdleditmenu, and pasteitem.

Referenced by apprunmodalresource().

Here is the call graph for this function:

void disableeditmenuitems void   ) 
 

Definition at line 1211 of file appletmenu.c.

References clearitem, copyitem, cutitem, disablemenuitem(), fontitem, hdleditmenu, justifyitem, pasteitem, selectallitem, sizeitem, styleitem, and undoitem.

Referenced by appleteventhandler().

Here is the call graph for this function:

boolean flipcustommenu hdlappwindow  ,
boolean 
 

Definition at line 1171 of file appletmenu.c.

References deletemenu(), installmenubefore(), nil, and windowmenu.

Referenced by appleteventhandler(), and handleactivate().

Here is the call graph for this function:

void handlemenu long   ) 
 

Definition at line 805 of file appletmenu.c.

References aboutitem, app, appcopycommand(), applemenu, apppostcallback(), appprecallback(), appsetfont(), appsetfontsize(), tyappletrecord::appwindow, askdialog(), bigstring, bolditem, centerjustified, centerjustifyitem, clearbytes(), clearcommand, clearitem, closeallwindows(), closefrontwindow(), closeitem, copyitem, cutcommand, cutitem, down, editmenu, enditem, exitmainloop(), extendedmenu, filemenu, fl, fontmenu, fulljustified, fulljustifyitem, getmenuitem(), hdlapplemenu, hdlfontmenu, helpitem, HiWord, homeitem, infinity, italicitem, justifymenu, leftjustified, leftjustifyitem, longsizeof, LoWord, tyappletrecord::menucallback, newitem, newuntitledappwindow(), openaboutwindow(), openfrontwindow(), openitem, optionkeydown(), outlineitem, pagedownitem, pagesetup(), pagesetupitem, pageupitem, pastecommand, pasteitem, plainitem, point10item, point12item, point14item, point18item, point24item, point36item, point48item, point72item, point9item, pointcustomitem, pointdownitem, pointupitem, printappwindow(), printitem, quititem, revertfrontwindow(), revertitem, rightjustified, rightjustifyitem, saveasfrontwindow(), saveasitem, savefrontwindow(), saveitem, tyappletrecord::scrollcallback, selectallcommand, selectallitem, selectwindowmenu(), tyappletrecord::setjustifycallback, setselectionstyleinfo(), tyappletrecord::setstylecallback, shadowitem, short, sizemenu, stylemenu, underlineitem, undocommand, undoitem, unknownjustification, up, and windowmenu.

Referenced by handlekeystroke(), and handlemousedown().

Here is the call graph for this function:

void initmenus void   ) 
 

Definition at line 1235 of file appletmenu.c.

References app, applemenu, editmenu, filemenu, fontmenu, hdlapplemenu, hdleditmenu, hdlfilemenu, hdlfontmenu, hdljustifymenu, hdlsizemenu, hdlstylemenu, initwindowmenu(), tyappletrecord::insertmenucallback, installhierarchicmenu(), installmenu(), justifymenu, nil, sizemenu, and stylemenu.

Here is the call graph for this function:


Variable Documentation

MenuHandle hdlapplemenu
 

Definition at line 23 of file appletmenu.c.

Referenced by handlemenu(), and initmenus().

MenuHandle hdleditmenu
 

Definition at line 23 of file appletmenu.c.

Referenced by adjustmenus(), dialogmenuenabler(), disableeditmenuitems(), and initmenus().

MenuHandle hdlfilemenu
 

Definition at line 23 of file appletmenu.c.

Referenced by adjustmenus(), and initmenus().

MenuHandle hdlfontmenu
 

Definition at line 25 of file appletmenu.c.

Referenced by getfontpopup(), handlemenu(), initmenus(), and setfontpopup().

MenuHandle hdljustifymenu
 

Definition at line 25 of file appletmenu.c.

Referenced by adjustmenus(), and initmenus().

MenuHandle hdlsizemenu
 

Definition at line 25 of file appletmenu.c.

Referenced by adjustmenus(), and initmenus().

MenuHandle hdlstylemenu
 

Definition at line 25 of file appletmenu.c.

Referenced by adjustmenus(), and initmenus().


Generated on Wed May 31 21:39:48 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6