mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 13:51:13 +00:00
Add a DPI variable in the interpreter and in the C++ backend
This commit is contained in:
parent
20e7f3178e
commit
96e5738785
5 changed files with 76 additions and 2 deletions
|
@ -19,6 +19,9 @@ struct Property
|
|||
Property(const Property &) = delete;
|
||||
Property(Property &&) = delete;
|
||||
Property &operator=(const Property &) = delete;
|
||||
explicit Property(const T &value) : value(value) {
|
||||
internal::sixtyfps_property_init(&inner);
|
||||
}
|
||||
|
||||
/* Should it be implicit?
|
||||
void operator=(const T &value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue