Skip to content

Latest commit

 

History

History

Samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
=====================================================================
 RmlUi Sample Applications
=====================================================================

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

To build the samples, you can either use Microsoft Visual Studio
(using the project files found within each directory), or use SCons
(SConstruct files are present in directories except those for
Windows-specific samples).

If you build with Visual Studio, make sure the actual sample is the
'startup project' (displayed in bold) rather than the sample shell
project.

If you build with SCons, be sure to compile the sample shell (found
in /samples/shell/) before you compile other samples. All the
SConstructs will build a debug build by default; to build a release
version, run 'scons release'.

Directory Overview:

 * assets     - This directory contains the assets shared by
                all the sample applications.
 * basic      - This directory contains basic applications
                that demonstrate initialisation, shutdown and
                installing custom interfaces.

                  * customlog    - setting up custom logging
                  * directx10    - using DirectX 10 as a renderer
                  * drag         - dragging elements between containers
                  * loaddocument - loading your first document
                  * treeview     - using a nested DataSource

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

 * luainvaders- Lua version of the invaders (only installed
                with the Lua plugin).

 * shell      - Common platform specific code used by all the 
                samples for open windows, processing input and 
                access files.
                Supports Windows, MacOSX and Linux

 * tutorial   - Tutorial code that should be used in conjunction
                with the tutorials on the RmlUi website.
                https://mikke89.github.io/RmlUiDoc/

=====================================================================