Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GuiLoadIcons example? #404

Closed
JupiterRider opened this issue May 18, 2024 · 4 comments
Closed

GuiLoadIcons example? #404

JupiterRider opened this issue May 18, 2024 · 4 comments

Comments

@JupiterRider
Copy link

Hey @raysan5 ,
do you have an example how to use GuiLoadIcons for .rgi-files or could you provide one?

Thanks in advance! :)

@JupiterRider JupiterRider changed the title GuiLoadIcons for .rgi-files? GuiLoadIcons example? May 21, 2024
@raysan5
Copy link
Owner

raysan5 commented May 22, 2024

@JupiterRider Did you try just calling GuiLoadIcons("your_icons_file.rgi")? Afaik, nothing else is required.

What issue did you find?

@JupiterRider
Copy link
Author

@raysan5
GuiLoadIcons returns char **, which seems to be a two dimensional array. How do I use the return value then?

@raysan5
Copy link
Owner

raysan5 commented May 22, 2024

@JupiterRider Why do you need the return value? You can just call GuiLoadIcons("your_icons_file.rgi", false) and ignore the return.

@JupiterRider
Copy link
Author

Ah, ok. That's simple.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants