mirror of
https://github.com/raysan5/raygui.git
synced 2026-01-25 00:29:18 -05:00
Update README.md
This commit is contained in:
31
README.md
31
README.md
@ -75,29 +75,32 @@ if (GuiButton(rec, GuiIconText(RICON_FILE_OPEN, "Open Image"))) { /* ACTION */ }
|
|||||||
|
|
||||||
## raygui support tools
|
## raygui support tools
|
||||||
|
|
||||||
### [rGuiStyler](https://raylibtech.itch.io/rguistyler)
|
- [**rGuiStyler**](https://raylibtech.itch.io/rguistyler) - A simple and easy-to-use raygui styles editor.
|
||||||
|
|
||||||
A simple and easy-to-use raygui styles editor.
|

|
||||||
|
|
||||||

|
- [**rGuiIcons**](https://raylibtech.itch.io/rguiicons) - A simple and easy-to-use raygui icons editor.
|
||||||
|
|
||||||
### [rGuiIcons](https://raylibtech.itch.io/rguiicons)
|

|
||||||
|
|
||||||
A simple and easy-to-use raygui icons editor.
|
- [**rGuiLayout**](https://raylibtech.itch.io/rguilayout) - A simple and easy-to-use raygui layouts editor.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### [rGuiLayout](https://raylibtech.itch.io/rguilayout)
|
|
||||||
|
|
||||||
A simple and easy-to-use raygui layouts editor.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## building
|
## building
|
||||||
|
|
||||||
`raygui` is intended to be used as a portable single-file header-only library, to be directly integrated into any C/C++ codebas but some users could require a shared/dynamic version of the library, for example, to create bindings. In that case, `raygui` can be built as a (Linux) shared library using:
|
`raygui` is intended to be used as a portable single-file header-only library, to be directly integrated into any C/C++ codebas but some users could require a shared/dynamic version of the library, for example, to create bindings. `raygui` can be built as a (Linux) shared library using:
|
||||||
|
|
||||||
|
- **Windows (MinGW, GCC)**
|
||||||
```
|
```
|
||||||
mv src/raygui.h src/raygui.c && gcc -shared -fpic -DRAYGUI_SUPPORT_RICONS -DRAYGUI_IMPLEMENTATION -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 src/raygui.c -o raygui.so
|
copy src/raylib.h src/raylib.c
|
||||||
|
gcc -o src/raygui.dll src/raygui.c -shared -DRAYGUI_IMPLEMENTATION -DBUILD_LIBTYPE_SHARED -static-libgcc -lopengl32 -lgdi32 -lwinmm -Wl,--out-implib,src/librayguidll.a
|
||||||
|
```
|
||||||
|
|
||||||
|
- **Linux (GCC)**
|
||||||
|
```
|
||||||
|
mv src/raygui.h src/raygui.c
|
||||||
|
gcc -o raygui.so src/raygui.c -shared -fpic -DRAYGUI_IMPLEMENTATION -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
|
||||||
```
|
```
|
||||||
|
|
||||||
## license
|
## license
|
||||||
|
|||||||
Reference in New Issue
Block a user