2018-11-06 06:52:53 -08:00
|
|
|
enum Efl.Canvas.Layout_Part_Text_Expand
|
|
|
|
{
|
|
|
|
[[Text layout policy to enforce. If none is set, min/max descriptions
|
|
|
|
are taken in considerations solely.
|
|
|
|
]]
|
|
|
|
none = 0, [[No policy. Use default description parameters.]]
|
|
|
|
min_x = 1,
|
|
|
|
min_y = 1 << 1,
|
|
|
|
max_x = 1 << 2,
|
|
|
|
max_y = 1 << 3,
|
|
|
|
}
|
|
|
|
|
2019-01-18 05:22:23 -08:00
|
|
|
class Efl.Canvas.Layout_Part_Text extends Efl.Canvas.Layout_Part implements Efl.Text,
|
2019-01-28 08:10:40 -08:00
|
|
|
Efl.Text_Markup, Efl.Text_Markup_Interactive, Efl.Text_Format, Efl.Text_Font, Efl.Text_Style
|
2017-05-30 00:31:19 -07:00
|
|
|
{
|
|
|
|
[[Represents a TEXT part of a layout
|
|
|
|
|
|
|
|
Its lifetime is limited to one function call only, unless an extra
|
2017-12-22 02:30:32 -08:00
|
|
|
reference is explicitly held.
|
2017-05-30 00:31:19 -07:00
|
|
|
]]
|
2018-11-06 06:52:53 -08:00
|
|
|
methods {
|
|
|
|
@property text_expand {
|
|
|
|
[[Sizing policy for text parts.
|
|
|
|
|
|
|
|
This will determine whether to consider height or width
|
|
|
|
constraints, if text-specific behaviors occur (such as ellipsis,
|
|
|
|
line-wrapping etc.
|
2019-01-18 05:22:23 -08:00
|
|
|
]]
|
2018-11-06 06:52:53 -08:00
|
|
|
values {
|
|
|
|
type: Efl.Canvas.Layout_Part_Text_Expand;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2017-05-30 00:31:19 -07:00
|
|
|
data: null;
|
|
|
|
implements {
|
|
|
|
Efl.Text.text { set; get; }
|
2018-04-06 04:30:40 -07:00
|
|
|
Efl.Text_Markup.markup { get; set; }
|
2019-01-28 08:10:40 -08:00
|
|
|
Efl.Text_Markup_Interactive.cursor_markup_insert;
|
2018-04-06 04:30:40 -07:00
|
|
|
Efl.Text_Cursor.text_cursor { get; }
|
|
|
|
Efl.Text_Cursor.cursor_paragraph_first;
|
|
|
|
Efl.Text_Cursor.cursor_paragraph_last;
|
|
|
|
Efl.Text_Cursor.cursor_position { set; get; }
|
|
|
|
Efl.Text_Cursor.cursor_coord_set;
|
|
|
|
Efl.Text_Cursor.cursor_line_char_first;
|
|
|
|
Efl.Text_Cursor.cursor_line_char_last;
|
|
|
|
Efl.Text_Cursor.cursor_char_next;
|
|
|
|
Efl.Text_Cursor.cursor_char_prev;
|
|
|
|
Efl.Text_Cursor.cursor_line_jump_by;
|
|
|
|
Efl.Text_Cursor.cursor_copy;
|
|
|
|
Efl.Text_Cursor.cursor_content { get; }
|
|
|
|
Efl.Text_Cursor.cursor_geometry { get; }
|
2018-11-06 06:52:53 -08:00
|
|
|
Efl.Text_Format.ellipsis { set; get; }
|
|
|
|
Efl.Text_Format.wrap { set; get; }
|
|
|
|
Efl.Text_Font.font { set; get; }
|
|
|
|
Efl.Text_Style.normal_color { set; get; }
|
|
|
|
Efl.Text_Style.backing_type { set; get; }
|
|
|
|
Efl.Text_Style.backing_color { set; get;}
|
|
|
|
Efl.Text_Style.underline_type { set; }
|
|
|
|
Efl.Text_Style.underline_color { set; get; }
|
|
|
|
Efl.Text_Style.underline2_color { set; get; }
|
|
|
|
Efl.Text_Style.underline_dashed_color { set; get; }
|
|
|
|
Efl.Text_Style.underline_height { set; }
|
|
|
|
Efl.Text_Style.underline_dashed_width { set; }
|
|
|
|
Efl.Text_Style.underline_dashed_gap { set; }
|
|
|
|
Efl.Text_Style.strikethrough_type { set; }
|
|
|
|
Efl.Text_Style.strikethrough_color { set; get; }
|
|
|
|
Efl.Text_Style.effect_type { set; }
|
|
|
|
Efl.Text_Style.shadow_direction { set; }
|
|
|
|
Efl.Text_Style.outline_color { set; get; }
|
|
|
|
Efl.Text_Style.shadow_color { set; get; }
|
|
|
|
Efl.Text_Style.glow_color { set; get; }
|
|
|
|
Efl.Text_Style.glow2_color { set; get; }
|
2017-05-30 00:31:19 -07:00
|
|
|
}
|
|
|
|
}
|