Skip to content

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 expected that way (enter/exit are suppressed during drag, up and exit are reported outside on mouseup)?

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