Skip to content

add getWindowMonitor and getMonitorPhysicalSize #29

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

Merged
merged 3 commits into from
Apr 12, 2025

Conversation

gabrielmfern
Copy link
Contributor

@gabrielmfern gabrielmfern commented Apr 10, 2025

Wanted to get the physical size for the monitor, and to get the current monitor for the window but the functions were missing. This PR adds them alongside the functions tied to the Window & Monitor structs

Would love if this was merged. I'm also new to systems programming as well as to zig itself, so if there are any issues would appreciate the feedback.

Copy link
Member

@hazeycode hazeycode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@hazeycode hazeycode merged commit 75ab44d into zig-gamedev:main Apr 12, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants