C++ docs: Add a getting started section

This combines the tutorial sub-section from the intro (a bit weird as sub-section there)
and the usage part of the cmake section into a getting started that
has a complete little C++ example.
This commit is contained in:
Simon Hausmann 2021-07-02 16:20:58 +02:00
parent 13bd828b96
commit 8f9a723e75
4 changed files with 89 additions and 38 deletions

View file

@ -1,9 +1,14 @@
# Introduction
[SixtyFPS](https://sixtyfps.io/) is a UI toolkit that supports different programming languages.
SixtyFPS.cpp is the C++ API to interact with a SixtyFPS UI from C++.
SixtyFPS C++ is the C++ API to interact with a SixtyFPS UI from C++.
## Tutorial
The user interfaces are written in the [.60 design markup language](markdown/langref.md).
If you are new to SixtyFPS, then 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.
You can create and edit `.60` files using our [SixtyFPS Visual Studio Code Extension](https://marketplace.visualstudio.com/items?itemName=SixtyFPS.sixtyfps-vscode),
which features syntax highlighting and live design preview.
For a quick edit and preview cycle, you can also use the `sixtyfps-viewer` command line tool, which can be installed using `cargo install sixtyfps-viewer`,
if you have [Cargo](https://marketplace.visualstudio.com/items?itemName=SixtyFPS.sixtyfps-vscode) installed.
In the next section you will learn how to install the SixtyFPS C++ library and the CMake build system integration.