So it doesn't appear in the LLR and the C++ codegen can be simplified.
In particular, this removes the need to throw/catch exception to handle return
across generated lambdas
Many of our dependencies already made the jump and require a cargo update hack, so make it official
Removed the MSRV from the README since it applies to master branch and people read the readme also for
the released version. There is enough documentation of the MSRV in other locations.
- Remove the alpha suffix
- Use Slint from the release tag not the branch.
It would be awkward if the 1.2.0 esp-idf component would end up
using Slint 1.3.0, so let's tie them together for now.
- s/physical_size/size/ (consistant with the slint::Window API)
- remove const of virtual function (they don't need to be const and
make implementation potentially easier)
- Move the WindowProperties in it
two bugs:
- If the .slint file did not contain any import, the depfile would have
no dependencies, and as a result, ninja would consider that it is
always dirty.
- In case the binary dir is a sub directory, the dependencies were
relative to the wrong directory. Thgis is because the behavior
changed in some version of cmake (see https://cmake.org/cmake/help/latest/policy/CMP0116.html)
to avoid any problem, use the absolute paths
Fixes#3261
- make sure the Platform::Clipboard type is properly documented
- Use the actual enum in the interface (even though it is
#[non_exhaustive] so we need to slience a warning)
CC: #3265
... and provide hints in there about implementing window close requests.
Note: The links to set_size() and set_position() are not resolved, as
these virtual functions are still missing from the WindowAdapter base
class.
Provide a brief introduction into what the component provides and how to use it. This is very brief, but
hopefully a good starting point.
We should link to C++ platform docs once we have them, for example.
When the component includes an example, its README will be automatically rendered below this one.
Also make the esp_lcd_touch component a public dependency,
since it's included from `esp_slint.h`.
These are resolved at upload time to the actual files. The markdown source isn't quite perfect, but it's something. The component registry doesn't detect the
license correctly yet either.