summaryrefslogtreecommitdiffhomepage
path: root/cheatsheet/cheatsheet.html
diff options
context:
space:
mode:
authorRay <[email protected]>2021-04-06 12:57:43 +0200
committerRay <[email protected]>2021-04-06 12:57:43 +0200
commit8940a2f553026e46fc97f49c449fe199df36745a (patch)
tree7ac79edc9205f1e1741fea38344c4a7a3c2068d8 /cheatsheet/cheatsheet.html
parent0e9fa0a3f99813f5bacee372ada1f3e874981e9c (diff)
downloadraylib.com-8940a2f553026e46fc97f49c449fe199df36745a.tar.gz
raylib.com-8940a2f553026e46fc97f49c449fe199df36745a.zip
Update cheatsheet for raylib 3.7
Diffstat (limited to 'cheatsheet/cheatsheet.html')
-rw-r--r--cheatsheet/cheatsheet.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/cheatsheet/cheatsheet.html b/cheatsheet/cheatsheet.html
index 846d2a2..df6be81 100644
--- a/cheatsheet/cheatsheet.html
+++ b/cheatsheet/cheatsheet.html
@@ -49,11 +49,11 @@
}
.exdownbtn:hover{background-color:#f0d6d6; color:#c55757; border:4px solid #e66666;}
#core pre code{border:10px solid; border-color:#888888; background-color:#dbdbe1; }
+ #shaders pre code{border:10px solid; border-color:#a864d2; background-color:#e0c6f1; }
#shapes pre code{border:10px solid; border-color:#e66666; background-color:#e9d0d6; }
#textures pre code{border:10px solid; border-color:#75a06d; background-color:#c3e4bf; }
#text pre code{border:10px solid; border-color:#52b296; background-color:#b9e9dd; }
#models pre code{border:10px solid; border-color:#5d9cbd; background-color:#b9d6e8; }
- #shaders pre code{border:10px solid; border-color:#a864d2; background-color:#e0c6f1; }
#audio pre code{border:10px solid; border-color:#d3b157; background-color:#e5d7ae; }
#structs pre code{border:10px solid; border-color:#d2c9c6; background-color:#f8f8ff;}
#colors pre code{border:10px solid; border-color:#c6d2c6; background-color:#e9f1f2;}
@@ -93,6 +93,10 @@
$('#core pre code').text(data);
$('#core pre code').each(function(i, e) {hljs.highlightBlock(e)});
}, 'text');
+ $.get('raylib_shaders.c', function(data) {
+ $('#shaders pre code').text(data);
+ $('#shaders pre code').each(function(i, e) {hljs.highlightBlock(e)});
+ }, 'text');
$.get('raylib_shapes.c', function(data) {
$('#shapes pre code').text(data);
$('#shapes pre code').each(function(i, e) {hljs.highlightBlock(e)});
@@ -109,10 +113,6 @@
$('#models pre code').text(data);
$('#models pre code').each(function(i, e) {hljs.highlightBlock(e)});
}, 'text');
- $.get('raylib_shaders.c', function(data) {
- $('#shaders pre code').text(data);
- $('#shaders pre code').each(function(i, e) {hljs.highlightBlock(e)});
- }, 'text');
$.get('raylib_audio.c', function(data) {
$('#audio pre code').text(data);
$('#audio pre code').each(function(i, e) {hljs.highlightBlock(e)});
@@ -135,12 +135,14 @@
<p id="title">A simple and easy-to-use library to enjoy videogames programming</p>
<p id="plinks">[<a href="https://discord.gg/raylib">raylib Discord server</a>][<a href="https://github.com/raysan5/raylib">github.com/raysan5/raylib</a>]</p>
<p></p>
- <p id="version">v3.5 quick reference card [<a id="downpdf" href="raylib_cheatsheet.pdf">download as PDF</a>]</p>
+ <p id="version">v3.7 quick reference card [<a id="downpdf" href="raylib_cheatsheet.pdf">download as PDF</a>]</p>
</div>
<br>
<div id="fulldata">
<p id="pcore">module: core</p>
<div id="core"><pre><code class="cpp"></code></pre></div>
+ <p id="pshaders">module: shaders (rlgl)</p>
+ <div id="shaders"><pre><code class="cpp"></code></pre></div>
<p id="pshapes">module: shapes</p>
<div id="shapes"><pre><code class="cpp"></code></pre></div>
<p id="ptextures">module: textures</p>
@@ -149,8 +151,6 @@
<div id="text"><pre><code class="cpp"></code></pre></div>
<p id="pmodels">module: models</p>
<div id="models"><pre><code class="cpp"></code></pre></div>
- <p id="pshaders">module: shaders (rlgl)</p>
- <div id="shaders"><pre><code class="cpp"></code></pre></div>
<p id="paudio">module: audio</p>
<div id="audio"><pre><code class="cpp"></code></pre></div>
@@ -165,7 +165,7 @@
</div>
</div>
<div id="copyright">
- <p>raylib quick reference card - Copyright (c) 2013-2020 Ramon Santamaria (<a href="https://www.twitter.com/raysan5">@raysan5</a>)</p>
+ <p>raylib quick reference card - Copyright (c) 2013-2021 Ramon Santamaria (<a href="https://www.twitter.com/raysan5">@raysan5</a>)</p>
</div>
</div>