-
Notifications
You must be signed in to change notification settings - Fork 96
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
Missing Window Flag wrapping #345
Comments
In the Window constructor? You're still able to use the c flags in c++. Is that what you're asking? |
I know I am still able to, but I would actually prefer to use a wrapper in this case, because I only want to use the raylib namespace and not a global one |
I mean you can probably also put something like: namespace raylib {
using WindowFlags = ConfigFlags;
} I just want to be able to access it through the raylib namespace. |
That's an interesting idea. Perhaps adding that directly in Window.hpp? namespace raylib {
using ConfigFlags = ::ConfigFlags;
} |
Yea I'd like that |
Would you like to submit a Pull Request for it? Want to make sure git credits appropriately 😉 |
I have been looking a lot and can not find a wrapping for the Window flags, though it would be easy to implement and maintain.
raylib.h
raylib-cpp could look like this:
Though it would be nice to rename them:
The text was updated successfully, but these errors were encountered: