Michael Ragazzon b527f7beec Update readme and changelog 3 tahun lalu
..
assets 7228f684b8 Adjust samples styles to make title background native size 3 tahun lalu
basic 4210b21f7e Update samples and tests to use the new 'none' max-size keyword 3 tahun lalu
invaders f24eafc47f Invader sample: Fix high score table height when empty 3 tahun lalu
luainvaders f24eafc47f Invader sample: Fix high score table height when empty 3 tahun lalu
shell f281c769cf Add OpenGL3 renderer and backends supporting the GLFW and SDL platforms. Emscripten compilation supported on the SDL/GL3 backend. 3 tahun lalu
tutorial 2edd6f99f3 Refactor shell, introduce backends 3 tahun lalu
readme.md b527f7beec Update readme and changelog 3 tahun lalu

readme.md

RmlUi Sample Applications

This directory contains a collection of sample applications that demonstrate the use of RmlUi in small, easy to understand applications.

Directory Overview

assets

This directory contains the assets shared by all the sample applications.

basic

This directory contains basic applications that demonstrate initialisation, usage, shutdown and installation of custom interfaces.

  • animation animations and transitions
  • benchmark a benchmark to measure performance
  • bitmapfont using a custom font engine
  • customlog setting up custom logging
  • databinding setting up and using data bindings
  • demo demonstrates a variety of features in RmlUi and includes a sandbox for playing with RML/RCSS
  • drag dragging elements between containers
  • loaddocument loading your first document
  • lottie playing Lottie animations, only enabled with the Lottie plugin
  • svg render SVG images, only enabled with the SVG plugin
  • transform demonstration of transforms
  • treeview using data bindings to create a file browser

invaders

A full implementation of the 1970s classic Space Invaders using the RmlUi interface.

luainvaders

Lua version of the invaders sample. Only installed with the Lua plugin.

shell

The shell provides some common functionality that are specific to the included samples and tests, such as loading fonts and handling global keyboard shortcuts.

Note that, the code for rendering, opening and closing windows, and providing inputs, is instead located in the backends, however some extensions to these backends are found in the shell.

tutorial

Tutorial code that should be used in conjunction with the tutorials in the RmlUi documentation.