CoolFace
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes838downloads
Menus.txt35 linesDownload Raw Back to Doc
1 2A pull-down menu appears when you move the mouse to the top of the scrn.  Menus3are created with MenuPush(), MenuFilePush(), MenuNew() or MenuFile() and4assigned to Fs->cur_menu.  The format is:5 6 7File8{9  Open(,'O');10  Save(,'S');11  Exit(,CH_SHIFT_ESC);12}13Edit {14  Cut(,,SC_DELETE|SCF_SHIFT);15  Paste(,,SC_INS|SCF_SHIFT);16}17Misc {18  Opt1(MSG_CMD,M_OPTION1);19  Opt2(MSG_CMD,M_OPTION2);20}21Help22{23  Help(,'?');24  About(,'/');25}26 27The first arg is the msg code and it is optional with the default being28MSG_KEY_DOWN_UP.  The second arg is the msg arg1 value which is ASCII of the key29in the case of MSG_KEY_DOWN.  The third arg is the msg arg2 value which is the30scan_code of the key in the case of MSG_KEY_DOWN.31 32Press <CTRL-SHIFT-l> and "Insert ASCII/ScanCode".33 34See ::/Demo/PullDownMenu.HC.35