comparison Plugins/Visualization/paranormal/pn/pnflip.h @ 1507:0c5fdcf3f947 trunk

[svn] - incomplete stuff
author nenolod
date Sun, 06 Aug 2006 01:53:29 -0700
parents
children
comparison
equal deleted inserted replaced
1506:2a8e193c07a6 1507:0c5fdcf3f947
1 /* Paranormal - A highly customizable audio visualization library
2 * Copyright (C) 2001 Jamie Gennis <jgennis@mindspring.com>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the Free
16 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 */
18
19 #ifndef __PN_FLIP_H__
20 #define __PN_FLIP_H__
21
22 #include "pnactuator.h"
23 #include "pnscript.h"
24 #include "pnsymboltable.h"
25
26
27 G_BEGIN_DECLS
28
29 enum
30 {
31 PN_FLIP_OPT_BLEND = PN_ACTUATOR_OPT_LAST,
32 PN_FLIP_OPT_DIRECTION,
33 PN_FLIP_OPT_LAST
34 };
35
36 #define PN_TYPE_FLIP (pn_flip_get_type ())
37 #define PN_FLIP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PN_TYPE_FLIP, PnFlip))
38 #define PN_FLIP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), PN_TYPE_FLIP, PnFlipClass))
39 #define PN_IS_FLIP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PN_TYPE_FLIP))
40 #define PN_IS_FLIP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), PN_TYPE_FLIP))
41 #define PN_FLIP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PN_TYPE_FLIP, PnFlipClass))
42
43 typedef struct _PnPixelFlip PnPixelFlip;
44 typedef struct _PnFlip PnFlip;
45 typedef struct _PnFlipClass PnFlipClass;
46
47 struct _PnFlip
48 {
49 PnActuator parent;
50 };
51
52 struct _PnFlipClass
53 {
54 PnActuatorClass parent_class;
55 };
56
57 /* Creators */
58 GType pn_flip_get_type (void);
59 PnFlip *pn_flip_new (void);
60
61 #endif /* __PN_FLIP_H__ */