Add a DPI variable in the interpreter and in the C++ backend

This commit is contained in:
Olivier Goffart 2020-07-15 17:13:23 +02:00
parent 20e7f3178e
commit 96e5738785
5 changed files with 76 additions and 2 deletions

View file

@ -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) {