Remove the test function for sending double_click

They are not commonly used so no need to use semi-public api for that
and it's really easy to similate with ust two clicks anyway

The previous test function were added before there was public way to
send events
This commit is contained in:
Olivier Goffart 2024-01-23 16:26:40 +01:00
parent 6ce394b90a
commit 573d4a3b50
7 changed files with 33 additions and 67 deletions

View file

@ -29,12 +29,6 @@ inline void send_mouse_click(const Component *component, float x, float y)
cbindgen_private::slint_send_mouse_click(x, y, &component->window().window_handle());
}
template<typename Component>
inline void send_mouse_double_click(const Component *component, float x, float y)
{
cbindgen_private::slint_send_mouse_double_click(x, y, &component->window().window_handle());
}
template<typename Component>
inline void send_keyboard_char(const Component *component, const slint::SharedString &str,
bool pressed)