static void _update_visibility_view();
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_QP_BUTTON_BLUETOOTH"));
+ return strdup(buf);
+}
+#endif
+
static void sap_state_vconf_change_cb(keynode_t *key, void *data)
{
_update_visibility_item_view(is_handsfree_connected());
itc2->func.del = _bt_gl_del;
Elm_Genlist_Item_Class *itc3 = elm_genlist_item_class_new();
- itc3->item_style = "multiline.2text.1icon";
+ itc3->item_style = "2text.1icon.1";
itc3->func.text_get = _gl_bt_title_get;
itc3->func.content_get = _gl_bt_check_get;
itc3->func.del = _bt_gl_del;
menu_its = bt_menu_its;
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _bt_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
Elm_Genlist_Item_Class *itc_arr[3] = { itc, itc2, itc3 };
for (idx = 0; idx < BT_LIST_ITEM_COUNT; idx++) {
elm_genlist_item_class_free(itc2);
elm_genlist_item_class_free(itc3);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _bt_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
bt_genlist = genlist;
elm_object_part_content_set(layout, "elm.genlist", genlist);
static void _lang_update_font_style_list(void *data, Evas_Object *obj, void *event_info);
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_MBODY_DISPLAY_ABB"));
+ return strdup(buf);
+}
+
+static char *
+_gl_menu_font_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_BODY_FONT_STYLE"));
+ return strdup(buf);
+}
+#endif
void _init_display()
{
DBG("%s", "language cb - genlist is null");
return;
}
- nf_it = elm_naviframe_item_push(ad->nf, "IDS_ST_BUTTON_LANGUAGE", NULL, NULL, genlist, NULL);
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
evas_object_event_callback_add(genlist, EVAS_CALLBACK_DEL, _clear_lang_cb, ad);
#if !defined(FEATURE_SETTING_TELEPHONY)
- elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
+ elm_naviframe_item_title_enabled_set(nf_it, FALSE, EINA_FALSE);
#endif
elm_object_item_domain_text_translatable_set(nf_it, SETTING_PACKAGE, EINA_TRUE);
eext_rotary_object_event_activated_set(circle_genlist, EINA_TRUE);
#endif
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _display_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
menu_its = display_menu_its;
int size = sizeof(display_menu_its) / sizeof(struct _display_menu_item);
elm_genlist_item_class_free(itc2);
elm_genlist_item_class_free(itc_ambient_md);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _display_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
g_display_genlist = genlist;
return genlist;
free(id);
}
+#ifdef O_TYPE
+static char *
+_gl_menu_screen_timeout_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_MBODY_SCREEN_TIMEOUT_ABB"));
+ return strdup(buf);
+}
+#endif
void _show_screen_timeout_list(void *data)
{
appdata *ad = data;
eext_rotary_object_event_activated_set(circle_genlist, EINA_TRUE);
#endif
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_screen_timeout_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _screen_timeout_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
int timeout = 0;
vconf_get_int(VCONFKEY_SETAPPL_LCD_TIMEOUT_NORMAL, &timeout);
screen_time_index = _get_timeout_index(timeout);
elm_genlist_item_show(curr_item, ELM_GENLIST_ITEM_SCROLLTO_TOP);
}
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _screen_timeout_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
g_screen_time_genlist = genlist;
elm_genlist_item_class_free(itc);
- nf_it = elm_naviframe_item_push(ad->nf, "IDS_ST_MBODY_SCREEN_TIMEOUT_ABB", NULL, NULL, genlist, NULL);
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
#if !defined(FEATURE_SETTING_TELEPHONY)
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
#endif
}
}
+#ifdef O_TYPE
+static char *
+_gl_menu_font_list_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_BODY_FONT"));
+ return strdup(buf);
+}
+#endif
void _show_font_list(void *data)
{
appdata *ad = data;
evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
#ifdef _CIRCLE
- Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
- padding->item_style = "padding";
- padding->func.del = _font_size_gl_del;
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_font_list_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _font_size_gl_del;
- elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
#endif
for (idx = 0; idx < 1; idx++) {
}
}
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _font_size_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
+
elm_object_part_content_set(layout, "elm.genlist", genlist);
elm_genlist_item_class_free(itc);
- nf_it = elm_naviframe_item_push(ad->nf, "IDS_ST_BODY_FONT", NULL, NULL, layout, NULL);
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout,"empty");
+#else
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#endif
+
#if !defined(FEATURE_SETTING_TELEPHONY)
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
#endif
DBG("SYSTEM_SETTINGS_KEY_FONT_TYPE = %s", tmp_name);
}
-#ifdef _CIRCLE
- Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
- padding->item_style = "padding";
- padding->func.del = _font_size_gl_del;
+ default_font_name = _get_default_font();
- elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
-#endif
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_font_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _font_style_gl_del;
- default_font_name = _get_default_font();
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(title_item);
+#endif
if (default_font_name) {
Font_Style_Item_Data *id_default = calloc(sizeof(Font_Style_Item_Data), 1);
if (default_font_name && tmp_name && !strcmp(tmp_name, default_font_name)) {
evas_object_data_set(genlist, "radio_main", ad->font_style_rdg);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _font_style_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
g_font_style_genlist = genlist;
elm_object_part_content_set(layout, "elm.genlist", genlist);
evas_object_smart_callback_add(genlist, "language,changed", _lang_update_font_style_list, ad);
- nf_it = elm_naviframe_item_push(ad->nf, "IDS_ST_BODY_FONT_STYLE", NULL, NULL, layout, NULL);
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, "empty");
+#else
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#endif
#if !defined(FEATURE_SETTING_TELEPHONY)
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
#endif
}
}
+#ifdef O_TYPE
+static char *
+_gl_menu_font_size_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_BODY_FONT_SIZE_ABB"));
+ return strdup(buf);
+}
+#endif
void _show_font_size_list(void *data)
{
appdata *ad = data;
elm_genlist_mode_set(genlist, ELM_LIST_COMPRESS);
evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_font_size_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _font_size_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
for (idx = 0; idx < FONT_SIZE_COUNT; idx++) {
Item_Data *id = calloc(sizeof(Item_Data), 1);
if (id) {
g_font_size_genlist = genlist;
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _font_size_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
elm_object_part_content_set(layout, "elm.genlist", genlist);
elm_genlist_item_class_free(itc);
- nf_it = elm_naviframe_item_push(ad->nf, "IDS_ST_BODY_FONT_SIZE_ABB", NULL, NULL, layout, NULL);
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, "empty");
+#else
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#endif
#if !defined(FEATURE_SETTING_TELEPHONY)
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
#endif
unregister_vconf_changing(VCONFKEY_AIL_INFO_STATE, change_app_state_cb);
}
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_MBODY_DOUBLE_PRESS_ABB"));
+ return strdup(buf);
+}
+#endif
Evas_Object *create_double_app_list(void *data)
{
appdata *ad = data;
selected_app = _get_selected_app();
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _gl_double_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
Double_Item_Data *id_none = calloc(sizeof(Double_Item_Data), 1);
if (id_none) {
id_none->pitem = pitem_none;
elm_object_part_content_set(layout, "elm.genlist", genlist);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _gl_double_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
elm_genlist_item_class_free(itc);
return layout;
return check;
}
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_BUTTON_GEAR_INFO"));
+ return strdup(buf);
+}
+#endif
Evas_Object *_create_info_list(void *data)
{
appdata *ad = data;
menu_its = info_menu_its;
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _info_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
for (idx = 0; idx < sizeof(info_menu_its) / sizeof(struct _info_menu_item); idx++) {
Info_Item_Data *id = calloc(sizeof(Info_Item_Data), 1);
if (id) {
}
elm_genlist_item_class_free(itc);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _info_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
g_info_genlist = genlist;
elm_object_part_content_set(layout, "elm.genlist", genlist);
free(id);
}
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_BUTTON_LANGUAGE"));
+ return strdup(buf);
+}
+#endif
Evas_Object *_create_lang_list(void *data)
{
DBG("_create_lang_list:clear");
eext_rotary_object_event_activated_set(circle_genlist, EINA_TRUE);
#endif
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _lang_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
menu_its = lang_menu_its;
Eina_List *lang_list = _get_language_list();
elm_genlist_item_class_free(itc);
elm_genlist_item_class_free(itc_1line);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _lang_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
elm_object_part_content_set(layout, "elm.genlist", genlist);
return layout;
free(id);
}
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_WMGR_HEADER_MOTIONS"));
+ return strdup(buf);
+}
+#endif
+
Evas_Object *_create_motion_list(void *data)
{
appdata *ad = data;
elm_genlist_mode_set(genlist, ELM_LIST_COMPRESS);
menu_its = motion_menu_its;
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _motion_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
char *val = NULL;
elm_genlist_item_class_free(itc);
elm_genlist_item_class_free(itc_wake_up);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _motion_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
motion_data.g_motion_genlist = genlist;
elm_object_part_content_set(layout, "elm.genlist", genlist);
static bool is_called_myself;
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", "Notification");
+ return strdup(buf);
+}
+#endif
+
void _initialize_noti()
{
is_called_myself = false;
menu_its = noti_menu_its;
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _noti_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
#if 0
device_info_h *device_info = NULL;
bundle *b = NULL;
ad);
}
}
- elm_genlist_item_class_free(itc);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _noti_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
g_noti_data.g_noti_genlist = genlist;
_create_help_popup(ad);
}
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", "Lock screen");
+ return strdup(buf);
+}
+#endif
Evas_Object *create_privacy_list(void *data)
{
appdata *ad = data;
menu_list = privacy_menu_list;
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _gl_privacy_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
for (idx = 0; idx < sizeof(privacy_menu_list) / sizeof(struct _privacy_menu_item); idx++) {
if (idx == 0) {
itc = itc_2text;
elm_genlist_item_class_free(itc_1text);
itc = NULL;
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _gl_privacy_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
g_privacy_genlist = genlist;
elm_object_part_content_set(layout, "elm.genlist", genlist);
}
}
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", "Safety");
+ return strdup(buf);
+}
+#endif
Evas_Object *create_safety_list(void *data)
{
DBG("create_safety_list() is called.");
menu_list = safety_menu_list;
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _gl_safety_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
int count = 0;
count = sizeof(safety_menu_list) / sizeof(struct _safety_menu_item);
elm_genlist_item_class_free(itc_1text_1check);
elm_genlist_item_class_free(itc_1text);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _gl_safety_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
elm_object_part_content_set(layout, "elm.genlist", genlist);
return layout;
static void _vibration_gl_cb(void *data, Evas_Object *obj, void *event_info);
static void stop_wav();
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_OPT_SOUND_ABB2"));
+ return strdup(buf);
+}
+#endif
void _initialize()
{
DBG("%s", "volume cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
evas_object_event_callback_add(genlist, EVAS_CALLBACK_DEL, _clear_volume_cb, ad);
}
return check;
}
+
Evas_Object *_create_sound_list(void *data)
{
appdata *ad = data;
eext_rotary_object_event_activated_set(circle_genlist, EINA_TRUE);
#endif
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _sound_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
menu_its = sound_menu_its;
}
}
}
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _sound_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
elm_genlist_item_class_free(itc_1text);
elm_genlist_item_class_free(itc);
elm_genlist_item_class_free(itc_touch_snd);
return EINA_TRUE;
}
+#ifdef O_TYPE
+static char *
+_gl_menu_sound_mode_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_OPT_SOUND_MODE_ABB"));
+ return strdup(buf);
+}
+#endif
void _show_sound_mode_list(void *data)
{
appdata *ad = data;
eext_rotary_object_event_activated_set(circle_genlist, EINA_TRUE);
#endif
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_sound_mode_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _sound_mode_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
Item_Data *id = calloc(sizeof(Item_Data), 1);
if (id) {
id->index = 0;
elm_genlist_item_class_free(itc);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _sound_mode_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
g_sound_mode_genlist = genlist;
elm_object_part_content_set(layout, "elm.genlist", genlist);
-
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#endif
+
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
elm_naviframe_item_pop_cb_set(nf_it, _sound_mode_back_cb, ad);
}
free(id);
}
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("IDS_ST_OPT_VOLUME"));
+ return strdup(buf);
+}
+#endif
+
Evas_Object *_create_volume_list(void *data)
{
appdata *ad = data;
eext_rotary_object_event_activated_set(circle_genlist, EINA_TRUE);
#endif
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _volumn_gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
menu_its = volume_menu_its;
for (idx = 0; idx < VOLUMN_ITEM_COUNT; idx++) {
id->item = item;
}
}
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _volumn_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
elm_genlist_item_class_free(itc);
return genlist;
DBG("%s", "clock cb - layout is null");
return;
}
- nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+
+#ifdef _CIRCLE
+ const char* navi_title = _("IDS_ST_BUTTON_CLOCK");
+ Eina_Bool title_flag = EINA_TRUE;
+#else
+ const char* navi_title = NULL;
+ Eina_Bool title_flag = FALSE;
+#endif
+ nf_it = elm_naviframe_item_push(ad->nf, navi_title, NULL, NULL, layout, NULL);
evas_object_event_callback_add(layout, EVAS_CALLBACK_DEL, _clear_clock_cb, ad);
/*elm_naviframe_item_pop_cb_set(nf_it, _clear_clock_cb, ad); */
- elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
+ elm_naviframe_item_title_enabled_set(nf_it, title_flag, EINA_FALSE);
elm_genlist_item_selected_set((Elm_Object_Item *)event_info, EINA_FALSE);
is_running_clock = 1;
DBG("%s", "notification_cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
elm_naviframe_item_pop_cb_set(nf_it, _clear_noti_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "homescreen cb - layout is null");
return;
}
- nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#ifdef _CIRCLE
+ const char* navi_title = _("IDS_ST_BODY_WALLPAPERS");
+ Eina_Bool title_flag = EINA_TRUE;
+#else
+ const char* navi_title = NULL;
+ Eina_Bool title_flag = FALSE;
+#endif
+ nf_it = elm_naviframe_item_push(ad->nf, navi_title, NULL, NULL, layout, NULL);
/*elm_naviframe_item_pop_cb_set(nf_it, _clear_homescreen_cb, ad); */
evas_object_event_callback_add(layout, EVAS_CALLBACK_DEL, _clear_homescreen_cb, ad);
- elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
+ elm_naviframe_item_title_enabled_set(nf_it, title_flag, EINA_FALSE);
elm_genlist_item_selected_set((Elm_Object_Item *)event_info, EINA_FALSE);
DBG("%s", "sound cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
elm_naviframe_item_pop_cb_set(nf_it, _clear_sound_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "volume cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
/*elm_naviframe_item_pop_cb_set(nf_it, _clear_volume_cb, ad); */
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "display cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
+
/*elm_naviframe_item_pop_cb_set(nf_it, _clear_display_cb, ad); */
evas_object_event_callback_add(genlist, EVAS_CALLBACK_DEL, _clear_display_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "battery cb - layout is null");
return;
}
- nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#ifdef _CIRCLE
+ const char* navi_title = _("IDS_ST_BODY_BATTERY_ABB");
+ Eina_Bool title_flag = EINA_TRUE;
+#else
+ const char* navi_title = NULL;
+ Eina_Bool title_flag = FALSE;
+#endif
+ nf_it = elm_naviframe_item_push(ad->nf, navi_title, NULL, NULL, layout, NULL);
/*elm_naviframe_item_pop_cb_set(nf_it, _clear_battery_list_cb, ad); */
evas_object_event_callback_add(layout, EVAS_CALLBACK_DEL, _clear_battery_cb, ad);
- elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
+ elm_naviframe_item_title_enabled_set(nf_it, title_flag, EINA_FALSE);
ad->MENU_TYPE = SETTING_BATTERY;
}
DBG("%s", "bluetooth cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
/*elm_naviframe_item_pop_cb_set(nf_it, _clear_bluetooth_cb, ad); */
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "bluetooth cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
/*elm_naviframe_item_pop_cb_set(nf_it, _clear_bluetooth_cb, ad); */
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "motion cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
elm_naviframe_item_pop_cb_set(nf_it, _clear_motion_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "lockscreen cb - genlist is null");
return;
}
-
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#endif
+
elm_naviframe_item_pop_cb_set(nf_it, clear_privacy_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#endif
evas_object_event_callback_add(layout, EVAS_CALLBACK_DEL, clear_double_app_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "language cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
elm_naviframe_item_pop_cb_set(nf_it, _clear_lang_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
+#endif
elm_naviframe_item_pop_cb_set(nf_it, clear_safety_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
DBG("%s", "info cb - genlist is null");
return;
}
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, NULL);
+#endif
elm_naviframe_item_pop_cb_set(nf_it, _clear_info_cb, ad);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
return layout;
}
+#ifdef O_TYPE
+static char *
+_gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", "Setting");
+ return strdup(buf);
+}
+#endif
+
static Evas_Object *_create_mainlist_winset(Evas_Object *parent, appdata *ad)
{
Evas_Object *genlist = NULL;
elm_genlist_realization_mode_set(genlist, EINA_TRUE);
elm_genlist_mode_set(genlist, ELM_LIST_COMPRESS);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _gl_del;
+
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
+#endif
+
+#ifndef _CIRCLE
Item_Data *id_indi = calloc(sizeof(Item_Data), 1);
if (id_indi) {
id_indi->index = idx;
NULL, NULL);
elm_genlist_item_select_mode_set(id_indi->item, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
}
+#endif
#if 0
vconf_get_bool(VCONFKEY_SETAPPL_EMERGENCY_STATUS_BOOL, &is_emergency);
ad);
}
}
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
+
elm_genlist_item_class_free(itc);
elm_genlist_item_class_free(itc_tmp);
ea_object_event_callback_add(ad->nf, EA_CALLBACK_BACK, _naviframe_back_cb, ad);
ea_object_event_callback_add(ad->nf, EA_CALLBACK_MORE, ea_naviframe_more_cb, NULL);
+#ifdef _CIRCLE
+ nf_it = elm_naviframe_item_push(ad->nf, NULL, btn, NULL, genlist, "empty");
+#else
nf_it = elm_naviframe_item_push(ad->nf, NULL, btn, NULL, genlist, NULL);
+#endif
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
elm_naviframe_item_pop_cb_set(nf_it, _pop_cb, ad); /* ad->win_main */
+#ifdef O_TYPE
+static char *
+_gl_menu_location_title_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ char buf[1024];
+
+ snprintf(buf, 1023, "%s", _("Location"));
+ return strdup(buf);
+}
+#endif
Evas_Object *_create_location_list(void *data)
{
elm_genlist_mode_set(genlist, ELM_LIST_COMPRESS);
#ifdef _CIRCLE
- Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
- padding->item_style = "padding";
- padding->func.del = _location_gl_del;
+ Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new();
+ title_item ->func.text_get = _gl_menu_location_title_text_get;
+ title_item->item_style = "title";
+ title_item->func.del = _location_gl_del;
- elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_append(genlist, title_item, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+
+ elm_genlist_item_class_free(title_item);
#endif
menu_its = location_menu_its;
}
elm_genlist_item_class_free(itc);
+#ifdef _CIRCLE
+ Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new();
+ padding->item_style = "padding";
+ padding->func.del = _location_gl_del;
+
+ elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_class_free(padding);
+#endif
location_genlist = genlist;
elm_object_part_content_set(layout, "elm.genlist", genlist);