ZealOS/docs/Doc/Resource.DD.html

38 lines
2.6 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-10-27 08:28:16 +01:00
<meta name="generator" content="ZealOS V1.04">
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><span class=cF5> Graphic Sprite Resource Help</span><span class=cF0>
2021-07-03 05:07:57 +01:00
<a name="l2"></a>
<a name="l3"></a>A sprite is an ordered list of elements such as lines, rectangles, bitmaps and color changes. In a program's source code, you
<a name="l4"></a>first </span><span class=cF2>make a sprite</span><span class=cF0> somewhere outside a function. Then, you </span><span class=cF2>insert a pointer</span><span class=cF0> to the sprite as an &quot;*elems&quot; arg when calling </span><span class=cF4>
<a name="l5"></a></span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrSpritePlot.CC.html#l536"><span class=cF4>Sprite</span></a><span class=cF0>() or </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrSpritePlot.CC.html#l18"><span class=cF4>Sprite3</span></a><span class=cF0>(). See </span><span class=cF4><u>Sprites</u></span><span class=cF0>.
2021-07-03 05:07:57 +01:00
<a name="l6"></a>
<a name="l7"></a>You can create a </span><span class=cF2>sprite macro</span><span class=cF0> on your </span><a href="https://zeal-operating-system.github.io/ZealOS/Home/PersonalMenu.DD.html#l1"><span class=cF4>PersonalMenu</span></a><span class=cF0> with a payload of </span><a href="https://zeal-operating-system.github.io/ZealOS/Doc/CosmiC.DD.html#l1"><span class=cF4>CosmiC</span></a><span class=cF0> source code to execute when it ESC's back to the
<a name="l8"></a>cmd line. If you check &quot;Pop-Up&quot;, it will spawn a new task and run the payload. A pop-up macro can be placed in any document.
2021-07-03 05:07:57 +01:00
</span></pre></body>
</html>