diff options
| author | Arne Dußin | 2020-11-06 00:53:46 +0100 |
|---|---|---|
| committer | Arne Dußin | 2020-11-06 00:53:46 +0100 |
| commit | 625d00bb0e9a374e7ecf4b91fde599307199f3b6 (patch) | |
| tree | 3dfdcc544c5b29f1f49d09a374d129bd825ade56 /src/main.rs | |
| parent | 6d5db404416b93d22438efd45c7df7be2cc67d11 (diff) | |
| download | graf_karto-625d00bb0e9a374e7ecf4b91fde599307199f3b6.tar.gz graf_karto-625d00bb0e9a374e7ecf4b91fde599307199f3b6.zip | |
Add icon tool
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index a598ebe..a72b172 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,14 +8,13 @@ pub mod transform; use editor::Editor; use raylib::prelude::*; -use svg::DrawSVG; use transform::Transform; fn main() { let (mut rl, thread) = raylib::init().resizable().title("Hello there!").build(); rl.set_target_fps(120); - let mut editor = Editor::new(); + let mut editor = Editor::new(&mut rl, &thread); let mut transform = Transform::new(); let mut last_mouse_pos = rl.get_mouse_position(); |
