mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 05:12:55 +00:00
Fix C++ compilation
After adding an Image in a builtin struct, some code and include need to be moved a bit around
This commit is contained in:
parent
c09ed19a85
commit
de9eb69f60
3 changed files with 11 additions and 20 deletions
|
|
@ -212,6 +212,15 @@ Property<float>::set_animated_value(const float &new_value,
|
|||
&animation_data);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline void
|
||||
Property<Color>::set_animated_value(const Color &new_value,
|
||||
const cbindgen_private::PropertyAnimation &animation_data) const
|
||||
{
|
||||
cbindgen_private::slint_property_set_animated_value_color(&inner, value, new_value,
|
||||
&animation_data);
|
||||
}
|
||||
|
||||
template<typename F>
|
||||
void set_state_binding(const Property<StateInfo> &property, F binding)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue