Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib


Modified Files:
        Evas.h 


Log Message:


add a hold event to feed.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -3 -r1.114 -r1.115
--- Evas.h      14 Mar 2008 16:49:47 -0000      1.114
+++ Evas.h      31 Mar 2008 21:38:37 -0000      1.115
@@ -50,7 +50,8 @@
    EVAS_CALLBACK_MOVE, /**< Move Event */
    EVAS_CALLBACK_RESIZE, /**< Resize Event */
    EVAS_CALLBACK_RESTACK, /**< Restack Event */
-   EVAS_CALLBACK_DEL /**< Object Being Deleted (called before Free) */
+   EVAS_CALLBACK_DEL, /**< Object Being Deleted (called before Free) */
+   EVAS_CALLBACK_HOLD /**< Events go on/off hold */
 } Evas_Callback_Type; /**< The type of event to trigger the callback */
 
 typedef enum _Evas_Button_Flags
@@ -147,6 +148,7 @@
 typedef struct _Evas_Event_Mouse_Wheel Evas_Event_Mouse_Wheel; /**< Event 
structure for #EVAS_CALLBACK_MOUSE_WHEEL event callbacks */
 typedef struct _Evas_Event_Key_Down   Evas_Event_Key_Down; /**< Event 
structure for #EVAS_CALLBACK_KEY_DOWN event callbacks */
 typedef struct _Evas_Event_Key_Up     Evas_Event_Key_Up; /**< Event structure 
for #EVAS_CALLBACK_KEY_UP event callbacks */
+typedef struct _Evas_Event_Hold       Evas_Event_Hold; /**< Event structure 
for #EVAS_CALLBACK_HOLD event callbacks */
 
 #define EVAS_LOAD_ERROR_NONE                       0 /**< No error on load */
 #define EVAS_LOAD_ERROR_GENERIC                    1 /**< A non-specific error 
occured */
@@ -350,6 +352,15 @@
    Evas_Event_Flags  event_flags;
 };
 
+struct _Evas_Event_Hold /** Hold change event */
+{
+   int            hold; /**< The hold flag */
+   void          *data;
+   
+   unsigned int   timestamp;
+   Evas_Event_Flags  event_flags;
+};
+
 typedef enum _Evas_Object_Pointer_Mode
 {
    EVAS_OBJECT_POINTER_MODE_AUTOGRAB, /**< default, X11-like */
@@ -759,6 +770,7 @@
    EAPI void              evas_event_feed_mouse_wheel       (Evas *e, int 
direction, int z, unsigned int timestamp, const void *data);
    EAPI void              evas_event_feed_key_down          (Evas *e, const 
char *keyname, const char *key, const char *string, const char *compose, 
unsigned int timestamp, const void *data);
    EAPI void              evas_event_feed_key_up            (Evas *e, const 
char *keyname, const char *key, const char *string, const char *compose, 
unsigned int timestamp, const void *data);
+   EAPI void              evas_event_feed_hold              (Evas *e, int 
hold, unsigned int timestamp, const void *data);
 
    EAPI void              evas_object_focus_set             (Evas_Object *obj, 
Evas_Bool focus);
    EAPI Evas_Bool         evas_object_focus_get             (const Evas_Object 
*obj);



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to