diff options
author | 2022-06-07 05:24:43 +0200 | |
---|---|---|
committer | 2022-06-07 05:24:43 +0200 | |
commit | fc13bb3d65c85cfad9f231c0776d3a45f4fbf480 (patch) | |
tree | 224bbe489cc8e90ab0824c2b745403958667077a /examples/solar_system | |
parent | f92afa795062cf38f0f99d0a1545a990ed35b09c (diff) | |
download | iced-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.rs | 1 |
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> { |