Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_dnd.c ewl_misc.c ewl_object.h ewl_text.c ewl_widget.c Log Message: - inverse flag =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_dnd.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -3 -r1.48 -r1.49 --- ewl_dnd.c 23 Aug 2007 05:26:50 -0000 1.48 +++ ewl_dnd.c 10 Nov 2007 22:40:43 -0000 1.49 @@ -189,7 +189,7 @@ EWL_FLAG_PROPERTY_DND_TARGET, EWL_FLAGS_PROPERTY_MASK); - if (REALIZED(w) && !OBSCURED(w)) { + if (REALIZED(w) && REVEALED(w)) { Ewl_Embed *emb; emb = ewl_embed_widget_find(w); @@ -201,7 +201,7 @@ EWL_FLAG_PROPERTY_DND_TARGET, EWL_FLAGS_PROPERTY_MASK); - if (REALIZED(w) && !OBSCURED(w)) { + if (REALIZED(w) && REVEALED(w)) { Ewl_Embed *emb; emb = ewl_embed_widget_find(w); =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.c,v retrieving revision 1.104 retrieving revision 1.105 diff -u -3 -r1.104 -r1.105 --- ewl_misc.c 10 Nov 2007 06:03:18 -0000 1.104 +++ ewl_misc.c 10 Nov 2007 22:40:43 -0000 1.105 @@ -470,7 +470,7 @@ * revealed so that the obscure will succeed (and mark * it obscured again. */ - if (!OBSCURED(w)) + if (REVEALED(w)) ewl_widget_obscure(w); } @@ -481,7 +481,7 @@ /* * Follow the same logic as the obscure loop. */ - if (OBSCURED(w)) + if (!REVEALED(w)) ewl_widget_reveal(w); } } @@ -844,15 +844,15 @@ * queued to receive new evas objects. */ if (!ewl_widget_onscreen_is(w)) { - if (!OBSCURED(w)) + if (REVEALED(w)) ecore_list_prepend(obscure_list, w); } else { - if (OBSCURED(w)) + if (!REVEALED(w)) ecore_list_prepend(reveal_list, w); ewl_object_queued_add(EWL_OBJECT(w), EWL_FLAG_QUEUED_PROCESS_CONFIGURE); - if (REALIZED(w) && VISIBLE(w) && !OBSCURED(w)) + if (REALIZED(w) && VISIBLE(w) && REVEALED(w)) ewl_callback_call(w, EWL_CALLBACK_CONFIGURE); ewl_object_queued_remove(EWL_OBJECT(w), EWL_FLAG_QUEUED_PROCESS_CONFIGURE); =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_object.h,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- ewl_object.h 10 Nov 2007 06:03:18 -0000 1.26 +++ ewl_object.h 10 Nov 2007 22:40:43 -0000 1.27 @@ -536,10 +536,10 @@ #define VISIBLE(o) (EWL_OBJECT(o)->flags & EWL_FLAG_VISIBLE_SHOWN) /** - * @def OBSCURED(o) - * Used to determine if a widget is marked as obscured. + * @def REVEALED(o) + * Used to determine if a widget is marked as revealed. */ -#define OBSCURED(o) (EWL_OBJECT(o)->flags & EWL_FLAG_VISIBLE_OBSCURED) +#define REVEALED(o) (!(EWL_OBJECT(o)->flags & EWL_FLAG_VISIBLE_OBSCURED)) /** * @def HIDDEN(o) =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v retrieving revision 1.180 retrieving revision 1.181 diff -u -3 -r1.180 -r1.181 --- ewl_text.c 23 Aug 2007 05:26:52 -0000 1.180 +++ ewl_text.c 10 Nov 2007 22:40:43 -0000 1.181 @@ -3119,7 +3119,7 @@ DCHECK_TYPE("w", w, EWL_TEXT_TYPE); /* don't do anything if we're obscured */ - if (OBSCURED(w)) DRETURN(DLEVEL_STABLE); + if (!REVEALED(w)) DRETURN(DLEVEL_STABLE); t = EWL_TEXT(w); xx = CURRENT_X(w); =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v retrieving revision 1.147 retrieving revision 1.148 diff -u -3 -r1.147 -r1.148 --- ewl_widget.c 10 Nov 2007 21:41:59 -0000 1.147 +++ ewl_widget.c 10 Nov 2007 22:40:43 -0000 1.148 @@ -284,7 +284,7 @@ DCHECK_PARAM_PTR("w", w); DCHECK_TYPE("w", w, EWL_WIDGET_TYPE); - if (!OBSCURED(w)) + if (REVEALED(w)) DRETURN(DLEVEL_STABLE); ewl_object_visible_remove(EWL_OBJECT(w), EWL_FLAG_VISIBLE_OBSCURED); @@ -308,7 +308,7 @@ DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR("w", w); - if (OBSCURED(w)) + if (!REVEALED(w)) DRETURN(DLEVEL_STABLE); ewl_object_visible_add(EWL_OBJECT(w), EWL_FLAG_VISIBLE_OBSCURED); @@ -466,7 +466,7 @@ DCHECK_PARAM_PTR("w", w); DCHECK_TYPE("w", w, EWL_WIDGET_TYPE); - if ((!VISIBLE(w)) || (w->parent && OBSCURED(w->parent))) + if ((!VISIBLE(w)) || (w->parent && !REVEALED(w->parent))) DRETURN(DLEVEL_STABLE); ewl_configure_request(w); @@ -2034,7 +2034,7 @@ DCHECK_PARAM_PTR("w", w); DCHECK_TYPE("w", w, EWL_WIDGET_TYPE); - if (w->parent && OBSCURED(w->parent)) + if (w->parent && !REVEALED(w->parent)) DRETURN(DLEVEL_STABLE); if (w->parent && !w->toplayered) @@ -2449,7 +2449,7 @@ */ ewl_widget_layer_stack_add(w); - if (w->parent && !OBSCURED(w->parent)) + if (w->parent && REVEALED(w->parent)) ewl_widget_layer_update(w); if (w->fx_clip_box) { ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs