These changes should be puhsed with a previous commit.
Change-Id: I177c90c2943a2f53c77baa0ff8e707d57331578a
return true;
}
-void ui_view::unload_content()
-{
- ui_base_view::set_content (NULL);
-}
-
ui_menu *ui_view::on_menu_pre()
{
if (!this->menu)
void ui_view::set_event_block(bool block)
{
- ui_iface_view::set_event_block(block);
+ ui_base_view::set_event_block(block);
evas_object_freeze_events_set(this->get_base(), block);
}
return viewmgr->get_base();
}
-//FIXME: seems it could be replaced with set_content(NULL);
-void ui_base_view::unload_content()
-{
- Evas_Object *pcontent = this->get_content();
- if (pcontent) evas_object_del(pcontent);
- this->set_content(NULL);
-}
-
Evas_Object *ui_base_view ::get_parent()
{
ui_base_viewmgr *viewmgr = UI_BASE_VIEWMGR;
viewmgr->set_indicator(indicator);
}
-void ui_base_view::on_back()
-{
- ui_base_viewmgr *viewmgr = UI_BASE_VIEWMGR;
- if (!viewmgr)
- {
- LOGE("Failed to get a viewmgr");
- return;
- }
- viewmgr->pop_view();
-}
-
void ui_base_view::on_rotate(int degree)
{
}
bool ui_base_viewmgr::insert_view_before(ui_base_view *view, ui_base_view *before)
{
- ui_iface_viewmgr::insert_view_before(view, before);
-
- return true;
+ return ui_iface_viewmgr::insert_view_before(view, before);
}
bool ui_base_viewmgr::insert_view_after(ui_base_view *view, ui_base_view *after)
{
- ui_iface_viewmgr::insert_view_after(view, after);
-
- return true;
+ return ui_iface_viewmgr::insert_view_after(view, after);
}
ui_base_view *ui_base_viewmgr::get_view(unsigned int idx)