Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_embryo.c
Log Message:
lars get button mask call for edje embryo added
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/lib/edje_embryo.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- edje_embryo.c 19 May 2008 02:50:38 -0000 1.61
+++ edje_embryo.c 19 May 2008 04:38:40 -0000 1.62
@@ -797,6 +797,17 @@
return 0;
}
+/* get_mouse_buttons() */
+static Embryo_Cell
+_edje_embryo_fn_get_mouse_buttons(Embryo_Program *ep, Embryo_Cell *params)
+{
+ Edje *ed;
+
+ CHKPARAM(0);
+ ed = embryo_program_data_get(ep);
+ return evas_pointer_button_down_mask_get(ed->evas);
+}
+
/* emit(sig[], src[]) */
static Embryo_Cell
_edje_embryo_fn_emit(Embryo_Program *ep, Embryo_Cell *params)
@@ -2273,6 +2284,7 @@
embryo_program_native_call_add(ep, "get_drag_page",
_edje_embryo_fn_get_drag_page);
embryo_program_native_call_add(ep, "set_drag_page",
_edje_embryo_fn_set_drag_page);
embryo_program_native_call_add(ep, "get_mouse", _edje_embryo_fn_get_mouse);
+ embryo_program_native_call_add(ep, "get_mouse_buttons",
_edje_embryo_fn_get_mouse_buttons);
embryo_program_native_call_add(ep, "stop_program",
_edje_embryo_fn_stop_program);
embryo_program_native_call_add(ep, "stop_programs_on",
_edje_embryo_fn_stop_programs_on);
embryo_program_native_call_add(ep, "set_min_size",
_edje_embryo_fn_set_min_size);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs