|
From: Andre R. <and...@us...> - 2006-02-05 16:18:45
|
Update of /cvsroot/frontierkernel/Frontier/Common/resources/Mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4701/resources/Mac Modified Files: SHELL.R Log Message: Update menu structure and various other resources for OPML Editor. This should not affect the other build targets. Index: SHELL.R =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/resources/Mac/SHELL.R,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** SHELL.R 31 Dec 2005 20:23:02 -0000 1.12 --- SHELL.R 5 Feb 2006 16:18:38 -0000 1.13 *************** *** 50,54 **** /*PBS 7.0b1: File menu changes for Radio UserLand. It's a standard File menu now.*/ ! resource 'MENU' (2, "File") { 2, --- 50,54 ---- /*PBS 7.0b1: File menu changes for Radio UserLand. It's a standard File menu now.*/ ! #ifndef OPMLEDITOR resource 'MENU' (2, "File") { 2, *************** *** 140,143 **** --- 140,224 ---- } }; + #else // OPMLEDITOR + + resource 'MENU' (2, "File") { + 2, + textMenuProc, + 0x7FFFFE77, + enabled, + "File", + { /* array: 9 elements */ + /* [1] */ + "New", noIcon, "N", noMark, plain, + /* [2] */ + "OpenÉ", noIcon, "O", noMark, plain, + /* [3] */ + "Open URLÉ", noIcon, noKey, noMark, plain, /*7.0b17 PBS*/ + + /* [4] */ + "Close", noIcon, "W", noMark, plain, + /* [5] */ + "-", noIcon, noKey, noMark, plain, + /* [6] */ + "Save", noIcon, "S", noMark, plain, + /* [7] */ + "Save AsÉ", noIcon, noKey, noMark, plain, + /* [9] */ + "Revert", noIcon, noKey, noMark, plain, + /* [9] */ + "-", noIcon, noKey, noMark, plain, + /* [10] */ + "View in Browser", noIcon, "P", noMark, plain, + /* [11] */ + "-", noIcon, noKey, noMark, plain, + /* [12] */ + "Update opml.rootÉ", noIcon, noKey, noMark, plain, + /* [13] */ + "Work Offline", noIcon, noKey, noMark, plain, + /* [14] */ + "-", noIcon, noKey, noMark, plain, + /* [15] */ + "Quit", noIcon, "Q", noMark, plain + } + }; + + /*Carbon File menu*/ + + resource 'MENU' (412, "File") { + 2, + textMenuProc, + 0x7FFFFE77, + enabled, + "File", + { /* array: 9 elements */ + /* [1] */ + "New", noIcon, "N", noMark, plain, + /* [2] */ + "OpenÉ", noIcon, "O", noMark, plain, + /* [3] */ + "Open URLÉ", noIcon, noKey, noMark, plain, /*7.0b17 PBS*/ + /* [4] */ + "Close", noIcon, "W", noMark, plain, + /* [5] */ + "-", noIcon, noKey, noMark, plain, + /* [6] */ + "Save", noIcon, "S", noMark, plain, + /* [7] */ + "Save AsÉ", noIcon, noKey, noMark, plain, + /* [8] */ + "Revert", noIcon, noKey, noMark, plain, + /* [9] */ + "-", noIcon, noKey, noMark, plain, + /* [10] */ + "View in Browser", noIcon, "P", noMark, plain, + /* [11] */ + "-", noIcon, noKey, noMark, plain, + /* [12] */ + "Update opml.rootÉ", noIcon, noKey, noMark, plain, + /* [13] */ + "Work Offline", noIcon, noKey, noMark, plain + } + }; + #endif // OPMLEDITOR #else *************** *** 234,239 **** #endif ! #ifdef PIKE resource 'MENU' (3, "Edit") { 3, --- 315,321 ---- #endif ! #ifdef PIKE /*7.0b26 PBS: Radio UserLand has a different Edit menu.*/ + #ifndef OPMLEDITOR resource 'MENU' (3, "Edit") { 3, *************** *** 279,282 **** --- 361,409 ---- } }; + #else //OPMLEDITOR + resource 'MENU' (3, "Edit") { + 3, + textMenuProc, + 0x7FFFFF5D, + enabled, + "Edit", + { /* array: 14 elements */ + /* [1] */ + "Undo", noIcon, "Z", noMark, plain, + /* [2] */ + "-", noIcon, noKey, noMark, plain, + /* [3] */ + "Cut", noIcon, "X", noMark, plain, + /* [4] */ + "Copy", noIcon, "C", noMark, plain, + /* [5] */ + "Paste", noIcon, "V", noMark, plain, + /* [6] */ + "Clear", noIcon, noKey, noMark, plain, + /* [7] */ + "-", noIcon, noKey, noMark, plain, + /* [8] */ + "Select All", noIcon, "A", noMark, plain, + /* [9] */ + "-", noIcon, noKey, noMark, plain, + /* [10] */ + "Find and Replace", noIcon, hierarchicalMenu, "\0d133", plain, + /* [11] */ + "Common Styles", noIcon, hierarchicalMenu, "\0d134", plain, + /* [12] */ + "-", noIcon, noKey, noMark, plain, + /* [13] */ + "Font", noIcon, hierarchicalMenu, "\0d128", plain, + /* [14] */ + "Size", noIcon, hierarchicalMenu, "\0d130", plain, + /* [15] */ + "-", noIcon, noKey, noMark, plain, + /* [16] */ + "Insert Date/Time", noIcon, "4", noMark, plain, + + } + }; + + #endif //OPMLEDITOR #else *************** *** 494,498 **** { /* array: 4 elements */ /* [1] */ ! "Find...", noIcon, "F", noMark, plain, /* [2] */ "Replace", noIcon, noKey, noMark, plain, --- 621,625 ---- { /* array: 4 elements */ /* [1] */ ! "FindÉ", noIcon, "F", noMark, plain, /* [2] */ "Replace", noIcon, noKey, noMark, plain, *************** *** 635,640 **** --- 762,771 ---- { /* array StringArray: 6 elements */ #ifdef PIKE + #ifndef OPMLEDITOR /* [1] */ "Radio UserLandª", /*PBS 7.0b1: name change to Radio UserLand.*/ + #else // OPMLEDITOR + "OPML", + #endif //OPMLEDITOR #else /* [1] */ *************** *** 650,655 **** --- 781,790 ---- "", #ifdef PIKE + #ifndef OPMLEDITOR /* [6] -- default DB name*/ /*PBS 7.0b1: changed from Pike.root to Radio.root.*/ "Radio.root", + #else // OPMLEDITOR + "opml.root", + #endif //OPMLEDITOR #else /* [6] */ *************** *** 2527,2534 **** #ifdef PIKE ! type 'PIKE' as 'STR '; resource 'PIKE' (0, "Owner resource") #else --- 2662,2674 ---- #ifdef PIKE ! #ifndef OPMLEDITOR type 'PIKE' as 'STR '; resource 'PIKE' (0, "Owner resource") + #else //OPMLEDITOR + type 'OPML' as 'STR '; + + resource 'OPML' (0, "Owner resource") + #endif // OPMLEDITOR #else *************** *** 2546,2549 **** --- 2686,2690 ---- resource 'vers' (1) { #ifdef PIKE + #ifndef OPMLEDITOR radio_major_version_bcd, radio_subminor_version_bcd, *************** *** 2553,2556 **** --- 2694,2705 ---- radio_version_string, #else + opml_major_version_bcd, + opml_subminor_version_bcd, + opml_stage_code, + opml_revision_level, + verUS, + opml_version_string, + #endif + #else frontier_major_version_bcd, frontier_subminor_version_bcd, *************** *** 2564,2568 **** --- 2713,2721 ---- #endif #ifdef PIKE + #ifndef OPMLEDITOR radio_version_string "; © 1992-" copyright_year_string ", UserLand Software, Inc." + #else //OPMLEDITOR + opml_version_string "; © 1992-" copyright_year_string ", Scripting News, Inc." + #endif // OPMLEDITOR #else frontier_version_string "; © 1992-" copyright_year_string ", UserLand Software, Inc." |