mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Missing closing parentheses for if statement (#113)
Added a missing parenthesis to the if statement for the *iconId* example.
This commit is contained in:
@ -60,7 +60,7 @@ A set of custom handcrafted icons is provided in [`riconsdata`](src/riconsdata.h
|
||||
```
|
||||
To use any of those icons in your gui, just preprend *iconId* to any text written within `raygui` controls:
|
||||
```c
|
||||
if (GuiButton(rec, "#05#Open Image") { /* ACTION */ }
|
||||
if (GuiButton(rec, "#05#Open Image")) { /* ACTION */ }
|
||||
```
|
||||
or use the provided `GuiIconText()` function to prepend it automatically, using a clearer identifier.
|
||||
```c
|
||||
|
||||
Reference in New Issue
Block a user