-
Notifications
You must be signed in to change notification settings - Fork 123
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
guiSetStyle api using wrong types #131
Comments
Actually i think all of the enums that end with Maybe this func should be reverted to the old raw c_int style and we make our own wrapper api thats nested enum based? |
This could just be resolved with |
I believe with the changes made in #125 you can no longer set any default properties like changing the |
I just ran into this issue trying to set default text size. There is no way of doing this now if I am not mistaken?
How can I pass GuiDefaultProperty.text_size to this function? |
I've reverted the API back to taking |
In #125 I think the proposed api is wrong.
The first param should be
rg.GuiControl
and the second param is slightly weird.It can be
rg.GuiControlProperty
orrg.GuiDefaultProperty
. I'm newish to zig still so not sure the best way to handle merging these two enums together, maybe we have two different wrapper funcs for this?The text was updated successfully, but these errors were encountered: