ELM_CONFIG_VAL(D, T, scroll_item_align_enable, T_UCHAR);
ELM_CONFIG_VAL(D, T, scroll_item_valign, T_STRING);
//
+ // TIZEN_ONLY(20161202): This config is for applying UI mirroring
+ // automatically according to language setting
ELM_CONFIG_VAL(D, T, language_auto_mirrored, T_UCHAR);
+ //
#undef T
#undef D
#undef T_INT
_elm_config->scroll_item_align_enable = EINA_FALSE;
_elm_config->scroll_item_valign = eina_stringshare_add("center");
//
+ // TIZEN_ONLY(20161202): Enable auto mirroring by default
_elm_config->language_auto_mirrored = EINA_TRUE;
+ //
}
static void
_elm_rescale();
}
+// TIZEN_ONLY(20161202): Getter and setter of auto mirroring config
EAPI Eina_Bool
elm_config_language_auto_mirrored_get(void)
{
_elm_config->language_auto_mirrored = automatic;
_elm_rescale();
}
+//
EAPI Eina_Bool
elm_config_cursor_engine_only_get(void)
*/
EAPI void elm_config_mirrored_set(Eina_Bool mirrored);
+// TIZEN_ONLY(20161202): Getter and setter of auto mirroring config
/**
* Get the system auto mirrored mode.
* This determines whether the mirrored mode is determined automatically by the locale or not.
* @param mirrored @c EINA_TRUE to set auto mirrored mode, @c EINA_FALSE to unset it.
*/
EAPI void elm_config_language_auto_mirrored_set(Eina_Bool auto_mirrored);
+//
/**
* @internal
Eina_Bool scroll_item_align_enable;
const char *scroll_item_valign;
//
+// TIZEN_ONLY(20161202): This config is for applying UI mirroring
+// automatically according to language setting
Eina_Bool language_auto_mirrored;
+//
/* Not part of the EET file */
Eina_Bool is_mirrored : 1;
}
/* END */
+ //TIZEN_ONLY(20161202): Temporary code - Apply mirroring in _elm_win_translate()
if (_elm_config->language_auto_mirrored)
{
if (!strcmp(E_("default:LTR"), "default:RTL"))
else
elm_config_mirrored_set(EINA_FALSE);
}
+ //
}
void