23#ifndef _NETSURF_RISCOS_PROGRESS_BAR_H_
24#define _NETSURF_RISCOS_PROGRESS_BAR_H_
27#include "oslib/osspriteop.h"
28#include "oslib/wimp.h"
void ro_gui_progress_bar_set_icon(struct progress_bar *pb, const char *icon)
Set the icon for a progress bar.
unsigned int ro_gui_progress_bar_get_range(struct progress_bar *pb)
Get the range of a progress bar.
unsigned int ro_gui_progress_bar_get_value(struct progress_bar *pb)
Get the value of a progress bar.
void ro_gui_progress_bar_update(struct progress_bar *pb, int width, int height)
Update the progress bar to a new dimension.
void ro_gui_progress_bar_set_value(struct progress_bar *pb, unsigned int value)
Set the value of a progress bar.
void ro_gui_progress_bar_destroy(struct progress_bar *pb)
Destroy a progress bar and free all associated resources.
wimp_w ro_gui_progress_bar_get_window(struct progress_bar *pb)
Get the handle of the window that represents a progress bar.
struct progress_bar * ro_gui_progress_bar_create(void)
Create a new progress bar.
void ro_gui_progress_bar_set_range(struct progress_bar *pb, unsigned int range)
Set the range of a progress bar.
void ro_gui_progress_bar_init(osspriteop_area *icons)
Initialise the progress bar.
char icon[13]
current icon
unsigned int value
progress bar value
unsigned int range
progress bar range