Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib


Modified Files:
        Evas.h 


Log Message:
Support for selectable pointer_mode.

Evas now support objects that do not grab mouse down event (NOGRAB) aside
with the default (AUTOGRAB). API is meant to be extensible.


===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -3 -r1.101 -r1.102
--- Evas.h      23 Jul 2007 14:22:56 -0000      1.101
+++ Evas.h      24 Jul 2007 14:20:07 -0000      1.102
@@ -330,6 +330,12 @@
    unsigned int   timestamp;
 };
 
+typedef enum _Evas_Object_Pointer_Mode
+{
+   EVAS_OBJECT_POINTER_MODE_AUTOGRAB, /**< default, X11-like */
+   EVAS_OBJECT_POINTER_MODE_NOGRAB
+} Evas_Object_Pointer_Mode;
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -767,6 +773,9 @@
    EAPI Evas_Bool         evas_object_repeat_events_get     (Evas_Object *obj);
    EAPI void              evas_object_propagate_events_set  (Evas_Object *obj, 
Evas_Bool prop);
    EAPI Evas_Bool         evas_object_propagate_events_get  (Evas_Object *obj);
+   EAPI void              evas_object_pointer_mode_set      (Evas_Object *obj, 
Evas_Object_Pointer_Mode setting);
+   EAPI Evas_Object_Pointer_Mode evas_object_pointer_mode_get(Evas_Object 
*obj);
+
        
    EAPI void              evas_object_precise_is_inside_set (Evas_Object *obj, 
Evas_Bool precise);
    EAPI Evas_Bool         evas_object_precise_is_inside_get (Evas_Object *obj);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to