We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. I want to limit the minimum size of the window in my so_long, but not the maximum size
Describe the solution you'd like I want mlx_set_window_limit have documented special values for limits I don't care about
mlx_set_window_limit
Describe alternatives you've considered At the moment I do
mlx_set_window_limit(mlx, min_w, min_h, -1, -1);
It works because -1 is the value of GLFW_DONT_CARE and mlx_set_window_limit just passes it to glfwSetWindowSizeLimits.
glfwSetWindowSizeLimits
Additional context I think that explicit MLX_DONT_CARE constant would be better than passing reverse-engineered -1.
The text was updated successfully, but these errors were encountered:
47b32ab
Resolved by just documenting this instead. Don't feel like adding a define for this as I have no use for it anywhere else on first glance.
define
If I have a use for it somewhere else as well I will consider adding the define over just resolving this by adding some docs.
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
I want to limit the minimum size of the window in my so_long, but not the maximum size
Describe the solution you'd like
I want
mlx_set_window_limit
have documented special values for limits I don't care aboutDescribe alternatives you've considered
At the moment I do
It works because -1 is the value of GLFW_DONT_CARE and
mlx_set_window_limit
just passes it toglfwSetWindowSizeLimits
.Additional context
I think that explicit MLX_DONT_CARE constant would be better than passing reverse-engineered -1.
The text was updated successfully, but these errors were encountered: