raygui/styles/README.md
2023-09-11 18:52:39 +02:00

51 lines
1.9 KiB
Markdown

# raygui styles
`raygui` comes with **12 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.
#### 1. style: [default](default)
![default style](default/style_default.png)
#### 2. style: [dark](dark)
![dark style](dark/style_dark.png)
#### 3. style: [bluish](bluish)
![bluish style](bluish/style_bluish.png)
#### 4. style: [candy](candy)
![candy style](candy/style_candy.png)
#### 5. style: [cherry](cherry)
![cherry style](cherry/style_cherry.png)
#### 6. style: [cyber](cyber)
![cyber style](cyber/style_cyber.png)
#### 7. style: [jungle](jungle)
![jungle style](jungle/style_jungle.png)
#### 8. style: [lavanda](lavanda)
![lavanda style](lavanda/style_lavanda.png)
#### 9. style: [terminal](terminal)
![terminal style](terminal/style_terminal.png)
#### 10. style: [sunny](sunny)
![sunny style](sunny/style_sunny.png)
#### 11. style: [ashes](ashes)
![ashes style](ashes/style_ashes.png)
#### 12. enefete: [enefete](enefete)
![enefete style](enefete/style_enefete.png)
*NOTE: Those styles require raylib 4.5+ and raygui 4.0*