mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
reuse: remove glob for markdown files
Instead, place the copyright and license right into the source. To satisfy reuse, this also removes the unnecessary MIT.txt symlinks.
This commit is contained in:
parent
fc64542221
commit
96d7bb132c
168 changed files with 159 additions and 23 deletions
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Summary
|
||||
|
||||
- [Introduction](./introduction.md)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Conclusion
|
||||
|
||||
In this tutorial, we have demonstrated how to combine some built-in Slint elements with C++ code to build a little
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Creating The Tiles From C++
|
||||
|
||||
What we'll do is take the list of tiles declared in the .slint language, duplicate it, and shuffle it.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# From One To Multiple Tiles
|
||||
|
||||
After modeling a single tile, let's create a grid of them. For the grid to be our game board, we need two features:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Game Logic In C++
|
||||
|
||||
We'll implement the rules of the game in C++ as well. The general philosophy of Slint is that merely the user
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Getting Started
|
||||
|
||||
In this tutorial, we use C++ as the host programming language. We also support other programming languages like
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Ideas For The Reader
|
||||
|
||||
The game is visually a little bare. Here are some ideas how you could make further changes to enhance it:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Introduction
|
||||
|
||||
This tutorial will introduce you to the Slint UI framework in a playful way by implementing a little memory game. We're going to combine the `.slint` language for the graphics with the game rules implemented in C++.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Memory Tile
|
||||
|
||||
With the skeleton in place, let's look at the first element of the game, the memory tile. It will be the
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
|
||||
# Polishing the Tile
|
||||
|
||||
Next, let's add a curtain like cover that opens up when clicking. We achieve this by declaring two rectangles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue