mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Rename sixtyfps_
This commit is contained in:
parent
6c210b549b
commit
d2d6a5cc6a
20 changed files with 65 additions and 65 deletions
|
@ -61,7 +61,7 @@ exhale_args = {
|
|||
"exhaleExecutesDoxygen": True,
|
||||
"exhaleDoxygenStdin": """INPUT = ../../api/cpp/include generated_include
|
||||
EXCLUDE_SYMBOLS = slint::cbindgen_private* slint::private_api* vtable* SLINT_DECL_ITEM
|
||||
EXCLUDE = ../../api/cpp/include/vtable.h ../../api/sixtyfps-cpp/include/sixtyfps_testing.h
|
||||
EXCLUDE = ../../api/cpp/include/vtable.h ../../api/sixtyfps-cpp/include/slint_testing.h
|
||||
ENABLE_PREPROCESSING = YES
|
||||
PREDEFINED += DOXYGEN
|
||||
WARN_AS_ERROR = YES""",
|
||||
|
|
|
@ -29,7 +29,7 @@ files at run-time. This is slower than compiling them ahead of time and requires
|
|||
however it provides more flexibility in your application design.
|
||||
|
||||
The entry point to loading a `.slint` file is the {cpp:class}`slint::interpreter::ComponentCompiler`
|
||||
class in the {ref}`slint::interpreter <namespace_sixtyfps__interpreter>` namespace.
|
||||
class in the {ref}`slint::interpreter <namespace_slint__interpreter>` namespace.
|
||||
|
||||
With the help of {cpp:class}`slint::interpreter::ComponentCompiler` you create a {cpp:class}`slint::interpreter::ComponentDefinition`,
|
||||
which provides you with information about properties and callbacks that are common to all instances. The
|
||||
|
|
|
@ -8,10 +8,10 @@ The follow table summarizes the entire mapping:
|
|||
| `int` | `int` | |
|
||||
| `float` | `float` | |
|
||||
| `bool` | `bool` | |
|
||||
| `string` | [`slint::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` | [`slint::Color`](api/classsixtyfps_1_1_color.html) | |
|
||||
| `brush` | [`slint::Brush`](api/classsixtyfps_1_1_brush.html) | |
|
||||
| `image` | [`slint::Image`](api/structsixtyfps_1_1_image.html) | |
|
||||
| `string` | [`slint::SharedString`](api/structslint_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` | [`slint::Color`](api/classslint_1_1_color.html) | |
|
||||
| `brush` | [`slint::Brush`](api/classslint_1_1_brush.html) | |
|
||||
| `image` | [`slint::Image`](api/structslint_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