Olivier Goffart
Olivier Goffart
Given an enum with `#[repr(u8)]`, for example https://github.com/mozilla/cbindgen/blob/52a65e5be3d8c6a2648fbe3bc6a9001a96f0756c/tests/rust/enum.rs#L54-L59 When generating the code for C++, it will generate an anonymous struct https://github.com/mozilla/cbindgen/blob/52a65e5be3d8c6a2648fbe3bc6a9001a96f0756c/tests/expectations/enum.cpp#L114-L116 But this is not valid C++ and that doesn't...
Something like (in slint) ``` import { MyNamespace::MyStruct as MyStruct } form "../include/some_file.h"; import { crate::foo::bar::SomeOtherStruct as SomeStruct } from "../some/module/foo.rs"; ``` The slint compiler would use the syn crate...
We need to support user changing translations through the interface, as well as translation on platform that do not have gettext (MCU) The idea would be somehow to have API...
It is often requested to have default values for struct fields It could look like this: ``` struct Player { score: int = -1, name: string = "John Smith", }...
Many users can get confused when looking old documentation, and not realize it is an outaded docs. (example #5019) We should inject a banner somehow in the HTML of these...
Pressing the up or down key (on the keyboard) should increase or decrease the value of the SpinBox. Currently does nothing.
When building with slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer, we get misleading compilation error when the default font don't exist. To reproduce, edit the carousel_demo.slint and change the default font binding: ```slint default-font-family: "NOT EXIST";...
There is no example on how to use these model classes in the C++ docs. Some code snippet should be added.
When compiling with `slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer`, we need a way to specify with font to embed, which glyph ranges, which sizes. Currently there is some code that tries to auto-detect the sizes,...