mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Generate linear gradient in C++
This commit is contained in:
parent
c5ab214f55
commit
d90fce9c1d
2 changed files with 19 additions and 1 deletions
|
@ -155,6 +155,9 @@ public:
|
|||
<< ")";
|
||||
}
|
||||
|
||||
// FIXME: we need this to create GradientStop
|
||||
operator const cbindgen_private::types::Color&() { return inner; }
|
||||
|
||||
private:
|
||||
cbindgen_private::types::Color inner;
|
||||
friend class LinearGradientBrush;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue