navigation: improve interface, add touchscreen events
This MR aims to improve navigation events in two ways:
- Changing the interface and API so elements dont need to directly access the event structure anymore.
- Deprecating the current interface and its wrapper functions for
send_event_simple
which expects aGstEvent
instead of aGstStructure
. - Adding
navigation_event_get/set_coordinates
functions for elements that just modifiedpointer_x/y
to translate event coordinates.
- Deprecating the current interface and its wrapper functions for
- Creating API for touchscreen events, and implementing touch event support for several elements.
Edited by Vivienne Watermeier