NetSurf
Data Structures | Functions | Variables
throbber.h File Reference
#include <Bitmap.h>
Include dependency graph for throbber.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nsbeos_throbber
 

Functions

bool nsbeos_throbber_initialise_from_gif (const char *fn)
 
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_throbbernsbeos_throbber
 

Function Documentation

◆ nsbeos_throbber_finalise()

void nsbeos_throbber_finalise ( void  )

Definition at line 113 of file throbber.cpp.

References nsbeos_throbber::framedata, and nsbeos_throbber::nframes.

◆ nsbeos_throbber_initialise_from_gif()

bool nsbeos_throbber_initialise_from_gif ( const char *  fn)

◆ nsbeos_throbber_initialise_from_png()

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.

Parameters
framesThe number of frames. Must be at least two.
...Filenames of PNGs containing frames.
Returns
true on success.

< 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().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ nsbeos_throbber

Definition at line 34 of file throbber.cpp.