NetSurf
throbber.h
Go to the documentation of this file.
1/*
2 * Copyright 2008 François Revol <mmu_man@users.sourceforge.net>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef __BEOS_THROBBER_H__
20#define __BEOS_THROBBER_H__
21
22#include <Bitmap.h>
23
25{
26 int nframes; /**< Number of frames in the throbber */
27 BBitmap **framedata;
28};
29
30extern struct nsbeos_throbber *nsbeos_throbber;
31
33bool nsbeos_throbber_initialise_from_png(const int frames, ...);
35
36#endif /* __BEOS_THROBBER_H__ */
bool nsbeos_throbber_initialise_from_png(const int frames,...)
Creates the throbber using a PNG for each frame.
Definition: throbber.cpp:45
bool nsbeos_throbber_initialise_from_gif(const char *fn)
void nsbeos_throbber_finalise(void)
Definition: throbber.cpp:113
struct nsbeos_throbber * nsbeos_throbber
Definition: throbber.cpp:34
int nframes
Number of frames in the throbber.
Definition: throbber.h:26
BBitmap ** framedata
Definition: throbber.h:27