examples: Improve webpage generation in various ways, add thumbnails, etc.
BIN
examples/asyncio/01-load-bitmaps/thumbnail.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
1
examples/asyncio/description.txt
Normal file
@@ -0,0 +1 @@
|
||||
Asynchronous I/O
|
||||
BIN
examples/audio/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 172 KiB |
BIN
examples/audio/thumbnail.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
examples/camera/01-read-and-draw/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 339 KiB |
BIN
examples/camera/01-read-and-draw/thumbnail.png
Normal file
|
After Width: | Height: | Size: 234 KiB |
13
examples/categories.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
# Blank lines and lines that start with '#' in this file are ignored.
|
||||
|
||||
# Categories, by directory name, go in here, in the order they should be
|
||||
# listed on the main page. If this file is missing, it'll assume any
|
||||
# subdirectory is a category and sort them alphabetically.
|
||||
|
||||
renderer
|
||||
input
|
||||
audio
|
||||
camera
|
||||
asyncio
|
||||
pen
|
||||
demo
|
||||
BIN
examples/demo/01-snake/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
examples/demo/01-snake/thumbnail.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
examples/demo/02-woodeneye-008/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 457 KiB |
BIN
examples/demo/02-woodeneye-008/thumbnail.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
examples/demo/03-infinite-monkeys/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
examples/demo/03-infinite-monkeys/thumbnail.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
examples/demo/04-bytepusher/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 420 KiB |
BIN
examples/demo/04-bytepusher/thumbnail.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
1
examples/demo/description.txt
Normal file
@@ -0,0 +1 @@
|
||||
Full game and app demos
|
||||
BIN
examples/input/01-joystick-polling/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
examples/input/01-joystick-polling/thumbnail.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
examples/input/02-joystick-events/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
examples/input/02-joystick-events/thumbnail.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
examples/pen/01-drawing-lines/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
examples/pen/01-drawing-lines/thumbnail.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
examples/renderer/01-clear/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
examples/renderer/01-clear/thumbnail.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
examples/renderer/02-primitives/thumbnail.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
examples/renderer/03-lines/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
examples/renderer/03-lines/thumbnail.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
examples/renderer/04-points/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 152 KiB |
BIN
examples/renderer/04-points/thumbnail.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
examples/renderer/05-rectangles/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
examples/renderer/05-rectangles/thumbnail.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
examples/renderer/06-textures/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 592 KiB |
BIN
examples/renderer/06-textures/thumbnail.png
Normal file
|
After Width: | Height: | Size: 233 KiB |
BIN
examples/renderer/07-streaming-textures/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
examples/renderer/07-streaming-textures/thumbnail.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
examples/renderer/08-rotating-textures/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 306 KiB |
BIN
examples/renderer/08-rotating-textures/thumbnail.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
examples/renderer/09-scaling-textures/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 311 KiB |
BIN
examples/renderer/09-scaling-textures/thumbnail.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
examples/renderer/10-geometry/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
examples/renderer/10-geometry/thumbnail.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
examples/renderer/11-color-mods/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 272 KiB |
BIN
examples/renderer/11-color-mods/thumbnail.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
examples/renderer/14-viewport/thumbnail.png
Normal file
|
After Width: | Height: | Size: 143 KiB |
BIN
examples/renderer/15-cliprect/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 254 KiB |
BIN
examples/renderer/15-cliprect/thumbnail.png
Normal file
|
After Width: | Height: | Size: 85 KiB |
BIN
examples/renderer/17-read-pixels/onmouseover.webp
Normal file
|
After Width: | Height: | Size: 471 KiB |
BIN
examples/renderer/17-read-pixels/thumbnail.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
examples/renderer/18-debug-text/thumbnail.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>@project_name@ Examples: @category_name@</title>
|
||||
<title>@project_name@ Examples: @category_description@</title>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
type="text/css"
|
||||
@@ -18,7 +18,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<a href="/">SDL Examples</a>
|
||||
<a href="/">@project_name@ Examples</a>
|
||||
</header>
|
||||
<main>
|
||||
<nav class="breadcrumb">
|
||||
@@ -27,7 +27,7 @@
|
||||
<li><a href="/@project_name@/@category_name@">@category_name@</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<h1>@project_name@ examples: @category_name@</h1>
|
||||
<h1>@project_name@ examples: @category_description@</h1>
|
||||
<div class="list">@examples_list_html@</div>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
</nav>
|
||||
<h1>@project_name@ examples</h1>
|
||||
|
||||
<p>Check out the @project_name@ examples here!</p>
|
||||
|
||||
@homepage_list_html@
|
||||
</main>
|
||||
</body>
|
||||
|
||||
|
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 34 KiB |