struct _Widget_Data
{
Evas_Object *base;
- Evas_Object *shelf;
+ Evas_Object *shelf, *panel;
Evas_Object *content;
};
Evas_Object *obj;
Evas *evas;
Widget_Data *wd;
- int sh = -1;
wd = ELM_NEW(Widget_Data);
evas = evas_object_evas_get(parent);
elm_widget_resize_object_set(obj, wd->base);
#ifdef HAVE_ELEMENTARY_X
+ int sh = -1;
+
ecore_x_e_illume_top_shelf_geometry_get(ecore_x_window_root_first_get(),
NULL, NULL, NULL, &sh);
if (sh < 0) sh = 32;
evas_object_size_hint_min_set(wd->shelf, -1, sh);
evas_object_size_hint_max_set(wd->shelf, -1, sh);
edje_object_part_swallow(wd->base, "elm.swallow.shelf", wd->shelf);
+
+ sh = -1;
+ ecore_x_e_illume_bottom_panel_geometry_get(ecore_x_window_root_first_get(),
+ NULL, NULL, NULL, &sh);
+ if (sh < 0) sh = 32;
+
+ wd->panel = evas_object_rectangle_add(evas);
+ evas_object_color_set(wd->panel, 0, 0, 0, 0);
+ evas_object_size_hint_min_set(wd->panel, -1, sh);
+ evas_object_size_hint_max_set(wd->panel, -1, sh);
+ edje_object_part_swallow(wd->base, "elm.swallow.panel", wd->panel);
#endif
_sizing_eval(obj);