Add a bar at the bottom of the window that displays the name of the current file (relative to the current directory). This bar can also display total number of images and any other info you think would be relevant. If it could be styled a little like vim powerline that would be extra awesome, but not required for an initial implementation.
You may want to add whether or not to display the status bar as a boolean to the program struct, and then add key handling to src/program.rsrun function to allow a key, probably T to toggle whether or not to display the bar.
This will require ttf handling, see here for an example. If it is at all possible, it would be cool if an open source ttf file could be included in the binary to avoid having to find the file on disk. Perhaps using the include_bytes! macro. I don't know if this is possible.
Add a bar at the bottom of the window that displays the name of the current file (relative to the current directory). This bar can also display total number of images and any other info you think would be relevant. If it could be styled a little like vim powerline that would be extra awesome, but not required for an initial implementation.
You may want to add whether or not to display the status bar as a boolean to the program struct, and then add key handling to
src/program.rs
run
function to allow a key, probablyT
to toggle whether or not to display the bar.This will require ttf handling, see here for an example. If it is at all possible, it would be cool if an open source ttf file could be included in the binary to avoid having to find the file on disk. Perhaps using the
include_bytes!
macro. I don't know if this is possible.