aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mod.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-01-20 22:37:48 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2024-01-20 22:37:48 +0100
commit24ebe795e0ebf9dfc3cf2fafa609d8dc573a80a6 (patch)
tree3e63187af686279e91d8e2686374b9e63d640d44 /src/ui/mod.rs
parentc5ab96ffc8e0ffa97b1bd7e72894ea39433b053f (diff)
make zooming and scrolling with translate and scale of canvas
Diffstat (limited to 'src/ui/mod.rs')
-rw-r--r--src/ui/mod.rs8
1 files changed, 8 insertions, 0 deletions
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,
+}