ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=b8665e1bae53ffb4da3623e2218bbbadc80d9493

commit b8665e1bae53ffb4da3623e2218bbbadc80d9493
Author: Andy Williams <a...@andywilliams.me>
Date:   Sun Apr 24 22:48:58 2016 +0100

    Update to latest eo specs
---
 configure.ac                               |  2 +-
 elm_code/src/lib/widget/elm_code_widget.eo | 25 ++++++++++++++++---------
 2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1fd2e05..274967c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,7 +77,7 @@ AM_CONDITIONAL([HAVE_EOLIAN_GEN], [true])
 
 # Needs to be moved into a macro, and also, needs a way to automatically fetch
 # from all the dependencies using the Requires.
-DEPS_EOLIAN_FLAGS=`${PKG_CONFIG} --variable=eolian_flags eo evas efl 
elementary`
+DEPS_EOLIAN_FLAGS=`${PKG_CONFIG} --variable=eolian_flags eo evas edje efl 
elementary`
 AC_SUBST([DEPS_EOLIAN_FLAGS])
 
 
diff --git a/elm_code/src/lib/widget/elm_code_widget.eo 
b/elm_code/src/lib/widget/elm_code_widget.eo
index 6354ecd..fad1747 100644
--- a/elm_code/src/lib/widget/elm_code_widget.eo
+++ b/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]]
          }

-- 


Reply via email to