2
0
Michael Ragazzon afb36bfa2a Lookup samples root directory also relative to working directory 6 сар өмнө
..
assets 2d9793f1df Implement ability to style progress of a range input (#736) 8 сар өмнө
basic 416037a974 SVG decorators, caching, and content cropping 6 сар өмнө
invaders ded1b0fe53 Code cleanup: Fix some always true/false conditions 1 жил өмнө
lua_invaders ded1b0fe53 Code cleanup: Fix some always true/false conditions 1 жил өмнө
shell afb36bfa2a Lookup samples root directory also relative to working directory 6 сар өмнө
tutorial bbdb6e9c43 Full CMake rewrite using modern CMake conventions 1 жил өмнө
CMakeLists.txt 3929d7290b Rename multi-worded samples to use underscore 1 жил өмнө
readme.md d2ce1326ce Add Input Method Editor (IME) support (#541) 1 жил өмнө

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.
  • bitmap_font Using a custom font engine. Available even without FreeType, i.e. RMLUI_FONT_ENGINE="none".
  • custom_log Setting up custom logging.
  • data_binding 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.
  • effects Advanced rendering effects, including filters, gradients and box shadows. Only enabled with supported backends.
  • harfbuzz Advanced text shaping. Only enabled when HarfBuzz is enabled.
  • ime A showcase of Input Method Editor (IME) with fallback fonts to support different writing systems. Available only when using a Windows backend.
  • load_document 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.
  • tree_view Using data bindings to create a file browser.

invaders

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

lua_invaders

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.