2
* Copyright (c) 2003 Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions
9
* 1. Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
* 2. Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in the
13
* documentation and/or other materials provided with the distribution.
15
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
#ifndef __XFSM_SPLASH_SCREEN_H__
28
#define __XFSM_SPLASH_SCREEN_H__
34
#define XFSM_SPLASH_SCREEN(obj) \
35
G_TYPE_CHECK_INSTANCE_CAST(obj, xfsm_splash_screen_get_type(), \
37
#define XFSM_SPLASH_SCREEN_CLASS(klass) \
38
G_TYPE_CHECK_CLASS_CAST(klass, xfsm_splash_screen_get_type(), \
39
XfsmSplashScreenClass)
40
#define XFSM_IS_SPLASH_SCREEN(obj) \
41
G_TYPE_CHECK_INSTANCE_TYPE(obj, xfsm_splash_screen_get_type())
43
typedef struct _XfsmSplashScreen XfsmSplashScreen;
44
typedef struct _XfsmSplashScreenClass XfsmSplashScreenClass;
46
struct _XfsmSplashScreenClass
48
GtkWindowClass parent_class;
51
struct _XfsmSplashScreen
57
GtkWidget *progressBar;
59
/* list of logo pictures */
63
guint pictureTimeoutId;
72
extern GType xfsm_splash_screen_get_type(void);
73
extern GtkWidget *xfsm_splash_screen_new(const gchar *, guint,
75
extern void xfsm_splash_screen_set_text(XfsmSplashScreen *,
77
extern void xfsm_splash_screen_launch(XfsmSplashScreen *,
82
#endif /* !__XFSM_SPLASH_SCREEN_H__ */