Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 authored Oct 5, 2021
1 parent b0dfa6d commit f1853f5
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,29 +75,32 @@ if (GuiButton(rec, GuiIconText(RICON_FILE_OPEN, "Open Image"))) { /* ACTION */ }

## 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.
![rGuiStyler v3.1](images/rguistyler_v300.png)

![rGuiStyler v3.1](images/rguistyler_v300.png)
- [**rGuiIcons**](https://raylibtech.itch.io/rguiicons) - A simple and easy-to-use raygui icons editor.

### [rGuiIcons](https://raylibtech.itch.io/rguiicons)
![rGuiIcons v1.0](images/rguiicons_v100.png)

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

![rGuiIcons v1.0](images/rguiicons_v100.png)
![rGuiLayout v2.2](images/rguilayout_v220.png)

### [rGuiLayout](https://raylibtech.itch.io/rguilayout)

A simple and easy-to-use raygui layouts editor.
## building

![rGuiLayout v2.2](images/rguilayout_v220.png)
`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:

## building
- **Windows (MinGW, GCC)**
```
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
```

`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:
- **Linux (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
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
Expand Down

0 comments on commit f1853f5

Please sign in to comment.