NetSurf
|
Go to the source code of this file.
Functions | |
nserror | nsgtk_throbber_init (void) |
Initialise global throbber context. More... | |
void | nsgtk_throbber_finalise (void) |
release global throbber context More... | |
nserror | nsgtk_throbber_get_frame (int frame, GdkPixbuf **pixbuf) |
get the pixbuf of a given frame of the throbber More... | |
void nsgtk_throbber_finalise | ( | void | ) |
release global throbber context
Definition at line 88 of file throbber.c.
References nsgtk_throbber::framedata, and nsgtk_throbber::nframes.
nserror nsgtk_throbber_get_frame | ( | int | frame, |
GdkPixbuf ** | pixbuf | ||
) |
get the pixbuf of a given frame of the throbber
frame | The frame number starting at 0 for stopped frame |
pixbuf | updated on success |
Definition at line 103 of file throbber.c.
References nsgtk_throbber::framedata, nsgtk_throbber::nframes, NSERROR_BAD_SIZE, NSERROR_INVALID, NSERROR_OK, and nsgtk_throbber_init().
Referenced by make_toolbar_item_throbber(), next_throbber_frame(), and set_throbber_frame().
nserror nsgtk_throbber_init | ( | void | ) |
Initialise global throbber context.
Definition at line 46 of file throbber.c.
References nsgtk_throbber::framedata, nsgtk_throbber::nframes, NSERROR_INIT_FAILED, NSERROR_NOMEM, NSERROR_OK, nsgdk_pixbuf_new_from_resname(), NSLOG, THROBBER_FMT, and THROBBER_FRAMES.
Referenced by nsgtk_setup(), and nsgtk_throbber_get_frame().