diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-01-21 17:02:00 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-01-21 17:02:00 +0100 |
| commit | b9b32972afda261020dd207b4ea2b44b7b697b83 (patch) | |
| tree | dba426aabaa569952e2aa0dda0f5e1e836bae55f /src/ui/mod.rs | |
| parent | 53a48a778af34bd25963881539e6f66f47dc5580 (diff) | |
add multiple functions to canvas
Diffstat (limited to 'src/ui/mod.rs')
| -rw-r--r-- | src/ui/mod.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/mod.rs b/src/ui/mod.rs index b7c11fb..9ea4662 100644 --- a/src/ui/mod.rs +++ b/src/ui/mod.rs @@ -5,8 +5,10 @@ pub mod pane; #[derive(Debug, Clone)] pub enum Message { - InputChanged(String), - UpdateFunction, - UpdateScreen, + InputChanged(String, usize), + AddFunction, + RemoveFunction(usize), + UpdateFunction(usize), + RefreshGraphCanvas, Resized(ResizeEvent) } |