Update to latest eo specs

This commit is contained in:
Andy Williams 2016-04-24 22:48:58 +01:00
parent ea16ca83dc
commit 2987e4e7d8
1 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,10 @@
import evas_types;
import edje_types;
import elm_interface_scrollable;
struct @extern Elm_Code; /* The main interface currently defined in code */
struct @extern Elm_Code_Line; /* Parts of the interface currently defined in code */
class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
{
eo_prefix: elm_obj_code_widget;
@ -27,7 +34,7 @@ class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
}
values {
name: const(char) *; [[The name of the font to load]]
size: Evas_Font_Size; [[The font size for the widget]]
size: Evas.Font.Size; [[The font size for the widget]]
}
}
@property columns {
@ -63,8 +70,8 @@ class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
[[Get the widget's policy for scrollbar visibility.]]
}
values {
policy_h: Elm_Scroller_Policy; [[The horizontal scrollbar visibility policy]]
policy_v: Elm_Scroller_Policy; [[The vertical scrollbar visibility policy]]
policy_h: Elm.Scroller.Policy; [[The horizontal scrollbar visibility policy]]
policy_v: Elm.Scroller.Policy; [[The vertical scrollbar visibility policy]]
}
}
@property tabstop {
@ -98,7 +105,7 @@ class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
still be manipulated by a different widget or the filesystem.]]
}
values {
editable: Eina_Bool; [[The editable state of the widget]]
editable: bool; [[The editable state of the widget]]
}
}
@property line_numbers {
@ -112,7 +119,7 @@ class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
[[Get the status of line number display for this widget.]]
}
values {
line_numbers: Eina_Bool; [[Whether or not line numbers (or their placeholder) should be shown]]
line_numbers: bool; [[Whether or not line numbers (or their placeholder) should be shown]]
}
}
@property line_width_marker {
@ -137,7 +144,7 @@ class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
[[Get whether or not white space will be visible.]]
}
values {
show_whitespace: Eina_Bool; [[Whether or not we show whitespace characters]]
show_whitespace: bool; [[Whether or not we show whitespace characters]]
}
}
@property tab_inserts_spaces {
@ -148,7 +155,7 @@ class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
[[Get whether or not space characters will be inserted instead of tabs.]]
}
values {
tab_inserts_spaces: Eina_Bool; [[EINA_TRUE if we should insert space characters instead of a tab when the Tab key is pressed]]
tab_inserts_spaces: bool; [[EINA_TRUE if we should insert space characters instead of a tab when the Tab key is pressed]]
}
}
@property cursor_position {
@ -180,8 +187,8 @@ class Elm.Code_Widget (Elm.Layout, Elm.Interface_Atspi_Text)
position_at_coordinates_get {
[[get the row, col position for a given coordinate on the widget.]]
params {
x: Evas_Coord; [[the x coordinate in the widget]]
y: Evas_Coord; [[the y coordinate in the widget]]
x: Evas.Coord; [[the x coordinate in the widget]]
y: Evas.Coord; [[the y coordinate in the widget]]
row: uint *; [[the row for the coordinates]]
col: int *; [[the column for the coordinates]]
}