bg = elm_bg_add(parent);
evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(parent, bg);
+ //elm_win_resize_object_add(parent, bg);
evas_object_show(bg);
return bg;
elm_layout_theme_set(layout, "layout", "application", "default");
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(parent, layout);
+ //elm_win_resize_object_add(parent, layout);
evas_object_show(layout);
evas_object_geometry_get(ad->win_main, NULL, NULL, &ad->root_w, &ad->root_h);
}
+#if 0
static int _rotation_cb(enum appcore_rm mode, void *data)
{
struct appdata *ad = (struct appdata *)data;
return 0;
}
+#endif
int app_create(void *data)
{
evas_object_event_callback_add(ad->win_main, EVAS_CALLBACK_RESIZE, _window_resize_cb, ad);
evas_object_show(ad->win_main);
ad->evas = evas_object_evas_get(ad->win_main);
- appcore_set_rotation_cb(_rotation_cb, ad);
+// appcore_set_rotation_cb(_rotation_cb, ad);
// set_edj_name(NULL);