{
for (; obj; obj = elm_widget_parent_get(obj))
{
- Smart_Data *sd = evas_object_smart_data_get(obj);
- if (!sd) return;
+ INTERNAL_ENTRY;
if (!sd->focused) return;
sd->focused = 0;
}
{
for (; obj; obj = elm_widget_parent_get(obj))
{
- Smart_Data *sd = evas_object_smart_data_get(obj);
- if (!sd) return;
+ INTERNAL_ENTRY;
if (sd->focused) return;
sd->focused = 1;
}
static void
_propagate_x_drag_lock(Evas_Object *obj, int dir)
{
- Smart_Data *sd = evas_object_smart_data_get(obj);
+ INTERNAL_ENTRY
if (sd->parent_obj)
{
Smart_Data *sd2 = evas_object_smart_data_get(sd->parent_obj);
static void
_propagate_y_drag_lock(Evas_Object *obj, int dir)
{
- Smart_Data *sd = evas_object_smart_data_get(obj);
+ INTERNAL_ENTRY
if (sd->parent_obj)
{
Smart_Data *sd2 = evas_object_smart_data_get(sd->parent_obj);
/* happy debug functions */
#ifdef ELM_DEBUG
static void
-_sub_obj_tree_dump(const Evas_Object *o, int lvl)
+_sub_obj_tree_dump(const Evas_Object *obj, int lvl)
{
int i;
for (i = 0; i < lvl*3; i++)
putchar(' ');
- if (_elm_widget_is(o))
+ if (_elm_widget_is(obj))
{
Eina_List *l;
- Smart_Data *sd = evas_object_smart_data_get(o);
- printf("+ %s(%p)\n", sd->type, o);
+ INTERNAL_ENTRY
+ printf("+ %s(%p)\n", sd->type, obj);
if (sd->resize_obj)
_sub_obj_tree_dump(sd->resize_obj, lvl + 1);
- EINA_LIST_FOREACH(sd->subobjs, l, o)
+ EINA_LIST_FOREACH(sd->subobjs, l, obj)
{
- if (o != sd->resize_obj)
- _sub_obj_tree_dump(o, lvl + 1);
+ if (obj != sd->resize_obj)
+ _sub_obj_tree_dump(obj, lvl + 1);
}
}
else
- printf("+ %s(%p)\n", evas_object_type_get(o), o);
+ printf("+ %s(%p)\n", evas_object_type_get(obj), obj);
}
static void
{
if (!_elm_widget_is(obj))
return;
-
- Smart_Data *sd = evas_object_smart_data_get(obj);
+ INTERNAL_ENTRY
Eina_Bool visible = evas_object_visible_get(obj);
Eina_Bool disabled = elm_widget_disabled_get(obj);