efl.text.format: rename methods and properties

Summary:
efl.text.format: rename methods and properties

this change will avoid conflict in the future with other interfaces or class methods.

T8533

Reviewers: woohyun, segfaultxavi, zmike, bu5hm4n

Reviewed By: segfaultxavi

Subscribers: cedric, #committers, #reviewers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10895
This commit is contained in:
Ali Alzyod 2019-12-17 15:54:49 +01:00 committed by Xavi Artigas
parent 8e951504f5
commit 365159c5ea
3 changed files with 14 additions and 14 deletions

View File

@ -54,14 +54,14 @@ interface @beta Efl.Text_Format {
} }
} }
@property horizontal_align_auto_type { @property text_horizontal_align_auto_type {
[[Horizontal alignment of text.]] [[Horizontal alignment of text.]]
values { values {
value: Efl.Text_Format_Horizontal_Alignment_Auto_Type; [[Alignment type.]] value: Efl.Text_Format_Horizontal_Alignment_Auto_Type; [[Alignment type.]]
} }
} }
@property horizontal_align { @property text_horizontal_align {
[[Horizontal alignment of text. $[0.0] means "left" [[Horizontal alignment of text. $[0.0] means "left"
and $[1.0] means "right".]] and $[1.0] means "right".]]
values { values {
@ -69,7 +69,7 @@ interface @beta Efl.Text_Format {
} }
} }
@property vertical_align { @property text_vertical_align {
[[Vertical alignment of text.$[0.0] means "top" [[Vertical alignment of text.$[0.0] means "top"
and $[1.0] means "bottom"]] and $[1.0] means "bottom"]]
values { values {

View File

@ -194,7 +194,7 @@ class @beta Efl.Canvas.Textblock extends Efl.Canvas.Object implements Efl.Text,
$right (Puts the text at the right of the line), $start (Alias for $auto), $end (Puts the text at the $right (Puts the text at the right of the line), $start (Alias for $auto), $end (Puts the text at the
opposite side of LTR/RTL settings). opposite side of LTR/RTL settings).
Default value is $auto. Default value is $auto.
See @Efl.Text_Format.horizontal_align. See @Efl.Text_Format.text_horizontal_align.
- $valign: Vertical alignment of the text. The value can either be a decimal number ($[0.0] means "top" - $valign: Vertical alignment of the text. The value can either be a decimal number ($[0.0] means "top"
and $[1.0] means "bottom"), a percentage ($[0%] means "top" and $[100%] means "bottom") or one of: and $[1.0] means "bottom"), a percentage ($[0%] means "top" and $[100%] means "bottom") or one of:
@ -202,7 +202,7 @@ class @beta Efl.Canvas.Textblock extends Efl.Canvas.Object implements Efl.Text,
$middle (Alias for $center), $bottom (Puts the text at the bottom of the text box), $middle (Alias for $center), $bottom (Puts the text at the bottom of the text box),
$baseline (Puts the text's baseline at the middle of the text box), $base (Alias for $baseline). $baseline (Puts the text's baseline at the middle of the text box), $base (Alias for $baseline).
Default value is $baseline. Default value is $baseline.
See @Efl.Text_Format.vertical_align. See @Efl.Text_Format.text_vertical_align.
- $wrap: Wrapping policy of the text. The value must be one of the following: $word (Only wraps lines at - $wrap: Wrapping policy of the text. The value must be one of the following: $word (Only wraps lines at
word boundaries), $char (Wraps at any character), $mixed (Wraps at word boundaries if possible, word boundaries), $char (Wraps at any character), $mixed (Wraps at word boundaries if possible,
@ -479,9 +479,9 @@ class @beta Efl.Canvas.Textblock extends Efl.Canvas.Object implements Efl.Text,
Efl.Text_Format.ellipsis { get; set; } Efl.Text_Format.ellipsis { get; set; }
Efl.Text_Format.wrap { get; set; } Efl.Text_Format.wrap { get; set; }
Efl.Text_Format.multiline { get; set; } Efl.Text_Format.multiline { get; set; }
Efl.Text_Format.horizontal_align { get; set; } Efl.Text_Format.text_horizontal_align { get; set; }
Efl.Text_Format.horizontal_align_auto_type { get; set; } Efl.Text_Format.text_horizontal_align_auto_type { get; set; }
Efl.Text_Format.vertical_align { get; set; } Efl.Text_Format.text_vertical_align { get; set; }
Efl.Text_Format.linegap { get; set; } Efl.Text_Format.linegap { get; set; }
Efl.Text_Format.linerelgap { get; set; } Efl.Text_Format.linerelgap { get; set; }
Efl.Text_Format.tabstops { get; set; } Efl.Text_Format.tabstops { get; set; }

View File

@ -16750,7 +16750,7 @@ _efl_canvas_textblock_efl_text_format_multiline_get(const Eo *obj EINA_UNUSED, E
} }
static void static void
_efl_canvas_textblock_efl_text_format_horizontal_align_auto_type_set(Eo *obj, Efl_Canvas_Textblock_Data *o, Efl_Text_Format_Horizontal_Alignment_Auto_Type type) _efl_canvas_textblock_efl_text_format_text_horizontal_align_auto_type_set(Eo *obj, Efl_Canvas_Textblock_Data *o, Efl_Text_Format_Horizontal_Alignment_Auto_Type type)
{ {
ASYNC_BLOCK; ASYNC_BLOCK;
if (type == EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_NONE) if (type == EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_NONE)
@ -16772,7 +16772,7 @@ _efl_canvas_textblock_efl_text_format_horizontal_align_auto_type_set(Eo *obj, Ef
} }
static Efl_Text_Format_Horizontal_Alignment_Auto_Type static Efl_Text_Format_Horizontal_Alignment_Auto_Type
_efl_canvas_textblock_efl_text_format_horizontal_align_auto_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Textblock_Data *o) _efl_canvas_textblock_efl_text_format_text_horizontal_align_auto_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Textblock_Data *o)
{ {
Efl_Text_Format_Horizontal_Alignment_Auto_Type ret = Efl_Text_Format_Horizontal_Alignment_Auto_Type ret =
EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_NONE; EFL_TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE_NONE;
@ -16793,7 +16793,7 @@ _efl_canvas_textblock_efl_text_format_horizontal_align_auto_type_get(const Eo *o
} }
static void static void
_efl_canvas_textblock_efl_text_format_horizontal_align_set(Eo *obj, Efl_Canvas_Textblock_Data *o, _efl_canvas_textblock_efl_text_format_text_horizontal_align_set(Eo *obj, Efl_Canvas_Textblock_Data *o,
double value) double value)
{ {
ASYNC_BLOCK; ASYNC_BLOCK;
@ -16803,13 +16803,13 @@ _efl_canvas_textblock_efl_text_format_horizontal_align_set(Eo *obj, Efl_Canvas_T
} }
static double static double
_efl_canvas_textblock_efl_text_format_horizontal_align_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Textblock_Data *o EINA_UNUSED) _efl_canvas_textblock_efl_text_format_text_horizontal_align_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Textblock_Data *o EINA_UNUSED)
{ {
return _FMT(halign); return _FMT(halign);
} }
static void static void
_efl_canvas_textblock_efl_text_format_vertical_align_set(Eo *obj, Efl_Canvas_Textblock_Data *o, _efl_canvas_textblock_efl_text_format_text_vertical_align_set(Eo *obj, Efl_Canvas_Textblock_Data *o,
double value) double value)
{ {
ASYNC_BLOCK; ASYNC_BLOCK;
@ -16821,7 +16821,7 @@ _efl_canvas_textblock_efl_text_format_vertical_align_set(Eo *obj, Efl_Canvas_Tex
} }
static double static double
_efl_canvas_textblock_efl_text_format_vertical_align_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Textblock_Data *o EINA_UNUSED) _efl_canvas_textblock_efl_text_format_text_vertical_align_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Textblock_Data *o EINA_UNUSED)
{ {
return o->valign; return o->valign;
} }