The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
progress.c File Reference

idunn: a progress bar: a rounded track in the muted colour, filled from the left in the accent colour, 8 pixels high. More...

#include "idunn_internal.h"
#include <stdlib.h>

Macros

#define HEIGHT   8

Functions

idunn_widget_t * idunn_progress (void)
 a progress bar across its box; value 0 to IDUNN_PROGRESS_MAX
void idunn_progress_set (idunn_widget_t *progress, int32_t value)

Detailed Description

idunn: a progress bar: a rounded track in the muted colour, filled from the left in the accent colour, 8 pixels high.

its box stretches it across.

Macro Definition Documentation

◆ HEIGHT

#define HEIGHT   8

Function Documentation

◆ idunn_progress()

idunn_widget_t * idunn_progress ( void )

a progress bar across its box; value 0 to IDUNN_PROGRESS_MAX

◆ idunn_progress_set()

void idunn_progress_set ( idunn_widget_t * progress,
int32_t value )