NetSurf
frontends
beos
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
24
struct
nsbeos_throbber
25
{
26
int
nframes
;
/**< Number of frames in the throbber */
27
BBitmap **
framedata
;
28
};
29
30
extern
struct
nsbeos_throbber
*
nsbeos_throbber
;
31
32
bool
nsbeos_throbber_initialise_from_gif
(
const
char
*fn);
33
bool
nsbeos_throbber_initialise_from_png
(
const
int
frames, ...);
34
void
nsbeos_throbber_finalise
(
void
);
35
36
#endif
/* __BEOS_THROBBER_H__ */
nsbeos_throbber_initialise_from_png
bool nsbeos_throbber_initialise_from_png(const int frames,...)
Creates the throbber using a PNG for each frame.
Definition:
throbber.cpp:45
nsbeos_throbber_initialise_from_gif
bool nsbeos_throbber_initialise_from_gif(const char *fn)
nsbeos_throbber_finalise
void nsbeos_throbber_finalise(void)
Definition:
throbber.cpp:113
nsbeos_throbber
struct nsbeos_throbber * nsbeos_throbber
Definition:
throbber.cpp:34
nsbeos_throbber
Definition:
throbber.h:25
nsbeos_throbber::nframes
int nframes
Number of frames in the throbber.
Definition:
throbber.h:26
nsbeos_throbber::framedata
BBitmap ** framedata
Definition:
throbber.h:27
Generated on Fri Dec 27 2024 08:42:09 for NetSurf by
1.9.4