Skip to content

Commit

Permalink
Update from slint-ui/slint
Browse files Browse the repository at this point in the history
Pull web demos and C++/Rust reference docs from commit 1c3eb46752eba30200b9f38b7bf3527d58d0efe8 (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Oct 4, 2024
1 parent 2aeae38 commit decdd13
Show file tree
Hide file tree
Showing 237 changed files with 338 additions and 341 deletions.
Binary file modified snapshots/master/demos/android/energy-monitor.apk
Binary file not shown.
Binary file modified snapshots/master/demos/carousel/pkg/carousel_bg.wasm
Binary file not shown.
60 changes: 30 additions & 30 deletions snapshots/master/demos/energy-monitor/pkg/energy_monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1684,64 +1684,64 @@ function __wbg_get_imports() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7780 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3451, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7779 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3450, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7782 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3451, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7781 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3450, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7784 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3451, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7783 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3450, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7786 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3451, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7785 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3450, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7788 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3451, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7787 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3450, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9349 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9348 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9351 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper9350 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9357 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper9356 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9361 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper9360 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9365 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper9364 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9367 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_49);
imports.wbg.__wbindgen_closure_wrapper9366 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_49);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9371 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper9370 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9373 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper9372 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9379 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper9378 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3999, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper10053 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4046, __wbg_adapter_58);
imports.wbg.__wbindgen_closure_wrapper10052 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4045, __wbg_adapter_58);
return addHeapObject(ret);
};

Expand Down
Binary file modified snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm
Binary file not shown.
7 changes: 2 additions & 5 deletions snapshots/master/demos/memory/pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

### `memory`

A basic memory game used as an example the tutorial:

* [Memory Game Tutorial (Rust)](https://slint.dev/docs/quickstart/rust)
* [Memory Game Tutorial (C++)](https://slint.dev/docs/quickstart/cpp)
A basic memory game used as an example the [tutorial](https://slint.dev/docs/slint/src/quickstart/)

| `.slint` Design | Rust Source | C++ Source | Online wasm Preview | Open in SlintPad |
| --- | --- | --- | --- | --- |
| [`memory.slint`](./memory.slint) | [`main.rs`](./main.rs) | [`memory.cpp`](./memory.cpp) | [Online simulation](https://slint.dev/snapshots/master/demos/memory/) | [Preview in Online Code Editor](https://slint.dev/snapshots/master/editor?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/memory/memory.slint) |

![Screenshot of Memory](https://github.com/user-attachments/assets/63216b63-2f9e-48c0-8efe-64cee9e91f07 "Memory screenshot")
![Screenshot of Memory](https://github.com/user-attachments/assets/63216b63-2f9e-48c0-8efe-64cee9e91f07 "Memory screenshot")
Binary file modified snapshots/master/demos/memory/pkg/memory_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/plotter/pkg/plotter_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm
Binary file not shown.
Binary file not shown.
Binary file modified snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/todo-mvc/pkg/todo_lib_mvc_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/todo/pkg/todo_lib_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/weather-demo/pkg/weather_demo_bg.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion snapshots/master/docs/cpp/_sources/getting_started.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ the UI, read or write properties, and set callbacks. You can learn more about ho

## Tutorial

For an in-depth walk-through, read our <a href="../quickstart/cpp">Slint Memory Game Tutorial</a>.
For an in-depth walk-through, read our <a href="../slint/src/quickstart">Slint Memory Game Tutorial</a>.
It will guide you through the `.slint` mark-up language and the C++ API by building a simple memory
game.

Expand Down
2 changes: 1 addition & 1 deletion snapshots/master/docs/cpp/getting_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ <h1>Getting Started<a class="headerlink" href="#getting-started" title="Permalin
<a class="reference internal" href="generated_code.html"><span class="std std-doc">Generated Code</span></a> section.</p>
<section id="tutorial">
<h2>Tutorial<a class="headerlink" href="#tutorial" title="Permalink to this heading"></a></h2>
<p>For an in-depth walk-through, read our <a href="../quickstart/cpp">Slint Memory Game Tutorial</a>.
<p>For an in-depth walk-through, read our <a href="../slint/src/quickstart">Slint Memory Game Tutorial</a>.
It will guide you through the <code class="docutils literal notranslate"><span class="pre">.slint</span></code> mark-up language and the C++ API by building a simple memory
game.</p>
</section>
Expand Down
Loading

0 comments on commit decdd13

Please sign in to comment.