Skip to content

Commit

Permalink
deploy: d124802
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Sep 19, 2024
1 parent eaaa79f commit 756d682
Show file tree
Hide file tree
Showing 10 changed files with 980 additions and 941 deletions.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 0 additions & 2 deletions css/chrome.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* CSS for UI elements (a.k.a. chrome) */

@import 'variables.css';

html {
scrollbar-color: var(--scrollbar) var(--bg);
}
Expand Down
2 changes: 0 additions & 2 deletions css/general.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* Base styles and content styles */

@import 'variables.css';

:root {
/* Browser default font-size is 16px, this way 1 rem = 10px */
font-size: 62.5%;
Expand Down
1 change: 1 addition & 0 deletions highlight.js

Large diffs are not rendered by default.

14 changes: 2 additions & 12 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -541,17 +541,7 @@ <h3 id="the-view"><a class="header" href="#the-view">The View</a></h3>
side effects; we can move things around in our view logic without worrying about breaking other stuff. No spooky
action at a distance!</p>
<p>And that’s all there is to our counter interface. I am sure you can’t wait to <strong>run</strong> it. Shall we?</p>
<div style="break-before: page; page-break-before: always;"></div><blockquote>
<p>This chapter documents <a href="https://github.com/iced-rs/iced/tree/cdb18e610a72b4a025d7e1890140393adee5b087">a revision of iced</a> not yet officially released. If you enjoy living on the edge,
you can directly rely on this revision in your <code>Cargo.toml</code>:</p>
<pre><code class="language-toml">[dependencies.iced]
git = "https://github.com/iced-rs/iced.git"
rev = "cdb18e610a72b4a025d7e1890140393adee5b087"
</code></pre>
<p>If, on the other hand, you only want to quickly run the counter we just wrote using the latest release
(boring!), check out <a href="https://github.com/iced-rs/iced/blob/0.12/examples/counter/src/main.rs">the <code>counter</code> example in the repository</a> and the API reference of <a href="https://docs.rs/iced/latest/iced/trait.Sandbox.html">the <code>Sandbox</code> trait</a>.</p>
</blockquote>
<h1 id="the-runtime"><a class="header" href="#the-runtime">The Runtime</a></h1>
<div style="break-before: page; page-break-before: always;"></div><h1 id="the-runtime"><a class="header" href="#the-runtime">The Runtime</a></h1>
<p>In the previous chapter we built the classical counter interface using iced and The Elm Architecture. We focused on each
fundamental part—one at a time: <strong>state</strong>, <strong>messages</strong>, <strong>update logic</strong>, and <strong>view logic</strong>.</p>
<p>But now what? Yes, we have all the fundamental parts of a user interface—as we learned during
Expand Down Expand Up @@ -779,7 +769,7 @@ <h2 id="the-ice-wizard"><a class="header" href="#the-ice-wizard">The Ice Wizard<
}
</script>
<script type="module" id="iceberg-0">
embed(document.getElementById("iceberg-0"), "3215bc704965eaeb1e80449d6fc8acdaf9e9a7197964a66780ab1d58dbddaa61", "100px");
embed(document.getElementById("iceberg-0"), "55288b479ffed7c5afc0902c91faa1812555df2c747f4c091f1e2dca985faa", "100px");
</script>
<p>We just give our application a <em>cool</em> title and then provide the <strong>update logic</strong> and <strong>view logic</strong> to
the <strong>runtime</strong>—which then figures out the rest!</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

14 changes: 2 additions & 12 deletions the-runtime.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,7 @@ <h1 class="menu-title">iced — A Cross-Platform GUI Library for Rust</h1>

<div id="content" class="content">
<main>
<blockquote>
<p>This chapter documents <a href="https://github.com/iced-rs/iced/tree/cdb18e610a72b4a025d7e1890140393adee5b087">a revision of iced</a> not yet officially released. If you enjoy living on the edge,
you can directly rely on this revision in your <code>Cargo.toml</code>:</p>
<pre><code class="language-toml">[dependencies.iced]
git = "https://github.com/iced-rs/iced.git"
rev = "cdb18e610a72b4a025d7e1890140393adee5b087"
</code></pre>
<p>If, on the other hand, you only want to quickly run the counter we just wrote using the latest release
(boring!), check out <a href="https://github.com/iced-rs/iced/blob/0.12/examples/counter/src/main.rs">the <code>counter</code> example in the repository</a> and the API reference of <a href="https://docs.rs/iced/latest/iced/trait.Sandbox.html">the <code>Sandbox</code> trait</a>.</p>
</blockquote>
<h1 id="the-runtime"><a class="header" href="#the-runtime">The Runtime</a></h1>
<h1 id="the-runtime"><a class="header" href="#the-runtime">The Runtime</a></h1>
<p>In the previous chapter we built the classical counter interface using iced and The Elm Architecture. We focused on each
fundamental part—one at a time: <strong>state</strong>, <strong>messages</strong>, <strong>update logic</strong>, and <strong>view logic</strong>.</p>
<p>But now what? Yes, we have all the fundamental parts of a user interface—as we learned during
Expand Down Expand Up @@ -416,7 +406,7 @@ <h2 id="the-ice-wizard"><a class="header" href="#the-ice-wizard">The Ice Wizard<
}
</script>
<script type="module" id="iceberg-0">
embed(document.getElementById("iceberg-0"), "3215bc704965eaeb1e80449d6fc8acdaf9e9a7197964a66780ab1d58dbddaa61", "100px");
embed(document.getElementById("iceberg-0"), "55288b479ffed7c5afc0902c91faa1812555df2c747f4c091f1e2dca985faa", "100px");
</script>
<p>We just give our application a <em>cool</em> title and then provide the <strong>update logic</strong> and <strong>view logic</strong> to
the <strong>runtime</strong>—which then figures out the rest!</p>
Expand Down

0 comments on commit 756d682

Please sign in to comment.