slint/api/sixtyfps-cpp/include
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.h Add TextWrap and TextOverflow enum and corresponding property in Text 2021-01-27 11:40:09 +01:00
sixtyfps_brush.h Make Brush compile for C++ 2021-02-01 16:51:04 +01:00
sixtyfps_callbacks.h Handle native callbacks with return value 2021-01-26 17:05:30 +01:00
sixtyfps_color.h Rename ARGBColor to RgbaColor 2020-11-23 11:47:47 +01:00
sixtyfps_pathdata.h Added the two missing path sub-elements for quadratic and cubic curves 2021-01-28 14:14:24 +01:00
sixtyfps_properties.h Transitions in C++ 2020-11-20 11:38:03 +01:00
sixtyfps_resource.h Also do the comperty comparison in C++ 2020-10-31 14:36:38 +01:00
sixtyfps_sharedvector.h Rename SharedArray to SharedVector 2020-12-18 10:26:07 +01:00
sixtyfps_string.h Fix string comparison in C++ 2020-11-03 19:42:01 +01:00
sixtyfps_testing.h Change the C++ test API of the send_mouse_click 2021-01-29 16:55:48 +01:00
vtable.h Add ability to get the parent item from the vtable 2021-01-26 10:36:37 +01:00