ZealOS/docs/Doc/Menus.DD.html
TomAwezome 1b75d91002 Fix Mount AHCI Port selection.
Add arg to SATARep to specify drive types to show.
Add checks in AHCIPortInit to verify port signatures, add helper method to get signatures from port.
2021-08-02 16:40:05 -04:00

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 V0.13">
<style type="text/css">
body {background-color:#fef1f0;}
.cF0{color:#000000;background-color:#fef1f0;}
.cF1{color:#0148a4;background-color:#fef1f0;}
.cF2{color:#3b7901;background-color:#fef1f0;}
.cF3{color:#057c7e;background-color:#fef1f0;}
.cF4{color:#bb2020;background-color:#fef1f0;}
.cF5{color:#9e42ae;background-color:#fef1f0;}
.cF6{color:#b57901;background-color:#fef1f0;}
.cF7{color:#b2b6af;background-color:#fef1f0;}
.cF8{color:#555753;background-color:#fef1f0;}
.cF9{color:#678fbb;background-color:#fef1f0;}
.cFA{color:#82bc49;background-color:#fef1f0;}
.cFB{color:#0097a2;background-color:#fef1f0;}
.cFC{color:#e26a6a;background-color:#fef1f0;}
.cFD{color:#c671bc;background-color:#fef1f0;}
.cFE{color:#c7ab00;background-color:#fef1f0;}
.cFF{color:#fef1f0;background-color:#fef1f0;}
</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.CC.html#l176"><span class=cF4>MenuPush</span></a><span class=cF0>(), </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Menu.CC.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.CC.html#l97"><span class=cF4>MenuNew</span></a><span class=cF0>() or </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Menu.CC.html#l118"><span class=cF4>MenuFile</span></a><span class=cF0>() and assigned to </span><span class=cF4>Fs-&gt;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#l3900"><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#l4136"><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#l3887"><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#l3887"><span class=cF4>MESSAGE_KEY_DOWN</span></a><span class=cF0>.
<a name="l28"></a>
<a name="l29"></a>Press </span><span class=cF2>&lt;CTRL-SHIFT-l&gt;</span><span class=cF0> and &quot;Insert ASCII/ScanCode&quot;.
<a name="l30"></a>
<a name="l31"></a>See </span><a href="https://zeal-operating-system.github.io/ZealOS/Demo/PullDownMenu.CC.html#l1"><span class=cF4>::/Demo/PullDownMenu.CC</span></a><span class=cF0>.
</span></pre></body>
</html>