mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
Fix C++ build
With ImageInner::StaticTextures (the variant) and StaticTextures (the struct), we need to disambiguate for the generated enum contructor functions. This is done by prefixing the enum variant with their name.
This commit is contained in:
parent
f1dae75d53
commit
583c7a1b80
4 changed files with 5 additions and 3 deletions
|
|
@ -227,6 +227,7 @@ fn gen_corelib(
|
|||
"slint_image_path",
|
||||
"SharedPixelBuffer",
|
||||
"SharedImageBuffer",
|
||||
"StaticTextures",
|
||||
],
|
||||
vec!["Color"],
|
||||
"slint_image_internal.h",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue