mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
TouchArea: add the pointer-event
callback
... instead of `pressed-changed` This allows to see what mouse button was pressed. Closes #535
This commit is contained in:
parent
137ad32886
commit
2716e4b4dd
21 changed files with 200 additions and 59 deletions
|
@ -61,6 +61,7 @@ namespace private_api {
|
|||
using ItemTreeNode = cbindgen_private::ItemTreeNode<uint8_t>;
|
||||
using cbindgen_private::KeyboardModifiers;
|
||||
using cbindgen_private::KeyEvent;
|
||||
using cbindgen_private::PointerEvent;
|
||||
|
||||
/// Internal function that checks that the API that must be called from the main
|
||||
/// thread is indeed called from the main thread, or abort the program otherwise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue