mirror of
https://github.com/cy384/ssheven.git
synced 2026-05-21 06:45:34 -06:00
add edit menu
This commit is contained in:
parent
18fb41d338
commit
a9fbb1092a
3 changed files with 26 additions and 3 deletions
19
ssheven.r
19
ssheven.r
|
|
@ -235,7 +235,7 @@ resource 'BNDL' (128, purgeable) {
|
|||
|
||||
resource 'MBAR' (SSHEVEN_MBAR, preload)
|
||||
{
|
||||
{ MENU_APPLE, MENU_FILE };
|
||||
{ MENU_APPLE, MENU_FILE, MENU_EDIT };
|
||||
};
|
||||
|
||||
resource 'MENU' (MENU_APPLE) {
|
||||
|
|
@ -257,6 +257,23 @@ resource 'MENU' (MENU_FILE) {
|
|||
}
|
||||
};
|
||||
|
||||
resource 'MENU' (MENU_EDIT) {
|
||||
MENU_EDIT, textMenuProc;
|
||||
allEnabled, enabled;
|
||||
"Edit";
|
||||
{
|
||||
"Undo", noIcon, "Z", noMark, plain;
|
||||
"-", noIcon, noKey, noMark, plain;
|
||||
"Cut", noIcon, "X", noMark, plain;
|
||||
"Copy", noIcon, "C", noMark, plain;
|
||||
"Paste", noIcon, "V", noMark, plain;
|
||||
"Clear", noIcon, noKey, noMark, plain;
|
||||
"Select All", noIcon, "A", noMark, plain;
|
||||
"-", noIcon, noKey, noMark, plain;
|
||||
"Show Clipboard", noIcon, noKey, noMark, plain;
|
||||
}
|
||||
};
|
||||
|
||||
#include "Icons.r"
|
||||
|
||||
/* use this regex to get rid of data comments: " \/\*[^\*]*\*\/" */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue