slint/examples/cpptest
Simon Hausmann 625cb6c6b8 Add a constructor to Text and let the color default to black
We really shouldn't require specifying a color for every Text {} element just in order
to see *some* text.

For Rectangle OTOH transparent is a good default (and thus for Color), hence
this change just to Text.

Right now the constructor bit is also a bit repetitive, this could
perhaps be folded into BuiltinItem to generate the ffi, default impl and
forward to an init function if it exists.
2020-09-16 08:20:13 +02:00
..
.gitignore Ignore more generated files 2020-05-11 10:56:33 +02:00
CMakeLists.txt Update license header to mention that commertial option are available 2020-08-26 13:23:42 +02:00
hello.60 Add a constructor to Text and let the color default to black 2020-09-16 08:20:13 +02:00
main.cpp Update license header to mention that commertial option are available 2020-08-26 13:23:42 +02:00