raygui/styles/README.md

51 lines
1.9 KiB
Markdown
Raw Normal View History

2021-12-27 01:28:22 +01:00
# 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`.
2019-08-25 13:03:44 +02:00
2021-12-27 01:28:22 +01:00
## 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.
2019-08-25 13:03:44 +02:00
2019-08-25 13:05:15 +02:00
Here it is a quick overview of those styles, you can navigate to each directory for additional information.
2019-08-25 13:03:44 +02:00
#### 1. style: [default](default)
2023-09-11 18:52:39 +02:00
![default style](default/style_default.png)
2019-08-25 13:03:44 +02:00
#### 2. style: [dark](dark)
2023-09-11 18:52:39 +02:00
![dark style](dark/style_dark.png)
2019-08-25 13:03:44 +02:00
#### 3. style: [bluish](bluish)
2023-09-11 18:52:39 +02:00
![bluish style](bluish/style_bluish.png)
2019-08-25 13:03:44 +02:00
#### 4. style: [candy](candy)
2023-09-11 18:52:39 +02:00
![candy style](candy/style_candy.png)
2019-08-25 13:03:44 +02:00
#### 5. style: [cherry](cherry)
2023-09-11 18:52:39 +02:00
![cherry style](cherry/style_cherry.png)
2019-08-25 13:03:44 +02:00
#### 6. style: [cyber](cyber)
2023-09-11 18:52:39 +02:00
![cyber style](cyber/style_cyber.png)
2019-08-25 13:03:44 +02:00
#### 7. style: [jungle](jungle)
2023-09-11 18:52:39 +02:00
![jungle style](jungle/style_jungle.png)
2019-08-25 13:03:44 +02:00
#### 8. style: [lavanda](lavanda)
2023-09-11 18:52:39 +02:00
![lavanda style](lavanda/style_lavanda.png)
2019-08-25 13:03:44 +02:00
#### 9. style: [terminal](terminal)
2023-09-11 18:52:39 +02:00
![terminal style](terminal/style_terminal.png)
2019-08-25 13:03:44 +02:00
#### 10. style: [sunny](sunny)
2023-09-11 18:52:39 +02:00
![sunny style](sunny/style_sunny.png)
2022-01-20 10:42:21 +01:00
#### 11. style: [ashes](ashes)
2023-09-11 18:52:39 +02:00
![ashes style](ashes/style_ashes.png)
#### 12. enefete: [enefete](enefete)
2023-09-11 18:52:39 +02:00
![enefete style](enefete/style_enefete.png)
2022-01-20 10:42:21 +01:00
2023-09-11 18:52:39 +02:00
*NOTE: Those styles require raylib 4.5+ and raygui 4.0*