aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/edje/efl_canvas_layout_part_text.eo
blob: 4ea5d32349d8e5ed7f878e77ef1a0b31d788cd49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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,
}

class Efl.Canvas.Layout_Part_Text (Efl.Canvas.Layout_Part, Efl.Text,
Efl.Text_Markup, Efl.Text_Cursor, Efl.Text_Format, Efl.Text_Font,
Efl.Text_Style)
{
   [[Represents a TEXT part of a layout

     Its lifetime is limited to one function call only, unless an extra
     reference is explicitly held.
   ]]
   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.
           ]]  
           values {
              type: Efl.Canvas.Layout_Part_Text_Expand;
           }
        }

   }
   data: null;
   implements {
      Efl.Text.text { set; get; }
      Efl.Text_Markup.markup { get; set; }
      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; }
      Efl.Text_Markup.cursor_markup_insert;
      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; }
   }
}