summaryrefslogtreecommitdiffstats
path: root/examples/solar_system
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-06-07 05:24:43 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-06-07 05:24:43 +0200
commitfc13bb3d65c85cfad9f231c0776d3a45f4fbf480 (patch)
tree224bbe489cc8e90ab0824c2b745403958667077a /examples/solar_system
parentf92afa795062cf38f0f99d0a1545a990ed35b09c (diff)
downloadiced-fc13bb3d65c85cfad9f231c0776d3a45f4fbf480.tar.gz
iced-fc13bb3d65c85cfad9f231c0776d3a45f4fbf480.tar.bz2
iced-fc13bb3d65c85cfad9f231c0776d3a45f4fbf480.zip
Implement theme styling for `Canvas`
Diffstat (limited to 'examples/solar_system')
-rw-r--r--examples/solar_system/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index 308c8c39..5f6c309d 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -135,6 +135,7 @@ impl State {
impl<Message> canvas::Program<Message> for State {
fn draw(
&self,
+ _theme: &Theme,
bounds: Rectangle,
_cursor: Cursor,
) -> Vec<canvas::Geometry> {