Skip to content
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

core: platform: Input callbacks, corrected framebuffer/window sizes, swapchain handling #1321

Merged
merged 12 commits into from
Dec 24, 2024

Conversation

foxnne
Copy link
Contributor

@foxnne foxnne commented Dec 12, 2024

Requires this mach-objc PR to be merged before we can update the zon for this one.

  • By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right.

@foxnne
Copy link
Contributor Author

foxnne commented Dec 12, 2024

Recent changes allow pinch to zoom and a new event to handle that. I also have picked up the change to window.color and created the desired fields, decorated, transparent and decoration_color.

@foxnne
Copy link
Contributor Author

foxnne commented Dec 12, 2024

Currently remaining basic missing features Pixi wants:

  • Cursor control
  • Character input

@foxnne foxnne changed the title core: darwin: Input callbacks, corrected framebuffer/window sizes, swapchain handling core: platform: Input callbacks, corrected framebuffer/window sizes, swapchain handling Dec 14, 2024
core_window.width = width;
core_window.height = height;
core_window.framebuffer_width = width;
core_window.framebuffer_height = height;
Copy link
Member

Choose a reason for hiding this comment

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

This is wrong / a bug - the window width/height should almost certainly not be the same as framebuffer_width/framebuffer_height.

@emidoots emidoots merged commit b3a5186 into hexops:main Dec 24, 2024
2 of 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