summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2016-04-24 22:48:58 +0100
committerAndy Williams <andy@andywilliams.me>2016-04-24 22:48:58 +0100
commit2987e4e7d87f6ee0b95df2aa41021b468d824240 (patch)
tree1a07eda9a264eaa074084f360a943e809b25a3d4
parentea16ca83dc074031cafb5a3597d3cec99bffb4be (diff)
downloadefl-2987e4e7d87f6ee0b95df2aa41021b468d824240.tar.gz
Update to latest eo specs
-rw-r--r--legacy/elm_code/src/lib/widget/elm_code_widget.eo25
1 files changed, 16 insertions, 9 deletions
diff --git a/legacy/elm_code/src/lib/widget/elm_code_widget.eo b/legacy/elm_code/src/lib/widget/elm_code_widget.eo
index 6354ecdb63..fad17477c2 100644
--- a/legacy/elm_code/src/lib/widget/elm_code_widget.eo
+++ b/legacy/elm_code/src/lib/widget/elm_code_widget.eo
@@ -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]]
}