From f3d59ae0bfe4548a0c87d56cc251b092fa393940 Mon Sep 17 00:00:00 2001 From: gennyble Date: Sat, 30 Nov 2024 04:40:13 -0600 Subject: Set window title and add image todo --- TODO.md | 9 ++++++++- src/main.rs | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 9f4ea70..1e991cb 100644 --- a/TODO.md +++ b/TODO.md @@ -7,4 +7,11 @@ Keyboard Input you would sort of pulse down the keys to imitate a spin. the timing between the presses, your acceleration per se, would determine how fast the line is being drawn. a-f is to the right and f-a is to the - left. j-; is up, ;-j is down. \ No newline at end of file + left. j-; is up, ;-j is down. + +Images save as GIF and PNG + gif can have a palette of 4 and so can the png. The png might be able + to have a depth of 2-bits per pixel which is exciting. + + images should be saved in the underlying resolution and not be dpi + scaled. images should not include the stylus. \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index c6563f1..c1bb344 100644 --- a/src/main.rs +++ b/src/main.rs @@ -126,6 +126,7 @@ const STYLUS_COLOUR: u32 = 0x00a0a0a0; impl ApplicationHandler for Etch { fn resumed(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { let window = Rc::new(event_loop.create_window(Window::default_attributes()).unwrap()); + window.set_title("that really etches my sketch"); window.set_resizable(false); window.request_inner_size(LogicalSize::new(WIDTH, HEIGHT)); -- cgit 1.4.1-3-g733a5