From 24ebe795e0ebf9dfc3cf2fafa609d8dc573a80a6 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 20 Jan 2024 22:37:48 +0100 Subject: make zooming and scrolling with translate and scale of canvas --- src/ui/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/ui/mod.rs (limited to 'src/ui/mod.rs') diff --git a/src/ui/mod.rs b/src/ui/mod.rs new file mode 100644 index 0000000..1e7fffe --- /dev/null +++ b/src/ui/mod.rs @@ -0,0 +1,8 @@ +pub mod graph; + +#[derive(Debug, Clone)] +pub enum Message { + InputChanged(String), + UpdateFunction, + UpdateScreen, +} -- cgit v1.2.3-70-g09d2