hildon-pixbuf-anim-blinker.h

00001 /*
00002  * This file is part of maemo-af-desktop
00003  *
00004  * Copyright (C) 2005 Nokia Corporation.
00005  *
00006  * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public License
00010  * as published by the Free Software Foundation; either version 2.1 of
00011  * the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00021  * 02110-1301 USA
00022  *
00023  */
00024 
00025 /* 
00026  * Simple blinking pixbuf animation class. 
00027  *   Authored by Chris Lord <chris@o-hand.com> 
00028  *               Matthew Allum <mallum@o-hand.com>
00029  */
00030 
00031 #ifndef HILDON_PIXBUF_ANIM_BLINKER_H
00032 #define HILDON_PIXBUF_ANIM_BLINKER_H
00033 
00034 #include <gdk-pixbuf/gdk-pixbuf.h>
00035 
00036 G_BEGIN_DECLS
00037 
00038 typedef struct _HildonPixbufAnimBlinker HildonPixbufAnimBlinker;
00039 typedef struct _HildonPixbufAnimBlinkerClass HildonPixbufAnimBlinkerClass;
00040 
00041 #define TYPE_HILDON_PIXBUF_ANIM_BLINKER              (hildon_pixbuf_anim_blinker_get_type ())
00042 #define HILDON_PIXBUF_ANIM_BLINKER(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), TYPE_HILDON_PIXBUF_ANIM_BLINKER, HildonPixbufAnimBlinker))
00043 #define IS_HILDON_PIXBUF_ANIM_BLINKER(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), TYPE_HILDON_PIXBUF_ANIM_BLINKER))
00044 
00045 #define HILDON_PIXBUF_ANIM_BLINKER_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_HILDON_PIXBUF_ANIM_BLINKER, HildonPixbufAnimBlinkerClass))
00046 #define IS_HILDON_PIXBUF_ANIM_BLINKER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_HILDON_PIXBUF_ANIM_BLINKER))
00047 #define HILDON_PIXBUF_ANIM_BLINKER_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_HILDON_PIXBUF_ANIM_BLINKER, HildonPixbufAnimBlinkerClass))
00048 
00049 GType hildon_pixbuf_anim_blinker_get_type (void) G_GNUC_CONST;
00050 GType hildon_pixbuf_anim_blinker_iter_get_type (void) G_GNUC_CONST;
00051 
00052 HildonPixbufAnimBlinker *hildon_pixbuf_anim_blinker_new (GdkPixbuf *pixbuf, 
00053                              gint       period,
00054                              gint       length,
00055                              gint       frequency);
00056 
00057 void
00058 hildon_pixbuf_anim_blinker_stop (HildonPixbufAnimBlinker *anim);
00059 
00060 void
00061 hildon_pixbuf_anim_blinker_restart (HildonPixbufAnimBlinker *anim);
00062 
00063 G_END_DECLS
00064 
00065 #endif
00066 

Generated on Fri Jun 9 16:23:07 2006 for maemo-af-desktop-documentation by  doxygen 1.4.6