mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
Move all cbindgen generated code into
sixtyfps::cbindgen_private Having private in the name makes it clear that this is ... private, and cbindgen helps remember that it's generated.
This commit is contained in:
parent
2fa953ce8a
commit
14fe897086
12 changed files with 108 additions and 108 deletions
|
@ -15,10 +15,10 @@ LICENSE END */
|
|||
namespace sixtyfps::testing {
|
||||
inline void mock_elapsed_time(int64_t time_in_ms)
|
||||
{
|
||||
internal::sixtyfps_mock_elapsed_time(time_in_ms);
|
||||
cbindgen_private::sixtyfps_mock_elapsed_time(time_in_ms);
|
||||
}
|
||||
template<typename Component>
|
||||
inline void send_mouse_click(Component &component, float x, float y) {
|
||||
internal::sixtyfps_send_mouse_click({&Component::component_type, &component}, x, y);
|
||||
cbindgen_private::sixtyfps_send_mouse_click({&Component::component_type, &component}, x, y);
|
||||
}
|
||||
} // namespace sixtyfps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue