bool ui_app_init(const char *pkg, const char *locale_dir);
int ui_app_run(int argc, char **argv, ui_app_lifecycle_callback_s *event_callback, void *data);
ui_viewmgr *ui_app_viewmgr_get();
+ //Is it needed?
+ ui_app *ui_app_app_get();
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
bool ui_menu_content_set(ui_menu *menu, Elm_Ctxpopup *ctxpopup);
+ Elm_Ctxpopup *ui_menu_content_unset(ui_menu *menu);
+ bool ui_menu_activate(ui_menu *menu);
+ bool ui_menu_deactivate(ui_menu *menu);
+ bool ui_menu_activate_get(ui_menu *menu);
+ //Is it needed?
+ Evas_Object *ui_menu_base_get(ui_menu *menu);
+ int ui_menu_degree_get(ui_menu *menu);
+ Elm_Ctxpopup ui_menu_content_get(ui_menu *menu);
+ ui_view *ui_menu_view_get(ui_menu *menu);
#ifdef __cplusplus
}
#endif
#endif
ui_popup *ui_popup_create(ui_view *view);
bool ui_popup_content_set(ui_popup *popup, Elm_Popup *elm_popup);
+ Elm_Popup *ui_popup_content_unset(ui_popup *popup);
bool ui_popup_activate(ui_popup *popup);
+ bool ui_popup_deactivate(ui_popup *popup);
void ui_popup_del(ui_popup *popup);
+ bool ui_popup_activate_get(ui_popup *popup);
+ //Is it needed?
+ Evas_Object *ui_popup_base_get(ui_popup *popup);
+ int ui_popup_degree_get(ui_popup *popup);
+ Elm_Popup ui_popup_content_get(ui_popup *popup);
+ ui_view *ui_popup_view_get(ui_popup *popup);
#ifdef __cplusplus
}
#endif
ui_view_event_menu_cb menu;
} ui_view_event_callback_s;
- ui_view* ui_standard_view_create(const char *name);
- ui_view* ui_view_create(const char *name);
- bool ui_view_lifecycle_callbacks_set(ui_view *view, ui_view_lifecycle_callback_s *lifecycle_callback, void *data);
- Evas_Object* ui_view_base_get(ui_view *view);
- bool ui_view_content_set(ui_view *view, Evas_Object *content);
+ ui_view *ui_standard_view_create(const char *name);
bool ui_standard_view_content_set(ui_view *view, Evas_Object *content,
const char *title, const char *subtitle,
Evas_Object *title_left_btn, Evas_Object *title_right_btn);
bool ui_standard_view_title_badge_set(ui_view *view, const char *badge_text);
- void ui_view_indicator_set(ui_view *view, ui_view_indicator indicator);
+ bool ui_standard_view_sub_title_set(ui_view *view, const char *text);
+ bool ui_standard_view_title_right_btn_set(ui_view *view, Evas_Object *title_right_btn);
+ bool ui_standard_view_title_left_btn_set(ui_view *view, Evas_Object *title_left_btn);
+ bool ui_standard_view_title_set(ui_view *view, const char *text);
bool ui_standard_view_toolbar_set(ui_view *view, Elm_Toolbar *toolbar);
- void ui_view_removable_content(ui_view *view, bool remove);
+ bool ui_standard_view_title_visible_set(ui_view *view, bool visible, bool anim);
+ Elm_Button ui_standard_view_title_right_btn_unset(ui_view *view);
+ Elm_Button ui_standard_view_title_left_btn_unset(ui_view *view);
+ Elm_toolbar ui_standard_view_toolbar_unset(ui_view *view);
+ Elm_Button ui_standard_view_title_right_btn_get(ui_view *view);
+ Elm_Button ui_standard_view_title_left_btn_get(ui_view *view);
+ Elm_toolbar ui_standard_view_toolbar_get(ui_view *view);
+
+ ui_view *ui_view_create(const char *name);
+ bool ui_view_lifecycle_callbacks_set(ui_view *view, ui_view_lifecycle_callback_s *lifecycle_callback, void *data);
+ Evas_Object* ui_view_base_get(ui_view *view);
+ bool ui_view_content_set(ui_view *view, Evas_Object *content);
+ Evas_Object *ui_view_content_unset(ui_view *view);
+ void ui_view_indicator_set(ui_view *view, ui_view_indicator indicator);
+ void ui_view_removable_content_set(ui_view *view, bool remove);
bool ui_view_event_callbacks_set(ui_view *view, ui_view_event_callback_s *event_callback, void *data);
int ui_view_degree_get(ui_view *view);
- bool ui_standard_view_title_right_btn_set(ui_view *view, Evas_Object *title_right_btn);
bool ui_view_transition_style_set(ui_view *view, const char *style);
- bool ui_standard_view_title_visible_set(ui_view *view, bool visible, bool anim);
+ ui_menu *ui_view_menu_get(ui_view *view);
+ bool ui_view_name_set(ui_view *view, const char *name);
+ const char *ui_view_transition_style_get(ui_view *view);
+ const char *ui_view_name_get(ui_view *view);
+ Evas_Object *ui_view_content_get(ui_view *view);
+ ui_view_state ui_view_state_get(ui_view *view);
+ bool ui_view_removable_content_get(ui_view *view);
+ ui_view_indicator ui_view_indicator_get(ui_view *view);
#ifdef __cplusplus
}
#ifdef __cplusplus
extern "C" {
#endif
+ ui_view *ui_viewmgr_view_push_insert_before(ui_viewmgr *viewmgr, ui_view *view, ui_view *before);
+ ui_view *ui_viewmgr_view_push_insert_after(ui_viewmgr *viewmgr, ui_view *view, ui_view *after);
ui_view *ui_viewmgr_view_push(ui_viewmgr *viewmgr, ui_view *view);
bool ui_viewmgr_view_pop(ui_viewmgr *viewmgr);
+ bool ui_viewmgr_activate(ui_viewmgr *viewmgr);
bool ui_viewmgr_deactivate(ui_viewmgr *viewmgr);
+ Elm_Win ui_viewmgr_window_get(ui_viewmgr *viewmgr);
+ Elm_Conformant ui_viewmgr_conformant_get(ui_viewmgr *viewmgr);
+ ui_view *ui_viewmgr_last_view_get(ui_viewmgr *viewmgr);
+ ui_view *ui_viewmgr_view_get(ui_viewmgr *viewmgr, int idx);
+ Evas_Object *ui_viewmgr_base_get(ui_viewmgr *viewmgr);
+ unsigned int ui_viewmgr_view_count_get(ui_viewmgr *viewmgr);
+ //Is it needed?
+ bool ui_viewmgr_soft_key_need_get(ui_viewmgr *viewmgr);
+ ui_viewmgr *ui_viewmgr_viewmgr_get();
//TODO
#define UI_VIEWMGR_DEACTIVATE() (ui_viewmgr_deactivate(ui_app_viewmgr_get()))
{
return app->get_viewmgr();
}
+
+ ui_app *ui_app_app_get()
+ {
+ //TODO
+ return NULL;
+ }
}
return menu->set_content(ctxpopup);
}
+
+ Elm_Ctxpopup *ui_menu_content_unset(ui_menu *menu)
+ {
+ //TODO
+ return NULL;
+ }
+
+ bool ui_menu_activate(ui_menu *menu)
+ {
+ //TODO
+ return 1;
+ }
+
+ bool ui_menu_deactivate(ui_menu *menu)
+ {
+ //TODO
+ return 1;
+ }
+
+ bool ui_menu_activate_get(ui_menu *menu)
+ {
+ //TODO
+ return 1;
+ }
+
+ Evas_Object *ui_menu_base_get(ui_menu *menu)
+ {
+ //TODO
+ return NULL;
+ }
+
+ int ui_menu_degree_get(ui_menu *menu)
+ {
+ //TODO
+ return 0;
+ }
+
+ Elm_Ctxpopup ui_menu_content_get(ui_menu *menu)
+ {
+ //TODO
+ return NULL;
+ }
+
+ ui_view *ui_menu_view_get(ui_menu *menu)
+ {
+ //TODO
+ return NULL;
+ }
}
return popup->set_content(elm_popup);
}
+ Elm_Popup *ui_popup_content_unset(ui_popup *popup)
+ {
+ //TODO
+ return NULL;
+ }
+
bool ui_popup_activate(ui_popup *popup)
{
if (!popup)
return popup->activate();
}
+ bool ui_popup_deactivate(ui_popup *popup)
+ {
+ //TODO
+ return 1;
+ }
+
void ui_popup_del(ui_popup *popup)
{
if (!popup)
delete(popup);
}
+
+ bool ui_popup_activate_get(ui_popup *popup)
+ {
+ //TODO
+ return 1;
+ }
+
+ Evas_Object *ui_popup_base_get(ui_popup *popup)
+ {
+ //TODO
+ return NULL;
+ }
+
+ int ui_popup_degree_get(ui_popup *popup)
+ {
+ //TODO
+ return 1;
+ }
+
+ Elm_Popup ui_popup_content_get(ui_popup *popup)
+ {
+ //TODO
+ return NULL;
+ }
+
+ ui_view *ui_popup_view_get(ui_popup *popup)
+ {
+ //TODO
+ return NULL;
+ }
}
return capi_view->set_content(content);
}
+ Evas_Object *ui_view_content_unset(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
bool ui_standard_view_content_set(ui_view *view, Evas_Object *content,
const char *title, const char *subtitle,
Evas_Object *title_left_btn, Evas_Object *title_right_btn)
return capi_view->set_title_badge(badge_text);
}
+ bool ui_standard_view_sub_title_set(ui_view *view, const char *text)
+ {
+ //TODO
+ return 1;
+ }
+
+ bool ui_standard_view_title_left_btn_set(ui_view *view, Evas_Object *title_left_btn)
+ {
+ //TODO
+ return 1;
+ }
+
+ bool ui_standard_view_title_set(ui_view *view, const char *text)
+ {
+ //TODO
+ return 1;
+ }
+
void ui_view_indicator_set(ui_view *view, ui_view_indicator indicator)
{
if (!view)
return capi_view->set_toolbar(toolbar);
}
- void ui_view_removable_content(ui_view *view, bool remove)
+ void ui_view_removable_content_set(ui_view *view, bool remove)
{
if (!view)
{
return capi_view->set_title_visible(visible, anim);
}
+
+ Elm_Button ui_standard_view_title_right_btn_unset(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ Elm_Button ui_standard_view_title_left_btn_unset(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ Elm_toolbar ui_standard_view_toolbar_unset(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ Elm_Button ui_standard_view_title_right_btn_get(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ Elm_Button ui_standard_view_title_left_btn_get(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ Elm_toolbar ui_standard_view_toolbar_get(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ ui_menu *ui_view_menu_get(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ bool ui_view_name_set(ui_view *view, const char *name)
+ {
+ //TODO
+ return 1;
+ }
+
+ const char *ui_view_transition_style_get(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ const char *ui_view_name_get(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ Evas_Object *ui_view_content_get(ui_view *view)
+ {
+ //TODO
+ return NULL;
+ }
+
+ ui_view_state ui_view_state_get(ui_view *view)
+ {
+ //TODO
+ return 0;
+ }
+
+ bool ui_view_removable_content_get(ui_view *view)
+ {
+ //TODO
+ return 1;
+ }
+
+ ui_view_indicator ui_view_indicator_get(ui_view *view)
+ {
+ //TODO
+ return 0;
+ }
}
using namespace efl_viewmanager;
extern "C" {
+ ui_view *ui_viewmgr_view_push_insert_before(ui_viewmgr *viewmgr, ui_view *view, ui_view *before)
+ {
+ //TODO
+ return NULL;
+ }
+
+ ui_view *ui_viewmgr_view_push_insert_after(ui_viewmgr *viewmgr, ui_view *view, ui_view *after)
+ {
+ //TODO
+ return NULL;
+ }
+
ui_view *ui_viewmgr_view_push(ui_viewmgr *viewmgr, ui_view *view)
{
return static_cast<ui_view *>(viewmgr->push_view(view));
return viewmgr->pop_view();
}
+ bool ui_viewmgr_activate(ui_viewmgr *viewmgr)
+ {
+ //TODO
+ return 1;
+ }
+
bool ui_viewmgr_deactivate(ui_viewmgr *viewmgr)
{
return viewmgr->deactivate();
}
+
+ Elm_Win ui_viewmgr_window_get(ui_viewmgr *viewmgr)
+ {
+ //TODO
+ return NULL;
+ }
+
+ Elm_Conformant ui_viewmgr_conformant_get(ui_viewmgr *viewmgr)
+ {
+ //TODO
+ return NULL;
+ }
+
+ ui_view *ui_viewmgr_last_view_get(ui_viewmgr *viewmgr)
+ {
+ //TODO
+ return NULL;
+ }
+
+ ui_view *ui_viewmgr_view_get(ui_viewmgr *viewmgr, int idx)
+ {
+ //TODO
+ return NULL;
+ }
+
+ Evas_Object *ui_viewmgr_base_get(ui_viewmgr *viewmgr)
+ {
+ //TODO
+ return NULL;
+ }
+
+ unsigned int ui_viewmgr_view_count_get(ui_viewmgr *viewmgr)
+ {
+ //TODO
+ return 1;
+ }
+
+ bool ui_viewmgr_soft_key_need_get(ui_viewmgr *viewmgr)
+ {
+ //TODO
+ return 1;
+ }
+
+ ui_viewmgr *ui_viewmgr_viewmgr_get()
+ {
+ //TODO
+ return NULL;
+ }
}