NetSurf
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "utils/log.h"
#include "beos/throbber.h"
#include "beos/bitmap.h"
#include "beos/fetch_rsrc.h"
#include <File.h>
#include <Resources.h>
#include <TranslationUtils.h>
Go to the source code of this file.
Macros | |
#define | __STDBOOL_H__ 1 |
Functions | |
bool | nsbeos_throbber_initialise_from_png (const int frames,...) |
Creates the throbber using a PNG for each frame. More... | |
void | nsbeos_throbber_finalise (void) |
Variables | |
struct nsbeos_throbber * | nsbeos_throbber = NULL |
#define __STDBOOL_H__ 1 |
Definition at line 19 of file throbber.cpp.
void nsbeos_throbber_finalise | ( | void | ) |
Definition at line 113 of file throbber.cpp.
References nsbeos_throbber::framedata, and nsbeos_throbber::nframes.
bool nsbeos_throbber_initialise_from_png | ( | const int | frames, |
... | |||
) |
Creates the throbber using a PNG for each frame.
The number of frames must be at least two. The first frame is the inactive frame, others are the active frames.
frames | The number of frames. Must be at least two. |
... | Filenames of PNGs containing frames. |
< structure we generate
< true if a frame failed
Definition at line 45 of file throbber.cpp.
References nsbeos_throbber::framedata, get_app_resources(), nsbeos_throbber::nframes, and NSLOG.
Referenced by gui_init().
struct nsbeos_throbber* nsbeos_throbber = NULL |
Definition at line 34 of file throbber.cpp.