A simple and easy-to-use raygui layouts editor.
Useful for custom tools layout creation. The best tool companion for rGuiStyler and rGuiIcons.
rGuiLayout
can be used for free as a WebAssembly online tool and it can also be downloaded as a standalone tool for Windows and Linux.
NOTE: Latest rGuiLayout 4.0
release is intended to be used with raygui 4.0
release.
- 25 gui controls to define your immmediate-mode gui layout
- Place controls and move/scale them freely
- Snap to grid mode for maximum precission
- Link controls to anchors for better organization
- Edit controls text and code name (for exported variables)
- Icon selection panel on control text edition
- Load/Save your layouts as
.rgl
text files - Supports
.png
image loading to be used as tracemap - Support for custom code templates to generate your controls code
- Export layout directly as plain C code, ready to edit and compile
- Multiple GUI styles available with support for custom ones (
.rgs
) - Command-line support for
.rgl
to.c
/.h
conversion - Completely portable (single-file, no-dependencies)
- Free and open-source
For detailed usage information, check provided USAGE.md file.
The tool works with mouse and several key shortcuts that can be viewed with F1 key.
Use mouse wheel to navigate along the available controls or select them on right controls panel, place them on the main grid and scale as required.
Load and Save .rgl
layout files to keep working on custom layouts.
Export layouts as code, Code Generation Window offers multiple export options to generate the code.
To compile generated code, you need raygui v4.0
library and latest raylib v4.6-dev
.
rGuiLayout Standalone
comes with command-line support for batch conversion. For usage help:
rguilayout.exe --help
rGuiLayout
source code is distributed as open source, licensed under an unmodified zlib/libpng license.
rGuiLayout
binaries are completely free for anyone willing to compile them directly from source.
rGuiLayout Standalone
desktop tool could be downloaded with a small donation.
In any case, consider a donation to help the author keep working on software for games development.
Copyright (c) 2015-2024 raylib technologies (@raylibtech) / Ramon Santamaria (@raysan5)