mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-27 16:09:58 -07:00
draw_line method added to framebuffer
This commit is contained in:
@@ -146,7 +146,9 @@ async fn update_ui(task_tracker: &TaskTracker, config: &config::Config, mut ui_
|
||||
Err(e) => panic!("error receiving shutdown message: {e}")
|
||||
|
||||
}
|
||||
if img_name.ends_with(".gif"){
|
||||
if img_name == "subtle.png" {
|
||||
fb.draw_line(framebuffer::Color565::Green, 2);
|
||||
} else if img_name.ends_with(".gif"){
|
||||
fb.draw_gif(img.contents());
|
||||
} else {
|
||||
fb.draw_img(img.contents());
|
||||
|
||||
Reference in New Issue
Block a user