| 1 |
/* CALLY - The Clutter Accessibility Implementation Library |
| 2 |
* |
| 3 |
* Copyright (C) 2008 Igalia, S.L. |
| 4 |
* |
| 5 |
* Author: Alejandro PiƱeiro Iglesias <[email protected]> |
| 6 |
* |
| 7 |
* Some parts are based on GailWidget from GAIL |
| 8 |
* GAIL - The GNOME Accessibility Implementation Library |
| 9 |
* Copyright 2001, 2002, 2003 Sun Microsystems Inc. |
| 10 |
* |
| 11 |
* This library is free software; you can redistribute it and/or |
| 12 |
* modify it under the terms of the GNU Lesser General Public |
| 13 |
* License as published by the Free Software Foundation; either |
| 14 |
* version 2 of the License, or (at your option) any later version. |
| 15 |
* |
| 16 |
* This library is distributed in the hope that it will be useful, |
| 17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 19 |
* Lesser General Public License for more details. |
| 20 |
* |
| 21 |
* You should have received a copy of the GNU Lesser General Public |
| 22 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 23 |
*/ |
| 24 |
|
| 25 |
#ifndef __CALLY_ACTOR_PRIVATE_H__ |
| 26 |
#define __CALLY_ACTOR_PRIVATE_H__ |
| 27 |
|
| 28 |
#include "cally-actor.h" |
| 29 |
|
| 30 |
/* |
| 31 |
* Auxiliar define, in order to get the clutter actor from the AtkObject using |
| 32 |
* AtkGObject methods |
| 33 |
* |
| 34 |
*/ |
| 35 |
#define CALLY_GET_CLUTTER_ACTOR(cally_object) \ |
| 36 |
(CLUTTER_ACTOR (atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (cally_object)))) |
| 37 |
|
| 38 |
void _cally_actor_get_top_level_origin (ClutterActor *actor, |
| 39 |
gint *x, |
| 40 |
gint *y); |
| 41 |
|
| 42 |
#endif /* __CALLY_ACTOR_PRIVATE_H__ */ |