1
/* tidy-texture-frame.h: Expandible texture actor
3
* Copyright (C) 2007 OpenedHand
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
* Boston, MA 02111-1307, USA.
21
#ifndef _HAVE_TIDY_TEXTURE_FRAME_H
22
#define _HAVE_TIDY_TEXTURE_FRAME_H
24
#include <clutter/clutter.h>
28
#define TIDY_TYPE_TEXTURE_FRAME (tidy_texture_frame_get_type ())
30
#define TIDY_TEXTURE_FRAME(obj) \
31
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
32
TIDY_TYPE_TEXTURE_FRAME, TidyTextureFrame))
34
#define TIDY_TEXTURE_FRAME_CLASS(klass) \
35
(G_TYPE_CHECK_CLASS_CAST ((klass), \
36
TIDY_TYPE_TEXTURE_FRAME, TidyTextureFrameClass))
38
#define TIDY_IS_TEXTURE_FRAME(obj) \
39
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
40
TIDY_TYPE_TEXTURE_FRAME))
42
#define TIDY_IS_TEXTURE_FRAME_CLASS(klass) \
43
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
44
TIDY_TYPE_TEXTURE_FRAME))
46
#define TIDY_TEXTURE_FRAME_GET_CLASS(obj) \
47
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
48
TIDY_TYPE_TEXTURE_FRAME, TidyTextureFrameClass))
50
typedef struct _TidyTextureFrame TidyTextureFrame;
51
typedef struct _TidyTextureFramePrivate TidyTextureFramePrivate;
52
typedef struct _TidyTextureFrameClass TidyTextureFrameClass;
54
struct _TidyTextureFrame
56
ClutterCloneTexture parent;
59
TidyTextureFramePrivate *priv;
62
struct _TidyTextureFrameClass
64
ClutterCloneTextureClass parent_class;
66
/* padding for future expansion */
67
void (*_clutter_box_1) (void);
68
void (*_clutter_box_2) (void);
69
void (*_clutter_box_3) (void);
70
void (*_clutter_box_4) (void);
73
GType tidy_texture_frame_get_type (void) G_GNUC_CONST;
74
ClutterActor *tidy_texture_frame_new (ClutterTexture *texture,
82
#endif /* _HAVE_TIDY_TEXTURE_FRAME_H */