mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
C++ model that can be changed
This commit is contained in:
parent
02d18b09cf
commit
4a0a65f113
6 changed files with 122 additions and 47 deletions
|
@ -65,6 +65,10 @@ struct Property
|
|||
template<typename F>
|
||||
inline void set_animated_binding(F binding, const cbindgen_private::PropertyAnimation &animation_data);
|
||||
|
||||
bool is_dirty() const {
|
||||
return cbindgen_private::sixtyfps_property_is_dirty(&inner);
|
||||
}
|
||||
|
||||
private:
|
||||
cbindgen_private::PropertyHandleOpaque inner;
|
||||
mutable T value{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue