Main Page | Directories | File List | File Members

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  * version 2.1 as published by the Free Software Foundation.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00020  * 02110-1301 USA
00021  *
00022  */
00023 
00024 /* 
00025  * Simple blinking pixbuf animation class. 
00026  *   Authored by Chris Lord <chris@o-hand.com> 
00027  *               Matthew Allum <mallum@o-hand.com>
00028  */
00029 
00030 #ifndef HILDON_PIXBUF_ANIM_BLINKER_H
00031 #define HILDON_PIXBUF_ANIM_BLINKER_H
00032 
00033 #include <gdk-pixbuf/gdk-pixbuf.h>
00034 
00035 G_BEGIN_DECLS
00036 
00037 typedef struct _HildonPixbufAnimBlinker HildonPixbufAnimBlinker;
00038 typedef struct _HildonPixbufAnimBlinkerClass HildonPixbufAnimBlinkerClass;
00039 
00040 #define TYPE_HILDON_PIXBUF_ANIM_BLINKER              (hildon_pixbuf_anim_blinker_get_type ())
00041 #define HILDON_PIXBUF_ANIM_BLINKER(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), TYPE_HILDON_PIXBUF_ANIM_BLINKER, HildonPixbufAnimBlinker))
00042 #define IS_HILDON_PIXBUF_ANIM_BLINKER(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), TYPE_HILDON_PIXBUF_ANIM_BLINKER))
00043 
00044 #define HILDON_PIXBUF_ANIM_BLINKER_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_HILDON_PIXBUF_ANIM_BLINKER, HildonPixbufAnimBlinkerClass))
00045 #define IS_HILDON_PIXBUF_ANIM_BLINKER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_HILDON_PIXBUF_ANIM_BLINKER))
00046 #define HILDON_PIXBUF_ANIM_BLINKER_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_HILDON_PIXBUF_ANIM_BLINKER, HildonPixbufAnimBlinkerClass))
00047 
00048 GType hildon_pixbuf_anim_blinker_get_type (void) G_GNUC_CONST;
00049 GType hildon_pixbuf_anim_blinker_iter_get_type (void) G_GNUC_CONST;
00050 
00051 GdkPixbufAnimation *hildon_pixbuf_anim_blinker_new (GdkPixbuf *pixbuf, 
00052                             gint       period,
00053                             gint       length,
00054                             gint       frequency);
00055 
00056 void
00057 hildon_pixbuf_anim_blinker_stop (HildonPixbufAnimBlinker *anim);
00058 
00059 void
00060 hildon_pixbuf_anim_blinker_restart (HildonPixbufAnimBlinker *anim);
00061 
00062 G_END_DECLS
00063 
00064 #endif
00065 

Generated on Thu Dec 21 11:26:51 2006 for maemo-af-desktop-documentation by  doxygen 1.4.2