NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
window.h
Go to the documentation of this file.
1
23#ifndef MUTT_PROGRESS_WINDOW_H
24#define MUTT_PROGRESS_WINDOW_H
25
26#include <stdarg.h>
27#include <stdbool.h>
28#include <stddef.h>
29
30struct MuttWindow;
31
32struct MuttWindow *progress_window_new (size_t size, size_t size_inc, size_t time_inc, bool is_bytes);
33void progress_window_set_message(struct MuttWindow *win, const char *fmt, va_list ap);
34void progress_window_set_size (struct MuttWindow *win, size_t size);
35bool progress_window_update (struct MuttWindow *win, size_t pos, int percent);
36
37#endif /* MUTT_PROGRESS_WINDOW_H */
enum MuttWindowSize size
Type of Window, e.g. MUTT_WIN_SIZE_FIXED.
Definition: mutt_window.h:130
void progress_window_set_size(struct MuttWindow *win, size_t size)
Set the progress size.
Definition: window.c:363
bool progress_window_update(struct MuttWindow *win, size_t pos, int percent)
Update the Progress Bar Window.
Definition: window.c:274
void progress_window_set_message(struct MuttWindow *win, const char *fmt, va_list ap)
Set the progress message.
Definition: window.c:346
struct MuttWindow * progress_window_new(size_t size, size_t size_inc, size_t time_inc, bool is_bytes)
Create a new Progress Bar Window.
Definition: window.c:311