slint/api
Simon Hausmann f33b26fa93 Make Brush compile for C++
A few changes were required:

 * `LinearGradient(LinearGradient)` as enum variant unfortunately
    won't compile because the cbindgen generated constructor
    function (`LinearGradient()`) will try to also instantiate the
    variant type inside (`LinearGradient`) and that won't find the type
    but the function itself and error out. So the inner type is now
    called `LinearGradientBrush`.

 * The same name dance was required for `Color`, where the enum variant
   instead is called `SolidColor`

 * `BrushInner` was removed in favor of just `Brush`. The nicer Rust
    API will be the public variant, and for cbindgen we can just put
    the generated enum into an internal namespace, like we do for
    Resource for example

 * A `NoBrush` variant was added. Maybe that name could be improved?
2021-02-01 16:51:04 +01:00
..
sixtyfps-cpp Make Brush compile for C++ 2021-02-01 16:51:04 +01:00
sixtyfps-node Make angle its own type 2021-02-01 14:49:25 +01:00
sixtyfps-rs Get ready to publish the docs with the preview. 2021-01-29 17:14:14 +01:00
sixtyfps-wasm-interpreter Update version number everywhere 2021-01-28 16:34:13 +01:00