Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_container.c ewl_image.c ewl_row.c ewl_widget.c
Log Message:
Added an embed test program. Pass events through the evas objects to the
embed's dispatchers.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_container.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -3 -r1.66 -r1.67
--- ewl_container.c 28 Apr 2004 13:45:56 -0000 1.66
+++ ewl_container.c 2 May 2004 19:44:10 -0000 1.67
@@ -905,6 +905,7 @@
if (c->clip_box) {
evas_object_move(c->clip_box, CURRENT_X(w), CURRENT_Y(w));
evas_object_resize(c->clip_box, CURRENT_W(w), CURRENT_H(w));
+ evas_object_pass_events_set(c->clip_box, TRUE);
}
if (w->fx_clip_box) {
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_image.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- ewl_image.c 21 Apr 2004 04:42:55 -0000 1.41
+++ ewl_image.c 2 May 2004 19:44:10 -0000 1.42
@@ -263,6 +263,7 @@
if (w->fx_clip_box)
evas_object_clip_set(i->image, w->fx_clip_box);
evas_object_image_size_get(i->image, &i->ow, &i->oh);
+ evas_object_pass_events_set(i->image, TRUE);
evas_object_show(i->image);
if (!i->ow)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_row.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ewl_row.c 21 Apr 2004 05:18:52 -0000 1.27
+++ ewl_row.c 2 May 2004 19:44:10 -0000 1.28
@@ -41,8 +41,7 @@
ewl_container_show_notify(EWL_CONTAINER(row), ewl_row_child_show_cb);
ewl_container_resize_notify(EWL_CONTAINER(row), ewl_row_resize_cb);
- ewl_object_set_fill_policy(EWL_OBJECT(row), EWL_FLAG_FILL_HFILL |
- EWL_FLAG_FILL_HSHRINK);
+ ewl_object_set_fill_policy(EWL_OBJECT(row), EWL_FLAG_FILL_HFILL);
ewl_callback_append(EWL_WIDGET(row), EWL_CALLBACK_CONFIGURE,
ewl_row_configure_cb, NULL);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_widget.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -3 -r1.111 -r1.112
--- ewl_widget.c 24 Mar 2004 05:20:19 -0000 1.111
+++ ewl_widget.c 2 May 2004 19:44:10 -0000 1.112
@@ -829,6 +829,7 @@
DRETURN(DLEVEL_STABLE);
w->fx_clip_box = evas_object_rectangle_add(emb->evas);
+ evas_object_pass_events_set(w->fx_clip_box, TRUE);
ewl_widget_configure(w);
}
else {
@@ -1003,8 +1004,10 @@
* Create the fx clip box where special fx can be drawn to affect the
* entire contents of the widget
*/
- if (!ewl_object_get_flags(EWL_OBJECT(w), EWL_FLAG_VISIBLE_NOCLIP))
+ if (!ewl_object_get_flags(EWL_OBJECT(w), EWL_FLAG_VISIBLE_NOCLIP)) {
w->fx_clip_box = evas_object_rectangle_add(emb->evas);
+ evas_object_pass_events_set(w->fx_clip_box, TRUE);
+ }
if (w->fx_clip_box)
evas_object_layer_set(w->fx_clip_box,
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs