mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
41 lines
1.6 KiB
Markdown
41 lines
1.6 KiB
Markdown
# raygui styles
|
|
|
|
`raygui` comes with **8 custom styles** carefully designed for the best visual experience. Those styles have been created using [rGuiStyler](https://raylibtech.itch.io/rguistyler) tool and they complement internal [default style](default), always available by `raygui`.
|
|
|
|
## styles usage
|
|
|
|
To use those styles with your `raygui` development, you need to call `GuiLoadStyle()` function at initialization, passing the `.rgs` file to load. Note that `.rgs` is by default a binary file containing the style required font data (glyphs data + glyph atlas image data).
|
|
|
|
Styles can also be embedded in the code if desired, `.h` files are provided with every style containing all the required style data, including the font data. To embed those fonts just add the `.h` to your project and call the required function as specified in the header info.
|
|
|
|
Here it is a quick overview of those styles, you can navigate to each directory for additional information.
|
|
|
|
#### style: [default](default)
|
|

|
|
|
|
#### style: [ashes](ashes)
|
|

|
|
|
|
#### style: [bluish](bluish)
|
|

|
|
|
|
#### style: [candy](candy)
|
|

|
|
|
|
#### style: [cherry](cherry)
|
|

|
|
|
|
#### style: [cyber](cyber)
|
|

|
|
|
|
#### style: [jungle](jungle)
|
|

|
|
|
|
#### style: [lavanda](lavanda)
|
|

|
|
|
|
#### style: [terminal](terminal)
|
|

|
|
|
|
*NOTE: Those styles require raylib 4.0 and raygui 3.1.*
|