return (double)alpha / 255.0;
}
+EOLIAN static Eo_Base *
+_elm_widget_eo_base_provider_find(Eo *obj, Elm_Widget_Smart_Data *pd, const Eo_Base *klass)
+{
+ Eo_Base *lookup = NULL;
+
+ if (pd->provider_lookup) return NULL;
+ pd->provider_lookup = EINA_TRUE;
+
+ lookup = eo_provider_find(pd->parent_obj, klass);
+ if (!lookup) lookup = eo_provider_find(eo_super(obj, MY_CLASS), klass);
+
+ pd->provider_lookup = EINA_FALSE;
+
+ return lookup;
+}
+
+
#include "elm_widget_item.eo.c"
#include "elm_widget.eo.c"
Eina_Bool on_translate : 1; /**< This is true when any types of elm translate function is being called. */
Eina_Bool on_create : 1; /**< This is true when the widget is on creation(general widget constructor). */
Eina_Bool on_destroy: 1; /**< This is true when the widget is on destruction(general widget destructor). */
+ Eina_Bool provider_lookup : 1; /**< This is true when eo_provider_find is currently walking the tree */
} Elm_Widget_Smart_Data;
/**