mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 23:36:32 +00:00
60 lines
4 KiB
HTML
Executable file
60 lines
4 KiB
HTML
Executable file
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
|
|
<meta name="generator" content="ZealOS V1.07">
|
|
<style type="text/css">
|
|
body {background-color:#1f1f1f;}
|
|
.cF0{color:#e3e3e3;background-color:#1f1f1f;}
|
|
.cF1{color:#4f84a6;background-color:#1f1f1f;}
|
|
.cF2{color:#73a255;background-color:#1f1f1f;}
|
|
.cF3{color:#297582;background-color:#1f1f1f;}
|
|
.cF4{color:#b34f4b;background-color:#1f1f1f;}
|
|
.cF5{color:#8a52c3;background-color:#1f1f1f;}
|
|
.cF6{color:#b7822f;background-color:#1f1f1f;}
|
|
.cF7{color:#444444;background-color:#1f1f1f;}
|
|
.cF8{color:#6d6d6d;background-color:#1f1f1f;}
|
|
.cF9{color:#94bfde;background-color:#1f1f1f;}
|
|
.cFA{color:#a1ce97;background-color:#1f1f1f;}
|
|
.cFB{color:#6db4be;background-color:#1f1f1f;}
|
|
.cFC{color:#e88e88;background-color:#1f1f1f;}
|
|
.cFD{color:#ca94e8;background-color:#1f1f1f;}
|
|
.cFE{color:#d4b475;background-color:#1f1f1f;}
|
|
.cFF{color:#1f1f1f;background-color:#1f1f1f;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<pre style="font-family:monospace;font-size:12pt">
|
|
<a name="l1"></a><span class=cF0>A pull-down menu appears when you move the mouse to the top of the screen. Menus are created with </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Menu.ZC.html#l176"><span class=cF4>MenuPush</span></a><span class=cF0>(), </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Menu.ZC.html#l186"><span class=cF4>MenuFilePush</span></a><span class=cF0>(), </span><span class=cF4>
|
|
<a name="l2"></a></span><a href="https://zeal-operating-system.github.io/ZealOS/System/Menu.ZC.html#l97"><span class=cF4>MenuNew</span></a><span class=cF0>() or </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Menu.ZC.html#l118"><span class=cF4>MenuFile</span></a><span class=cF0>() and assigned to </span><span class=cF4>Fs->cur_menu</span><span class=cF0>. The format is:
|
|
<a name="l3"></a>
|
|
<a name="l4"></a></span><span class=cF2>
|
|
<a name="l5"></a>File
|
|
<a name="l6"></a>{
|
|
<a name="l7"></a> Open(,'O');
|
|
<a name="l8"></a> Save(,'S');
|
|
<a name="l9"></a> Exit(,CH_SHIFT_ESC);
|
|
<a name="l10"></a>}
|
|
<a name="l11"></a>Edit {
|
|
<a name="l12"></a> Cut(,,SC_DELETE|SCF_SHIFT);
|
|
<a name="l13"></a> Paste(,,SC_INS|SCF_SHIFT);
|
|
<a name="l14"></a>}
|
|
<a name="l15"></a>Misc {
|
|
<a name="l16"></a> Opt1(MESSAGE_CMD,M_OPTION1);
|
|
<a name="l17"></a> Opt2(MESSAGE_CMD,M_OPTION2);
|
|
<a name="l18"></a>}
|
|
<a name="l19"></a>Help
|
|
<a name="l20"></a>{
|
|
<a name="l21"></a> Help(,'?');
|
|
<a name="l22"></a> About(,'/');
|
|
<a name="l23"></a>}
|
|
<a name="l24"></a></span><span class=cF0>
|
|
<a name="l25"></a>The first arg is the message code and it is optional with the default being </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3895"><span class=cF4>MESSAGE_KEY_DOWN_UP</span></a><span class=cF0>. The second arg is the
|
|
<a name="l26"></a>message </span><span class=cF2>arg1</span><span class=cF0> value which is </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l4131"><span class=cF4>ASCII</span></a><span class=cF0> of the key in the case of </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3882"><span class=cF4>MESSAGE_KEY_DOWN</span></a><span class=cF0>. The third arg is the message </span><span class=cF2>arg2</span><span class=cF0> value which
|
|
<a name="l27"></a>is the </span><a href="https://zeal-operating-system.github.io/ZealOS/Doc/CharOverview.DD.html#l1"><span class=cF4>scan_code</span></a><span class=cF0> of the key in the case of </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3882"><span class=cF4>MESSAGE_KEY_DOWN</span></a><span class=cF0>.
|
|
<a name="l28"></a>
|
|
<a name="l29"></a>Press </span><span class=cF2><CTRL-SHIFT-l></span><span class=cF0> and "Insert ASCII/ScanCode".
|
|
<a name="l30"></a>
|
|
<a name="l31"></a>See </span><a href="https://zeal-operating-system.github.io/ZealOS/Demo/PullDownMenu.ZC.html#l1"><span class=cF4>::/Demo/PullDownMenu.ZC</span></a><span class=cF0>.
|
|
</span></pre></body>
|
|
</html>
|