55 const short *incs[] = { &c_read_inc, &c_write_inc, &c_net_inc };
103 if (win_pop != *wptr)
141 return (
struct Progress *) win;
short cs_subset_number(const struct ConfigSubset *sub, const char *name)
Get a number config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
bool OptNoCurses
(pseudo) when sending in batch mode
#define mutt_message(...)
Convenience wrapper for the gui headers.
#define mutt_array_size(x)
void msgcont_push_window(struct MuttWindow *win)
Add a window to the Container Stack.
struct MuttWindow * msgcont_pop_window(void)
Remove the last Window from the Container Stack.
Convenience wrapper for the library headers.
void mutt_clear_error(void)
Clear the message line (bottom line of screen)
void window_redraw(struct MuttWindow *win)
Reflow, recalc and repaint a tree of Windows.
void mutt_window_free(struct MuttWindow **ptr)
Free a Window and its children.
ProgressType
What kind of operation is this progress tracking?
@ MUTT_PROGRESS_NET
Progress tracks bytes, according to $net_inc
struct MuttWindow * progress_window_new(const char *msg, size_t size, size_t size_inc, size_t time_inc, bool is_bytes)
Create a new Progress Bar Window.
bool progress_window_update(struct MuttWindow *win, size_t pos, int percent)
Update the Progress Bar Window.
void progress_free(struct Progress **ptr)
Free a Progress Bar.
static size_t choose_increment(enum ProgressType type)
Choose the right increment given a ProgressType.
bool progress_update(struct Progress *progress, size_t pos, int percent)
Update the state of the progress bar.
struct Progress * progress_new(const char *msg, enum ProgressType type, size_t size)
Create a new Progress Bar.
enum MuttWindowSize size
Type of Window, e.g. MUTT_WIN_SIZE_FIXED.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.