NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
Progress Bar Window

Progress Bar Window.

Windows

Name Type See Also
Progress Window WT_STATUS_BAR progress_window_new()

Parent

Children

None.

Data

The Progress Bar Window stores its data (ProgressWindowData) in MuttWindow::wdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
MuttWindow::recalc() sb_recalc()
MuttWindow::repaint() sb_repaint()

Functions

Function Description Links
message_bar() Draw a colourful progress bar
percent_needs_update() Do we need to update, given the current percentage?
pos_needs_update() Do we need to update, given the current pos?
progress_window_new() Create a new Progress Bar Window
progress_window_recalc() Recalculate the Progress Bar MuttWindow::recalc(), window_recalc
progress_window_repaint() Repaint the Progress Bar MuttWindow::repaint(), window_repaint
progress_window_update() Update the Progress Bar Window
time_needs_update() Do we need to update, given the current time?