23#ifndef _NETSURF_RISCOS_STATUS_BAR_H_
24#define _NETSURF_RISCOS_STATUS_BAR_H_
unsigned int ro_gui_status_bar_get_width(struct status_bar *sb)
Get the proportional width the status bar is currently using.
void ro_gui_status_bar_resize(struct status_bar *sb)
Resize a status bar following a change in the dimensions of the parent window.
void ro_gui_status_bar_set_progress_range(struct status_bar *sb, unsigned int range)
Set the range of the progress bar.
wimp_w ro_gui_status_bar_get_window(struct status_bar *sb)
Get the handle of the window that represents a status bar.
void ro_gui_status_bar_set_text(struct status_bar *sb, const char *text)
Set the text to display in the status bar.
void ro_gui_status_bar_set_progress_icon(struct status_bar *sb, const char *icon)
Set the icon for the progress bar.
void ro_gui_status_bar_set_visible(struct status_bar *pb, bool visible)
Set the visibility status of the status bar.
bool ro_gui_status_bar_get_visible(struct status_bar *sb)
Get the visibility status of the status bar.
struct status_bar * ro_gui_status_bar_create(wimp_w parent, unsigned int width)
Create a new status bar.
void ro_gui_status_bar_set_progress_value(struct status_bar *sb, unsigned int value)
Set the value of the progress bar.
void ro_gui_status_bar_destroy(struct status_bar *sb)
Destroy a status bar and free all associated resources.
bool visible
status bar is visible?
struct progress_bar * pb
progress bar
static nserror text(const struct redraw_context *ctx, const struct plot_font_style *fstyle, int x, int y, const char *text, size_t length)
Text plotting.