ZealOS/docs/Doc/Resource.DD.html

38 lines
2.5 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">
<meta name="generator" content="ZealOS V0.05">
<style type="text/css">
body {background-color:#000000;}
.cF0{color:#ffffff;background-color:#000000;}
.cF1{color:#3465a4;background-color:#000000;}
.cF2{color:#4e9a06;background-color:#000000;}
.cF3{color:#06989a;background-color:#000000;}
.cF4{color:#a24444;background-color:#000000;}
.cF5{color:#75507b;background-color:#000000;}
.cF6{color:#ce982f;background-color:#000000;}
.cF7{color:#bcc0b9;background-color:#000000;}
.cF8{color:#555753;background-color:#000000;}
.cF9{color:#729fcf;background-color:#000000;}
.cFA{color:#82bc49;background-color:#000000;}
.cFB{color:#34e2e2;background-color:#000000;}
.cFC{color:#ac3535;background-color:#000000;}
.cFD{color:#ad7fa8;background-color:#000000;}
.cFE{color:#fce94f;background-color:#000000;}
.cFF{color:#000000;background-color:#000000;}
</style>
</head>
<body>
<pre style="font-family:monospace;font-size:12pt">
2021-07-03 05:07:57 +01:00
<a name="l1"></a><span class=cF5> Graphic Sprite Resource Help</span><span class=cF0>
<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>
2021-07-03 07:51:43 +01:00
<a name="l5"></a></span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrSpritePlot.html#l536"><span class=cF4>Sprite</span></a><span class=cF0>() or </span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrSpritePlot.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>
2021-07-03 07:51:43 +01:00
<a name="l7"></a>You can create a </span><span class=cF2>sprite macro</span><span class=cF0> on your </span><a href="https://tomawezome.github.io/ZealOS/Home/PersonalMenu.html#l1"><span class=cF4>PersonalMenu</span></a><span class=cF0> with a payload of </span><a href="https://tomawezome.github.io/ZealOS/Doc/CosmiC.html#l1"><span class=cF4>CosmiC</span></a><span class=cF0> source code to execute when it ESC's back to the cmd
2021-07-03 05:07:57 +01:00
<a name="l8"></a>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.
</span></pre></body>
</html>