ZealOS/docs/Doc/TextBase.DD.html

47 lines
4.8 KiB
HTML
Raw Normal View History

2021-07-03 05:07:57 +01:00
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
2021-11-30 22:24:57 +00:00
<meta name="generator" content="ZealOS V1.05">
2021-07-03 05:07:57 +01:00
<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;}
2021-07-03 05:07:57 +01:00
</style>
</head>
<body>
<pre style="font-family:monospace;font-size:12pt">
<a name="l1"></a><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.text_base</span></a><span class=cF0> must be updated 60fps in your Fs-&gt;draw_it() callback. You probably want </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrBitMap.CC.html#l1194"><span class=cF4>GrPrint</span></a><span class=cF0>() or just </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/StrPrint.CC.html#l1110"><span class=cF4>Print</span></a><span class=cF0>(). The </span><a href="https://zeal-operating-system.github.io/ZealOS/Doc/DolDocOverview.DD.html#l1"><span class=cF4>DolDoc</span></a><span class=cF0>
<a name="l2"></a>code takes care of plotting text to </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.text_base</span></a><span class=cF0>.
2021-07-03 05:07:57 +01:00
<a name="l3"></a>
<a name="l4"></a>Bits 0-7 8-Bit ASCII Screen Code
<a name="l5"></a>Bits 8-11 Foreground </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3619"><span class=cF4>color</span></a><span class=cF0>
<a name="l6"></a>Bits 12-15 Background </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3619"><span class=cF4>color</span></a><span class=cF0>
<a name="l7"></a>Bits 16-20 Signed X pos shift val
<a name="l8"></a>Bits 21-25 Signed Y pos shift val
<a name="l9"></a>Bit 28 </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1030"><span class=cF4>Blink</span></a><span class=cF0>
<a name="l10"></a>Bit 29 </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1031"><span class=cF4>Invert</span></a><span class=cF0>ed (Swap foreground and background)
<a name="l11"></a>Bit 30 </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1032"><span class=cF4>Sel</span></a><span class=cF0> (XOR colors with FF)
<a name="l12"></a>Bit 31 </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1033"><span class=cF4>Underline</span></a><span class=cF0>
2021-07-03 05:07:57 +01:00
<a name="l13"></a></span><span class=cF4>
<a name="l14"></a></span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrScreen.CC.html#l19"><span class=cF4>GrUpdateTaskWin</span></a><span class=cF0>() calls </span><a href="https://zeal-operating-system.github.io/ZealOS/System/DolDoc/DocRecalcLib.CC.html#l223"><span class=cF4>DocUpdateTaskDocs</span></a><span class=cF0>() which calls </span><a href="https://zeal-operating-system.github.io/ZealOS/System/DolDoc/DocRecalc.CC.html#l305"><span class=cF4>DocRecalc</span></a><span class=cF0>() where the document text is plotted into </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.text_base</span></a><span class=cF0>. Th
2021-09-22 04:45:45 +01:00
<a name="l15"></a>en, </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrScreen.CC.html#l178"><span class=cF4>GrUpdateTextBG</span></a><span class=cF0>() and </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrScreen.CC.html#l277"><span class=cF4>GrUpdateTextFG</span></a><span class=cF0>() render the </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.text_base</span></a><span class=cF0> onto </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.dc2</span></a><span class=cF0>, a raw graphic bitmap.
2021-07-03 05:07:57 +01:00
<a name="l16"></a>
<a name="l17"></a>See </span><a href="https://zeal-operating-system.github.io/ZealOS/Demo/Games/Maze.CC.html#l1"><span class=cF4>::/Demo/Games/Maze.CC</span></a><span class=cF0>.
2021-07-03 05:07:57 +01:00
</span></pre></body>
</html>