forked from enlightenment/efl
TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE: rename end enum into opposite
Summary: TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE: rename end enum into opposite Reviewers: segfaultxavi, woohyun Reviewed By: segfaultxavi, woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7939 Differential Revision: https://phab.enlightenment.org/D11058
This commit is contained in:
parent
f6f67d60f3
commit
dcc7813caf
|
@ -13,7 +13,7 @@ enum @beta Efl.Text_Format_Horizontal_Alignment_Auto_Type {
|
||||||
none, [[No auto-alignment rule: Horizontal Alignment is decided by @Efl.Text_Format.text_horizontal_align]]
|
none, [[No auto-alignment rule: Horizontal Alignment is decided by @Efl.Text_Format.text_horizontal_align]]
|
||||||
auto, [[Respects LTR/RTL (bidirectional) characters found inside the text content.]]
|
auto, [[Respects LTR/RTL (bidirectional) characters found inside the text content.]]
|
||||||
locale, [[Respects the system's language settings.]]
|
locale, [[Respects the system's language settings.]]
|
||||||
end [[Text is placed at opposite side of LTR/RTL (bidirectional) settings.]]
|
opposite [[Text is placed at opposite side of LTR/RTL (bidirectional) settings.]]
|
||||||
}
|
}
|
||||||
|
|
||||||
interface @beta Efl.Text_Format {
|
interface @beta Efl.Text_Format {
|
||||||
|
|
|
@ -16781,7 +16781,7 @@ _efl_canvas_textblock_efl_text_format_text_horizontal_align_auto_type_set(Eo *ob
|
||||||
{
|
{
|
||||||
_FMT_SET(halign_auto, EVAS_TEXTBLOCK_ALIGN_AUTO_LOCALE);
|
_FMT_SET(halign_auto, EVAS_TEXTBLOCK_ALIGN_AUTO_LOCALE);
|
||||||
}
|
}
|
||||||
else if (type == EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_END)
|
else if (type == EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_OPPOSITE)
|
||||||
{
|
{
|
||||||
_FMT_SET(halign_auto, EVAS_TEXTBLOCK_ALIGN_AUTO_END);
|
_FMT_SET(halign_auto, EVAS_TEXTBLOCK_ALIGN_AUTO_END);
|
||||||
}
|
}
|
||||||
|
@ -16799,7 +16799,7 @@ _efl_canvas_textblock_efl_text_format_text_horizontal_align_auto_type_get(const
|
||||||
}
|
}
|
||||||
else if (_FMT(halign_auto) == EVAS_TEXTBLOCK_ALIGN_AUTO_END)
|
else if (_FMT(halign_auto) == EVAS_TEXTBLOCK_ALIGN_AUTO_END)
|
||||||
{
|
{
|
||||||
ret = EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_END;
|
ret = EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_OPPOSITE;
|
||||||
}
|
}
|
||||||
else if (_FMT(halign_auto) == EVAS_TEXTBLOCK_ALIGN_AUTO_LOCALE)
|
else if (_FMT(halign_auto) == EVAS_TEXTBLOCK_ALIGN_AUTO_LOCALE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue