/**
* @defgroup Conformant Conformant
+ * @ingroup Elementary
*
* The aim is to provide a widget that can be used in elementary apps to
* account for space taken up by the indicator, virtual keypad & softkey windows when running
_conformant_part_sizing_eval(Evas_Object *obj, Conformant_Part_Type part_type)
{
Ecore_X_Window zone, xwin;
+ Evas_Object *top;
int sx = -1, sy = -1, sw = -1, sh = -1;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- Evas_Object *top = elm_widget_top_get(obj);
+ top = elm_widget_top_get(obj);
xwin = elm_win_xwindow_get(top);
+
zone = ecore_x_e_illume_zone_get(xwin);
if (part_type & ELM_CONFORM_INDICATOR_PART)
else
_conformant_part_sizing_eval(obj, ELM_CONFORM_INDICATOR_PART);
#endif
+
evas_object_color_set(wd->shelf, 0, 0, 0, 0);
edje_object_part_swallow(wd->base, "elm.swallow.shelf", wd->shelf);
else
_conformant_part_sizing_eval(obj, ELM_CONFORM_SOFTKEY_PART);
#endif
+
evas_object_color_set(wd->panel, 0, 0, 0, 0);
edje_object_part_swallow(wd->base, "elm.swallow.panel", wd->panel);
}
if (h < _elm_config->finger_size)
h = _elm_config->finger_size;
- elm_widget_show_region_set(focus_obj, x, y, w, h);
+ elm_widget_show_region_set(focus_obj, x, y, w, h, EINA_TRUE);
}
}
wd->content = NULL;
return content;
}
+
/**
* Returns the Evas_Object that represents the content area.
*
*
* @ingroup Conformant
*/
+
EAPI Evas_Object *
elm_conformant_content_area_get(const Evas_Object *obj)
{
if (!wd) return NULL;
/*Finger waggle warning*/
_elm_dangerous_call_check(__FUNCTION__);
+
return (Evas_Object *)edje_object_part_object_get(wd->base, "elm.swallow.content");
}