Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdk-pixbuf-simple-anim.h
Go to the documentation of this file.
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2/* GdkPixbuf library - Simple frame-based animations
3 *
4 * Copyright (C) 2004 Dom Lachowicz
5 *
6 * Authors: Dom Lachowicz <cinamod@hotmail.com>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
20 */
21
22#ifndef GDK_PIXBUF_SIMPLE_ANIM_H
23#define GDK_PIXBUF_SIMPLE_ANIM_H
24
25#if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
26#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
27#endif
28
30
32
33/**
34 * GdkPixbufSimpleAnim:
35 *
36 * An opaque struct representing a simple animation.
37 */
38typedef struct _GdkPixbufSimpleAnim GdkPixbufSimpleAnim;
39typedef struct _GdkPixbufSimpleAnimClass GdkPixbufSimpleAnimClass;
40
41#define GDK_TYPE_PIXBUF_SIMPLE_ANIM (gdk_pixbuf_simple_anim_get_type ())
42#define GDK_PIXBUF_SIMPLE_ANIM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnim))
43#define GDK_IS_PIXBUF_SIMPLE_ANIM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF_SIMPLE_ANIM))
44
45#define GDK_PIXBUF_SIMPLE_ANIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnimClass))
46#define GDK_IS_PIXBUF_SIMPLE_ANIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_PIXBUF_SIMPLE_ANIM))
47#define GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnimClass))
48
53
56 gint height,
57 gfloat rate);
60 GdkPixbuf *pixbuf);
63 gboolean loop);
66
68
69
70#endif /* GDK_PIXBUF_SIMPLE_ANIM_H */
struct _GdkPixbuf GdkPixbuf
#define GDK_PIXBUF_AVAILABLE_IN_2_8
#define GDK_PIXBUF_AVAILABLE_IN_ALL
typedefG_BEGIN_DECLS struct _GdkPixbufSimpleAnim GdkPixbufSimpleAnim
GDK_PIXBUF_AVAILABLE_IN_2_8 void gdk_pixbuf_simple_anim_add_frame(GdkPixbufSimpleAnim *animation, GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_ALL GType gdk_pixbuf_simple_anim_iter_get_type(void) G_GNUC_CONST
GDK_PIXBUF_AVAILABLE_IN_ALL GType gdk_pixbuf_simple_anim_get_type(void) G_GNUC_CONST
struct _GdkPixbufSimpleAnimClass GdkPixbufSimpleAnimClass
GDK_PIXBUF_AVAILABLE_IN_ALL gboolean gdk_pixbuf_simple_anim_get_loop(GdkPixbufSimpleAnim *animation)
GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_simple_anim_set_loop(GdkPixbufSimpleAnim *animation, gboolean loop)
GDK_PIXBUF_AVAILABLE_IN_2_8 GdkPixbufSimpleAnim * gdk_pixbuf_simple_anim_new(gint width, gint height, gfloat rate)
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
float gfloat
Definition gtypes.h:63
int gint
Definition gtypes.h:55