summaryrefslogtreecommitdiff
path: root/clutter/clutter-event.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-01-08 17:51:00 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-01-20 00:38:08 +0000
commit9506510d1cf794ef530f6c4db45103efb60cca63 (patch)
treecca5112abd499cc585ff396a5f4fea919cc01d7c /clutter/clutter-event.c
parent1f87cac0695dc95be4ed0219752d454d9a285e50 (diff)
downloadclutter-9506510d1cf794ef530f6c4db45103efb60cca63.tar.gz
Move all picking-related operations inside InputDevice
The InputDevice objects stores pointer coordinates, state, stage and the actor under the cursor, so if the current backend provides us with one attached to the Event structure then we want the InputDevice itself to update its state and give us the ClutterActor underneath the pointer's cursor.
Diffstat (limited to 'clutter/clutter-event.c')
-rw-r--r--clutter/clutter-event.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/clutter/clutter-event.c b/clutter/clutter-event.c
index 2f9cf178a..2492a25a3 100644
--- a/clutter/clutter-event.c
+++ b/clutter/clutter-event.c
@@ -787,39 +787,3 @@ clutter_get_current_event (void)
return context->current_event;
}
-
-/**
- * clutter_input_device_get_device_type:
- * @device: a #ClutterInputDevice
- *
- * Retrieves the type of @device
- *
- * Return value: the type of the device
- *
- * Since: 1.0
- */
-ClutterInputDeviceType
-clutter_input_device_get_device_type (ClutterInputDevice *device)
-{
- g_return_val_if_fail (device != NULL, CLUTTER_POINTER_DEVICE);
-
- return device->device_type;
-}
-
-/**
- * clutter_input_device_get_device_id:
- * @device: a #ClutterInputDevice
- *
- * Retrieves the unique identifier of @device
- *
- * Return value: the identifier of the device
- *
- * Since: 1.0
- */
-gint
-clutter_input_device_get_device_id (ClutterInputDevice *device)
-{
- g_return_val_if_fail (device != NULL, -1);
-
- return device->id;
-}