2 * Copyright 2012 Samsung Electronics Co., Ltd
\r
4 * Licensed under the Flora License, Version 1.0 (the "License");
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.tizenopensource.org/license
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an "AS IS" BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
22 unsigned int timestamp;
31 // TODO : Review below APIs
33 void (*onMouseDown)(Evas_Object *obj, MouseEvent *down, void *data);
34 void (*onMouseDlbClick)(Evas_Object *obj, MouseEvent *click, void *data);
35 void (*onMouseUp)(Evas_Object *obj, MouseEvent *up, void *data);
36 void (*onMouseMove)(Evas_Object *obj, MouseEvent *prev, MouseEvent *cur, void *data);
38 void (*onPinchStart)(Evas_Object *obj, MouseEvent *center, int dist, void *data);
39 void (*onPinchMove)(Evas_Object *obj, MouseEvent *center, int dist, void *data);
40 void (*onPinchEnd)(Evas_Object *obj, MouseEvent *end, void *data); // Is it really needed????
44 typedef void *Ivug_Event_Handle;
51 ivug_mouse_event_add(Evas_Object *obj, mouse_callback_t *pCallback, void *client_data, const char *alias /* for debugging*/);
53 void ivug_mouse_event_del(Ivug_Event_Handle handle);