mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Change Rectangle::background's type to be a brush
This also introduces the brush type in the compiler and generators. At the moment only conversion from Color is implemented.
This commit is contained in:
parent
bc194241fd
commit
7982325da4
27 changed files with 122 additions and 26 deletions
|
@ -46,7 +46,12 @@ void sixtyfps_property_set_animated_binding_helper(const cbindgen_private::Prope
|
|||
cbindgen_private::sixtyfps_property_set_animated_binding_color(handle, binding, user_data, drop_user_data, animation_data, transition_data);
|
||||
}
|
||||
|
||||
|
||||
void sixtyfps_property_set_animated_binding_helper(const cbindgen_private::PropertyHandleOpaque *handle,
|
||||
void (*binding)(void*, Brush*), void *user_data, void (*drop_user_data)(void*),
|
||||
const cbindgen_private::PropertyAnimation *animation_data,
|
||||
cbindgen_private::PropertyAnimation (*transition_data)(void *, uint64_t *)) {
|
||||
cbindgen_private::sixtyfps_property_set_animated_binding_brush(handle, binding, user_data, drop_user_data, animation_data, transition_data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue