Evas_Object *popup = elm_popup_add(elm_object_top_widget_get(obj));
elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
+#ifdef _TV
+ elm_popup_orient_set(popup, ELM_POPUP_ORIENT_CENTER);
+#endif
eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, eext_popup_back_cb, NULL);
evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
Evas_Object *btn_cancel = create_popup_button(popup, "popup/circle/left", icon_path, POPUP_CANCEL_BTN);
elm_object_part_content_set(popup, "button1", btn_cancel);
evas_object_smart_callback_add(btn_cancel, "clicked", reset_settings_popup_response_cancel_cb, popup);
+#ifdef _TV
+ elm_object_focus_set(btn_cancel, EINA_TRUE);
+#endif
/* Ok button */
#ifdef _CIRCLE
ck = elm_check_add(parent);
elm_object_style_set(ck, "on&off");
elm_check_state_set(ck, state);
+ elm_object_focus_allow_set(ck, EINA_FALSE);
evas_object_propagate_events_set(ck, EINA_FALSE);
evas_object_show(ck);
}
if (option_elements[type].itc_main_item) {
#ifdef _WEARABLE
option_elements[type].itc_main_item->item_style = "2text.1icon.1";
+#elif _TV
+ option_elements[type].itc_main_item->item_style = "default";
#else
option_elements[type].itc_main_item->item_style = "type1";
#endif
if (option_elements[type].itc_multi_item) {
#ifdef _WEARABLE
option_elements[type].itc_multi_item->item_style = "2text.1icon.1";
+#elif _TV
+ option_elements[type].itc_multi_item->item_style = "default";
#else
option_elements[type].itc_multi_item->item_style = "multiline";
#endif
if (option_elements[type].itc_1text_main_item) {
#ifdef _WEARABLE
option_elements[type].itc_1text_main_item->item_style = "1text.1icon.1";
+#elif _TV
+ option_elements[type].itc_1text_main_item->item_style = "default";
#else
option_elements[type].itc_1text_main_item->item_style = "type1";
#endif
if (option_elements[type].itc_language_subitems) {
#ifdef _WEARABLE
option_elements[type].itc_language_subitems->item_style = "1text.1icon.1";
+#elif _TV
+ option_elements[type].itc_language_subitems->item_style = "default";
#else
option_elements[type].itc_language_subitems->item_style = "type1";
#endif
add_scrollable_title_area(genlist, OPTIONS, EINA_TRUE);
#endif
+#ifndef _TV
/* Input languages */
append_item(genlist, SETTING_ITEM_ID_INPUT_LANGUAGE_TITLE, INPUT_LANGUAGE, NULL, NULL, option_elements[type].itc_group_title, ELM_GENLIST_ITEM_GROUP, EINA_TRUE);
/* Select input languages */
option_elements[type].languages_item = append_item(genlist, SETTING_ITEM_ID_SELECT_INPUT_LANGUAGE, SELECT_LANGUAGES, NULL, (void *)SETTING_ITEM_ID_SELECT_INPUT_LANGUAGE, option_elements[type].itc_1text_main_item, ELM_GENLIST_ITEM_NONE, EINA_FALSE);
}
+#endif
#ifndef _WEARABLE
+#ifndef _TV
/* Smart input functions */
append_item(genlist, SETTING_ITEM_ID_SMART_INPUT_TITLE, SMART_FUNCTIONS, NULL, NULL, option_elements[type].itc_group_title, ELM_GENLIST_ITEM_GROUP, EINA_TRUE);
+#endif
/* Auto capitalize */
append_item(genlist, SETTING_ITEM_ID_AUTO_CAPITALISE, AUTO_CAPITALISE, CAPITALISE_DESC, (void *)SETTING_ITEM_ID_AUTO_CAPITALISE, option_elements[type].itc_multi_item, ELM_GENLIST_ITEM_NONE, EINA_FALSE);
/* Auto punctuate */
append_item(genlist, SETTING_ITEM_ID_AUTO_PUNCTUATE, AUTO_PUNCTUATE, PUNCTUATE_DESC, (void *)SETTING_ITEM_ID_AUTO_PUNCTUATE, option_elements[type].itc_multi_item, ELM_GENLIST_ITEM_NONE, EINA_FALSE);
+#ifndef _TV
/* Key-tap feedback */
append_item(genlist, SETTING_ITEM_ID_KEY_TAP_TITLE, KEY_FEEDBACK, NULL, NULL, option_elements[type].itc_group_title, ELM_GENLIST_ITEM_GROUP, EINA_TRUE);
+#endif
/* Sound */
append_item(genlist, SETTING_ITEM_ID_SOUND, SOUND, NULL, (void *)SETTING_ITEM_ID_SOUND, option_elements[type].itc_main_item, ELM_GENLIST_ITEM_NONE, EINA_FALSE);
+#ifndef _TV
/* Character preview */
append_item(genlist, SETTING_ITEM_ID_CHARACTER_PRE, CHARACTER_PREVIEW, PREVIEW_DESC, (void *)SETTING_ITEM_ID_CHARACTER_PRE, option_elements[type].itc_multi_item, ELM_GENLIST_ITEM_NONE, EINA_FALSE);
#endif
+#endif
+#ifndef _TV
const char *more_setting_text = NULL;
#ifdef _WEARABLE
#endif
append_item(genlist, SETTING_ITEM_ID_MORE_SETTINGS_TITLE, more_setting_text, NULL, NULL, option_elements[type].itc_group_title, ELM_GENLIST_ITEM_GROUP, EINA_TRUE);
+#endif
#ifdef _WEARABLE
/* Smart typing */