mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Fix links to C++ types in the C++ type mapping documentation
closes #852
This commit is contained in:
parent
e7d2028a8f
commit
5ae41f0b87
1 changed files with 4 additions and 4 deletions
|
@ -8,10 +8,10 @@ The follow table summarizes the entire mapping:
|
|||
| `int` | `int` | |
|
||||
| `float` | `float` | |
|
||||
| `bool` | `bool` | |
|
||||
| `string` | [`sixtyfps::SharedString`](../api/structsixtyfps_1_1_shared_string.html) | A reference-counted string type that uses UTF-8 encoding and can be easily converted to a std::string_view or a const char *. |
|
||||
| `color` | [`sixtyfps::Color`](../api/classsixtyfps_1_1_color.html) | |
|
||||
| `brush` | [`sixtyfps::Brush`](../api/classsixtyfps_1_1_brush.html) | |
|
||||
| `image` | [`sixtyfps::Image`](../api/structsixtyfps_1_1_image.html) | |
|
||||
| `string` | [`sixtyfps::SharedString`](api/structsixtyfps_1_1_shared_string.html) | A reference-counted string type that uses UTF-8 encoding and can be easily converted to a std::string_view or a const char *. |
|
||||
| `color` | [`sixtyfps::Color`](api/classsixtyfps_1_1_color.html) | |
|
||||
| `brush` | [`sixtyfps::Brush`](api/classsixtyfps_1_1_brush.html) | |
|
||||
| `image` | [`sixtyfps::Image`](api/structsixtyfps_1_1_image.html) | |
|
||||
| `physical_length` | `float` | The unit are physical pixels. |
|
||||
| `length` | `float` | At run-time, logical lengths are automatically translated to physical pixels using the device pixel ratio. |
|
||||
| `duration` | `std::int64_t` | At run-time, durations are always represented as signed 64-bit integers with millisecond precision. |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue