mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Add links to the template repositories
This commit is contained in:
parent
cbefe741fc
commit
bbe178aadf
4 changed files with 23 additions and 0 deletions
|
@ -235,3 +235,5 @@ That's it.
|
||||||
|
|
||||||
For more details, check the [Online documentation](https://sixtyfps.io/docs/cpp) and the full
|
For more details, check the [Online documentation](https://sixtyfps.io/docs/cpp) and the full
|
||||||
[Walk-through tutorial](https://sixtyfps.io/docs/tutorial/cpp).
|
[Walk-through tutorial](https://sixtyfps.io/docs/tutorial/cpp).
|
||||||
|
We also have a [Getting Started Template](https://github.com/sixtyfpsui/sixtyfps-cpp-template) repository with
|
||||||
|
the code of a minimal C++ application using SixtyFPS that can be used as a starting point to your program.
|
||||||
|
|
|
@ -74,3 +74,8 @@ the ui, read or write properties or set callbacks. You can learn more about how
|
||||||
|
|
||||||
For an in-depth walk-through, you may be interested in reading our walk-through <a href="../tutorial/cpp">SixtyFPS Memory Game Tutorial Tutorial</a>.
|
For an in-depth walk-through, you may be interested in reading our walk-through <a href="../tutorial/cpp">SixtyFPS Memory Game Tutorial Tutorial</a>.
|
||||||
It will guide you through the `.60` mark-up language and the C++ API by building a little memory game.
|
It will guide you through the `.60` mark-up language and the C++ API by building a little memory game.
|
||||||
|
|
||||||
|
## Template
|
||||||
|
|
||||||
|
You can clone the [Template Repository](https://github.com/sixtyfpsui/sixtyfps-cpp-template) repository with
|
||||||
|
the code of a minimal C++ application using SixtyFPS that can be used as a starting point to your program.
|
||||||
|
|
|
@ -44,6 +44,14 @@ fn main() {
|
||||||
The [`sixtyfps` crate documentation](https://sixtyfps.io/docs/rust/sixtyfps/)
|
The [`sixtyfps` crate documentation](https://sixtyfps.io/docs/rust/sixtyfps/)
|
||||||
contains more advanced examples and alternative ways to use this crate.
|
contains more advanced examples and alternative ways to use this crate.
|
||||||
|
|
||||||
|
To quickly get started, you can use the [Template Repository](https://github.com/sixtyfpsui/sixtyfps-rust-template) with
|
||||||
|
the code of a minimal application using SixtyFPS that can be used as a starting point to your program.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo install cargo-generate
|
||||||
|
cargo generate --git https://github.com/sixtyfpsui/sixtyfps-rust-template
|
||||||
|
```
|
||||||
|
|
||||||
## More examples
|
## More examples
|
||||||
|
|
||||||
You can quickly try out the [examples](/examples) by cloning this repo and running them with `cargo run`
|
You can quickly try out the [examples](/examples) by cloning this repo and running them with `cargo run`
|
||||||
|
|
|
@ -91,6 +91,14 @@ fn main() {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To quickly get started with this pattern, we have a [Template Repository](https://github.com/sixtyfpsui/sixtyfps-rust-template) that
|
||||||
|
can be used with cargo-generate.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo install cargo-generate
|
||||||
|
cargo generate --git https://github.com/sixtyfpsui/sixtyfps-rust-template
|
||||||
|
```
|
||||||
|
|
||||||
## Generated components
|
## Generated components
|
||||||
|
|
||||||
As of now, only the last component of a .60 source is generated. It is planned to generate all exported components.
|
As of now, only the last component of a .60 source is generated. It is planned to generate all exported components.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue