NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
window.h
Go to the documentation of this file.
1
22
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
30
struct
MuttWindow
;
31
32
struct
MuttWindow
*
progress_window_new
(
size_t
size
,
size_t
size_inc,
size_t
time_inc,
bool
is_bytes);
33
void
progress_window_set_message
(
struct
MuttWindow
*win,
const
char
*fmt, va_list ap);
34
void
progress_window_set_size
(
struct
MuttWindow
*win,
size_t
size
);
35
bool
progress_window_update
(
struct
MuttWindow
*win,
size_t
pos,
int
percent);
36
37
#endif
/* MUTT_PROGRESS_WINDOW_H */
MuttWindow
Definition
mutt_window.h:129
MuttWindow::size
enum MuttWindowSize size
Type of Window, e.g. MUTT_WIN_SIZE_FIXED.
Definition
mutt_window.h:137
progress_window_set_size
void progress_window_set_size(struct MuttWindow *win, size_t size)
Set the progress size.
Definition
window.c:372
progress_window_update
bool progress_window_update(struct MuttWindow *win, size_t pos, int percent)
Update the Progress Bar Window.
Definition
window.c:279
progress_window_set_message
void progress_window_set_message(struct MuttWindow *win, const char *fmt, va_list ap)
Set the progress message.
Definition
window.c:355
progress_window_new
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:316