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 04edafe1211805cb8a4d506e69d11753297c3645 (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Oct 25, 2024
1 parent f0ac7ff commit 88f109a
Show file tree
Hide file tree
Showing 67 changed files with 506 additions and 2,370 deletions.
Binary file modified snapshots/master/demos/android/energy-monitor.apk
Binary file not shown.
Binary file modified snapshots/master/demos/android/todo_lib.apk
Binary file not shown.
Binary file modified snapshots/master/demos/carousel/pkg/carousel_bg.wasm
Binary file not shown.
5 changes: 2 additions & 3 deletions snapshots/master/demos/energy-monitor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
height: 100vh !important;
}
}

</style>
</head>

Expand All @@ -45,9 +44,9 @@ <h1 class="hide-in-mobile-landscape">Energy Monitor Demo</h1>
</div>
<canvas id="canvas" data-slint-auto-resize-to-preferred="true" unselectable="on"></canvas>
<p class="hide-in-mobile-landscape links">
<a href="https://github.com/slint-ui/slint/blob/master/examples/energy-monitor/ui/desktop_window.slint">
<a href="https://github.com/slint-ui/slint/blob/master/demos/energy-monitor/ui/desktop_window.slint">
View Source Code on GitHub</a> -
<a href="https://slint.dev/editor?load_demo=examples/energy-monitor/ui/desktop_window.slint">
<a href="https://slint.dev/editor?load_demo=demos/energy-monitor/ui/desktop_window.slint">
Open in SlintPad
</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion snapshots/master/demos/energy-monitor/pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ cargo apk run -p energy-monitor --target aarch64-linux-android --lib

```sh
cargo install wasm-pack
cd examples/energy-monitor/
cd demos/energy-monitor/
wasm-pack build --release --target web --no-default-features --features slint/default,chrono
python3 -m http.server
```
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.
30 changes: 15 additions & 15 deletions snapshots/master/demos/imagefilter/pkg/imagefilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1601,11 +1601,7 @@ function __wbg_get_imports() {
const ret = arg0.getCoalescedEvents();
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1308 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_28);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1310 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1309 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_28);
return ret;
};
Expand All @@ -1621,43 +1617,47 @@ function __wbg_get_imports() {
const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_28);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper4984 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1314 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_28);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper4985 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6272 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6273 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_42);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6305 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6306 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6320 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6321 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6328 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6329 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6334 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6335 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6372 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6373 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6383 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6384 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_55);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6395 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6396 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6406 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6407 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_39);
return ret;
};
Expand Down
Binary file modified snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/memory/pkg/memory_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm
Binary file not shown.
Binary file modified snapshots/master/demos/plotter/pkg/plotter_bg.wasm
Binary file not shown.
5 changes: 2 additions & 3 deletions snapshots/master/demos/printerdemo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
height: 100vh !important;
}
}

</style>
</head>

Expand All @@ -46,9 +45,9 @@ <h1 class="hide-in-mobile-landscape">Printer Demo</h1>
</div>
<canvas id="canvas" unselectable="on"></canvas>
<p class="hide-in-mobile-landscape links">
<a href="https://github.com/slint-ui/slint/blob/master/examples/printerdemo/ui/printerdemo.slint">
<a href="https://github.com/slint-ui/slint/blob/master/demos/printerdemo/ui/printerdemo.slint">
View Source Code on GitHub</a> -
<a href="https://slint.dev/editor?load_demo=examples/printerdemo/ui/printerdemo.slint">
<a href="https://slint.dev/editor?load_demo=demos/printerdemo/ui/printerdemo.slint">
Open in SlintPad
</a>
</p>
Expand Down
Binary file modified snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm
Binary file not shown.
64 changes: 0 additions & 64 deletions snapshots/master/demos/printerdemo_old/index.html

This file was deleted.

19 changes: 0 additions & 19 deletions snapshots/master/demos/printerdemo_old/pkg/package.json

This file was deleted.

47 changes: 0 additions & 47 deletions snapshots/master/demos/printerdemo_old/pkg/printerdemo_old.d.ts

This file was deleted.

Loading

0 comments on commit 88f109a

Please sign in to comment.