A GUI library for raylib
How to use
The only external dependency is raylib
- Add the library as a submodule
mkdir -p thirdparty
cd thirdparty
git submodule add --depth 1 https://github.com/SemkiShow/RayUI
cd ..
- 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
- Install Raylib following one of these tutorials based on your system: Linux, Windows, macOS
- 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