|
From: creedon <icr...@us...> - 2005-09-30 15:29:28
|
Update of /cvsroot/frontierkernel/Frontier/Common/headers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14596 Modified Files: langinternal.h dialogs.h Log Message: for replace dialogs the Duplicate button is now the default button, default button for dialogs is safest option Index: dialogs.h =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/headers/dialogs.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dialogs.h 11 Jan 2005 22:48:01 -0000 1.3 --- dialogs.h 30 Sep 2005 15:29:13 -0000 1.4 *************** *** 41,48 **** #define savequitprompt 5 ! #define replacedialogid 257 #define replacereplaceitem 1 ! #define replaceduplicateitem 4 ! #define replacecancelitem 5 #define askdialogid 262 /*standard ÒaskÓ dialog for UserLand language*/ --- 41,48 ---- #define savequitprompt 5 ! // #define replacedialogid 257 /* 2005-09-26 creedon - replaced the single occurrence use of this dialog with call to threewaydialog */ #define replacereplaceitem 1 ! #define replaceduplicateitem 2 ! #define replacecancelitem 3 #define askdialogid 262 /*standard ÒaskÓ dialog for UserLand language*/ *************** *** 94,97 **** --- 94,111 ---- #define lastkinditem 10 + /* dialog button text */ + + #ifdef MACVERSION + #define cancelbuttontext "\x06" "Cancel" + #define duplicatebuttontext "\x09" "Duplicate" + #define replacebuttontext "\x07" "Replace" + #endif + + #ifdef WIN95VERSION + #define cancelbuttontext "\x07" "&Cancel" + #define duplicatebuttontext "\x0a" "&Duplicate" + #define replacebuttontext "\x08" "&Replace" + #endif + typedef boolean (*dialogcallback) (DialogPtr, short); Index: langinternal.h =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/headers/langinternal.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** langinternal.h 11 Jan 2005 22:48:01 -0000 1.6 --- langinternal.h 30 Sep 2005 15:29:13 -0000 1.7 *************** *** 201,204 **** --- 201,205 ---- #define frnonexistantgroupnumbererror 159 #define frnonexistantgroupnameerror 160 + #define replaceitemerror 161 /* 2005-09-26 creedon */ #define langstacklist 137 |