RayUI
A GUI library for raylib
Loading...
Searching...
No Matches
RayUI

A GUI library for raylib

How to use

The only external dependency is raylib

  1. Add the library as a submodule
    mkdir -p thirdparty
    cd thirdparty
    git submodule add --depth 1 https://github.com/SemkiShow/RayUI
    cd ..
  2. Add RayUI to your CMakeLists.txt
    add_subdirectory(${CMAKE_SOURCE_DIR}/thirdparty/RayUI ${CMAKE_BINARY_DIR}/_deps/RayUI-build SYSTEM)

Examples

Download raylib at configure time

git clone https://github.com/SemkiShow/RayUI
cd RayUI/examples
chmod +x run.sh
./run.sh --help # See what examples are available
./run.sh -r <example-name>

Bring-Your-Own-Raylib

  1. Install Raylib following one of these tutorials based on your system: Linux, Windows, macOS
  1. Run
    git clone https://github.com/SemkiShow/RayUI
    cd RayUI/examples
    chmod +x run.sh
    ./run.sh --help # See what examples are available
    ./run.sh <example-name>

Documentation

Documentation is available here