symbol-db: project's progress bar fixed.
[anjuta.git] / libanjuta / e-splash.h
blob53d831830b319e5373e573151e2f75f8dc6ca9ad
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* e-splash.h
4 * Copyright (C) 2000 Helix Code, Inc.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
21 * Author: Ettore Perazzoli
24 #ifndef _E_SPLASH_H_
25 #define _E_SPLASH_H_
27 #include <gdk-pixbuf/gdk-pixbuf.h>
28 #include <gtk/gtk.h>
30 G_BEGIN_DECLS
32 #define E_TYPE_SPLASH (e_splash_get_type ())
33 #define E_SPLASH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_SPLASH, ESplash))
34 #define E_SPLASH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_SPLASH, ESplashClass))
35 #define E_IS_SPLASH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_SPLASH))
36 #define E_IS_SPLASH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_SPLASH))
38 typedef struct _ESplash ESplash;
39 typedef struct _ESplashPrivate ESplashPrivate;
40 typedef struct _ESplashClass ESplashClass;
42 struct _ESplash {
43 GtkWindow parent;
45 ESplashPrivate *priv;
48 struct _ESplashClass {
49 GtkWindowClass parent_class;
52 GType e_splash_get_type (void);
53 void e_splash_construct (ESplash *splash,
54 GdkPixbuf *splash_image_pixbuf,
55 gint progressbar_position);
56 GtkWidget *e_splash_new (const char *image_file,
57 gint progressbar_position);
59 void e_splash_set (ESplash *splash,
60 GdkPixbuf *icon_pixbuf,
61 const gchar *title,
62 const gchar *desc,
63 gfloat progress_percentage);
65 G_END_DECLS
67 #endif /* _E_SPLASH_H_ */