Skip to content
Newer
Older
100644 63 lines (49 sloc) 1.52 KB
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
1 #ifndef _HAVE_WOOHAA_BUSY_H
2 #define _HAVE_WOOHAA_BUSY_H
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
3
4 #include <clutter/clutter.h>
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
5 #include <glib-object.h>
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
6
7 G_BEGIN_DECLS
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
8 #define WOOHAA_TYPE_BUSY woohaa_busy_get_type()
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
9
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
10 #define WOOHAA_BUSY(obj) \
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
11 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
12 WOOHAA_TYPE_BUSY, WoohaaBusy))
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
13
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
14 #define WOOHAA_BUSY_CLASS(klass) \
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
15 (G_TYPE_CHECK_CLASS_CAST ((klass), \
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
16 WOOHAA_TYPE_BUSY, WoohaaBusyClass))
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
17
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
18 #define WOOHAA_IS_BUSY(obj) \
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
19 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
20 WOOHAA_TYPE_BUSY))
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
21
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
22 #define WOOHAA_IS_BUSY_CLASS(klass) \
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
23 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
24 WOOHAA_TYPE_BUSY))
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
25
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
26 #define WOOHAA_BUSY_GET_CLASS(obj) \
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
27 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
28 WOOHAA_TYPE_BUSY, WoohaaBusyClass))
29
30 typedef struct _WoohaaBusy WoohaaBusy;
31 typedef struct _WoohaaBusyClass WoohaaBusyClass;
32 typedef struct _WoohaaBusyPrivate WoohaaBusyPrivate;
33
34 struct _WoohaaBusy
35 {
36 /*< private >*/
37 ClutterActor parent;
38 WoohaaBusyPrivate *priv;
39 };
40
41 struct _WoohaaBusyClass
42 {
43 /*< private >*/
44 ClutterGroupClass parent_class;
45
46 /* Future padding */
47 void (* __reserved1) (void);
48 void (* __reserved2) (void);
49 void (* __reserved3) (void);
50 void (* __reserved4) (void);
51 void (* __reserved5) (void);
52 void (* __reserved6) (void);
53 };
54
55 GType woohaa_busy_get_type (void) G_GNUC_CONST;
56 ClutterActor *woohaa_busy_new (void);
57 void woohaa_busy_fade_out (WoohaaBusy *busy, gint timeout);
58 void woohaa_busy_fade_in (WoohaaBusy *busy, gint timeout);
59 void woohaa_busy_bounce (WoohaaBusy *busy);
c175914 2007-03-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum authored Mar 18, 2007
60 G_END_DECLS
61
6ff283b @rustylynch * Porting Woohaa to clutter-0.8
rustylynch authored Oct 30, 2008
62 #endif
Something went wrong with that request. Please try again.