mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-11 07:13:30 -07:00
add EFF logo as an option
This commit is contained in:
@@ -136,6 +136,8 @@ async fn update_ui(task_tracker: &TaskTracker, config: &config::Config, mut ui_
|
||||
let img;
|
||||
if display_level == 2 {
|
||||
img = IMAGE_DIR.get_file("orca.gif").unwrap().contents();
|
||||
} else if display_level == 3{
|
||||
img = IMAGE_DIR.get_file("eff.png").unwrap().contents();
|
||||
} else {
|
||||
img = &[];
|
||||
}
|
||||
@@ -156,6 +158,9 @@ async fn update_ui(task_tracker: &TaskTracker, config: &config::Config, mut ui_
|
||||
2 => {
|
||||
fb.draw_gif(img);
|
||||
},
|
||||
3 => {
|
||||
fb.draw_img(img)
|
||||
}
|
||||
128 => {
|
||||
fb.draw_line(framebuffer::Color565::Cyan, 128);
|
||||
fb.draw_line(framebuffer::Color565::Pink, 102);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 88 KiB |
Vendored
+1
@@ -6,4 +6,5 @@ readonly_mode = false
|
||||
# 0 = invisible mode, no indicator that rayhunter is running
|
||||
# 1 = Subtle mode, display a green line at the top of the screen when rayhunter is running
|
||||
# 2 = Demo Mode, display a fun orca gif
|
||||
# 3 = display the EFF logo
|
||||
ui_level = 1
|
||||
|
||||
Reference in New Issue
Block a user