mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-03 03:56:32 -04:00
24 lines
692 B
C
24 lines
692 B
C
#ifndef EL__DIALOGS_PROGRESS_H
|
|
#define EL__DIALOGS_PROGRESS_H
|
|
|
|
struct progress;
|
|
struct terminal;
|
|
|
|
unsigned char *
|
|
get_progress_msg(struct progress *progress, struct terminal *term,
|
|
int wide, int full, unsigned char *separator);
|
|
|
|
|
|
unsigned char *
|
|
get_upload_progress_msg(struct progress *progress, struct terminal *term,
|
|
int wide, int full, unsigned char *separator);
|
|
|
|
/* Draws a progress bar meter or progress coloured text depending on whether
|
|
* @text is NULL. If @meter_color is NULL dialog.meter color is used. */
|
|
void
|
|
draw_progress_bar(struct progress *progress, struct terminal *term,
|
|
int x, int y, int width,
|
|
unsigned char *text, struct color_pair *meter_color);
|
|
|
|
#endif
|