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

Add mouse_enter() and mouse_exit() for Pd vanilla #70

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ben-wes
Copy link
Contributor

@ben-wes ben-wes commented Jan 16, 2025

creating this PR mainly for discussion. tested with Pd vanilla

questions:

  1. is the mechanism using parent canvas messages the correct way in Pd vanilla?
  2. is the dragging behaviour correct that way (enter/exit are suppressed during drag)?

todos:

  • support plugdata and purr data

closes #61

@ben-wes ben-wes force-pushed the feature/mouse-interaction branch 3 times, most recently from c53ce6e to 98440c7 Compare January 17, 2025 11:17
@ben-wes
Copy link
Contributor Author

ben-wes commented Jan 17, 2025

last force push fixes crashes on cleanup. this is now basically a copy of the mechanisms in https://github.com/iem-projects/pd-iemguts/blob/main/src/receivecanvas.c

@ben-wes ben-wes force-pushed the feature/mouse-interaction branch 2 times, most recently from dd69ce6 to 89e2d3a Compare January 17, 2025 14:02
with proxy function for canvas messages and clock for cleanup
@ben-wes ben-wes force-pushed the feature/mouse-interaction branch from 89e2d3a to f221089 Compare January 17, 2025 15:09
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.

additional mouse_enter and mouse_exit functions?
1 participant