| 1 |
/* CALLY - The Clutter Accessibility Implementation Library |
| 2 |
* |
| 3 |
* Copyright (C) 2009 Igalia, S.L. |
| 4 |
* |
| 5 |
* Author: Alejandro PiƱeiro Iglesias <[email protected]> |
| 6 |
* |
| 7 |
* This library is free software; you can redistribute it and/or |
| 8 |
* modify it under the terms of the GNU Lesser General Public |
| 9 |
* License as published by the Free Software Foundation; either |
| 10 |
* version 2 of the License, or (at your option) any later version. |
| 11 |
* |
| 12 |
* This library is distributed in the hope that it will be useful, |
| 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
* Lesser General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU Lesser General Public |
| 18 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
*/ |
| 20 |
|
| 21 |
#ifndef __CALLY_TEXTURE_H__ |
| 22 |
#define __CALLY_TEXTURE_H__ |
| 23 |
|
| 24 |
#if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION) |
| 25 |
#error "Only <cally/cally.h> can be included directly." |
| 26 |
#endif |
| 27 |
|
| 28 |
#include <clutter/clutter.h> |
| 29 |
#include <cally/cally-actor.h> |
| 30 |
|
| 31 |
G_BEGIN_DECLS |
| 32 |
|
| 33 |
#define CALLY_TYPE_TEXTURE (cally_texture_get_type ()) |
| 34 |
#define CALLY_TEXTURE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CALLY_TYPE_TEXTURE, CallyTexture)) |
| 35 |
#define CALLY_TEXTURE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CALLY_TYPE_TEXTURE, CallyTextureClass)) |
| 36 |
#define CALLY_IS_TEXTURE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CALLY_TYPE_TEXTURE)) |
| 37 |
#define CALLY_IS_TEXTURE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CALLY_TYPE_TEXTURE)) |
| 38 |
#define CALLY_TEXTURE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CALLY_TYPE_TEXTURE, CallyTextureClass)) |
| 39 |
|
| 40 |
typedef struct _CallyTexture CallyTexture; |
| 41 |
typedef struct _CallyTextureClass CallyTextureClass; |
| 42 |
typedef struct _CallyTexturePrivate CallyTexturePrivate; |
| 43 |
|
| 44 |
/** |
| 45 |
* CallyTexture: |
| 46 |
* |
| 47 |
* The <structname>CallyTexture</structname> structure contains only |
| 48 |
* private data and should be accessed using the provided API |
| 49 |
* |
| 50 |
* Since: 1.4 |
| 51 |
*/ |
| 52 |
struct _CallyTexture |
| 53 |
{ |
| 54 |
/*< private >*/ |
| 55 |
CallyActor parent; |
| 56 |
|
| 57 |
CallyTexturePrivate *priv; |
| 58 |
}; |
| 59 |
|
| 60 |
/** |
| 61 |
* CallyTextureClass: |
| 62 |
* |
| 63 |
* The <structname>CallyTextureClass</structname> structure contains |
| 64 |
* only private data |
| 65 |
* |
| 66 |
* Since: 1.4 |
| 67 |
*/ |
| 68 |
struct _CallyTextureClass |
| 69 |
{ |
| 70 |
/*< private >*/ |
| 71 |
CallyActorClass parent_class; |
| 72 |
|
| 73 |
/* padding for future expansion */ |
| 74 |
gpointer _padding_dummy[8]; |
| 75 |
}; |
| 76 |
|
| 77 |
CLUTTER_AVAILABLE_IN_1_4 |
| 78 |
GType cally_texture_get_type (void) G_GNUC_CONST; |
| 79 |
CLUTTER_AVAILABLE_IN_1_4 |
| 80 |
AtkObject *cally_texture_new (ClutterActor *actor); |
| 81 |
|
| 82 |
G_END_DECLS |
| 83 |
|
| 84 |
#endif /* __CALLY_TEXTURE_H__ */ |