-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
ttf does not provide TTF_GlyphIsProvided #615
Comments
ttf_measure APIs missing too, such as: https://wiki.libsdl.org/SDL2_ttf/TTF_MeasureUTF8 is there any reason for dropping those APIs, or just because of short of hands? |
Hi, sorry about the missing APIs 💦 I will add them once I'm available to do so. |
Hi @boredcoder411 and @shellohunter, I have added the bindings to the master branch. Would you like to try it out? |
measure APIs works as expected. thanks! will them be in next tag? btw, I noticed that v0.5 is in beta, it would be nice if sdl2 enums have enum-like typedefs in golang, something like this: type MouseButton uint8
const(
MouseButtonLeft MouseButton = 0
MouseButtonRight MouseButton = 1
) language servers can make use of it, providing better auto-completion. |
@shellohunter Yes! They will be in the next tag. We have constants |
constants are just integers, what I mean is to add specific types to group constants like this: https://gobyexample.com/enums , then go can make basic type checking to prevent misuse, and it will be more comprehensive to LSP. |
@shellohunter we do have the If there is, please create another issue! |
@veeableful just noticed they are already available in master branch. no issues anymore. |
same as title, no TTF_GlyphIsProvided in the sdl2-ttf package
The text was updated successfully, but these errors were encountered: