appletmenu.h

Go to the documentation of this file.
00001 
00002 /*  $Id: appletmenu.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /* copyright 1991-96 UserLand Software, Inc. All Rights Reserved.*/
00005 
00006 
00007 #define applemenu 128
00008 #define aboutitem 1
00009 
00010 #define filemenu 129
00011 
00012 #ifndef customizedfilemenu
00013 
00014     #define newitem 1
00015     #define openitem 2
00016     #define closeitem 3
00017     #define saveitem 5
00018     #define saveasitem 6
00019     #define revertitem 7
00020     #define pagesetupitem 9
00021     #define printitem 10
00022     #define quititem 12
00023 
00024 #endif
00025 
00026 #define editmenu 130
00027 
00028 #ifndef customizededitmenu 
00029 
00030     #define undoitem 1
00031     #define cutitem 3
00032     #define copyitem 4
00033     #define pasteitem 5
00034     #define clearitem 6
00035     #define selectallitem 8
00036     #define fontitem 10
00037     #define sizeitem 11
00038     #define styleitem 12
00039     #define justifyitem 13
00040     
00041 #endif
00042 
00043 #define fontmenu 131
00044 
00045 #define sizemenu 132
00046 #define point9item 1
00047 #define point10item 2
00048 #define point12item 3
00049 #define point14item 4
00050 #define point18item 5
00051 #define point24item 6
00052 #define point36item 7
00053 #define point48item 8
00054 #define point72item 9
00055 #define pointcustomitem 11
00056 #define pointupitem -1
00057 #define pointdownitem -2
00058 
00059 #define stylemenu 133
00060 #define plainitem 1
00061 #define bolditem 3
00062 #define italicitem 4
00063 #define underlineitem 5
00064 #define outlineitem 6
00065 #define shadowitem 7
00066 
00067 #define justifymenu 134
00068 #define leftjustifyitem 1
00069 #define rightjustifyitem 2
00070 #define centerjustifyitem 3
00071 #define fulljustifyitem 4
00072 
00073 #define extendedmenu 135 /*never appears in user interface -- used for externed keyboard*/
00074 #define helpitem 1
00075 #define homeitem 2
00076 #define enditem 3
00077 #define pageupitem 4
00078 #define pagedownitem 5
00079 
00080 #define windowmenu 136
00081 
00082 
00083 
00084 #define firstsharedmenu 200 /*leave room for 70 Applet-defined menus*/
00085 
00086 extern MenuHandle hdlapplemenu, hdlfilemenu, hdleditmenu;
00087 
00088 extern MenuHandle hdlfontmenu, hdlsizemenu, hdlstylemenu, hdljustifymenu;
00089 
00090 void adjustmenus (void);
00091 
00092 void initmenus (void);
00093 
00094 void handlemenu (long);
00095 
00096 boolean flipcustommenu (hdlappwindow, boolean);
00097 
00098 void dialogmenuenabler (boolean);
00099 
00100 void appcopycommand (void);
00101 
00102 void disableeditmenuitems (void);

Generated on Wed May 31 18:19:43 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6