felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=9ad391f6eff0e7d0d2f734a09b480e4c31173321

commit 9ad391f6eff0e7d0d2f734a09b480e4c31173321
Author: Larry <larry....@gmail.com>
Date:   Thu Feb 25 18:54:09 2016 -0300

    elm_web: define elm_web_zoom_mode in eolian file elm_web.eo
---
 src/lib/elm_view_form.eo |  2 +-
 src/lib/elm_view_list.eo |  4 ++--
 src/lib/elm_web.eo       | 11 ++++++++++-
 src/lib/elm_web_common.h | 10 ----------
 4 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/src/lib/elm_view_form.eo b/src/lib/elm_view_form.eo
index f9c47b4..f2ebb19 100644
--- a/src/lib/elm_view_form.eo
+++ b/src/lib/elm_view_form.eo
@@ -18,7 +18,7 @@ class Elm.View_Form (Eo.Base)
              ]]
              params {
                  @in propname: const(char)*; [[Property name]]
-                 @in evas: Evas_Object*; [[Evas widget]]
+                 @in evas: Evas.Object *; [[Evas widget]]
              }
         }
     }
diff --git a/src/lib/elm_view_list.eo b/src/lib/elm_view_list.eo
index 86f0d19..5dc3ded 100644
--- a/src/lib/elm_view_list.eo
+++ b/src/lib/elm_view_list.eo
@@ -8,7 +8,7 @@ class Elm.View_List (Eo.Base)
                @since 1.11
              ]]
              params {
-                 @in genlist: Evas_Object*; [[Genlist object]]
+                 @in genlist: Evas.Object*; [[Genlist object]]
                  @in item_type: Elm.Genlist.Item.Type; [[Item type]]
                  @in item_style: const(char)*; [[The current item style name. 
$null would be default.]]
              }
@@ -19,7 +19,7 @@ class Elm.View_List (Eo.Base)
                @since 1.11
              ]]
              params {
-                 @out widget: Evas_Object*; [[Returned widget]]
+                 @out widget: Evas.Object*; [[Returned widget]]
              }
         }
         property_connect {
diff --git a/src/lib/elm_web.eo b/src/lib/elm_web.eo
index b84c0b8..ddeec3d 100644
--- a/src/lib/elm_web.eo
+++ b/src/lib/elm_web.eo
@@ -1,3 +1,12 @@
+enum Elm.Web.Zoom_Mode
+{
+   [[Types of zoom available.]]
+   manual = 0, [[Zoom controlled normally by elm_web_zoom_set]]
+   auto_fit, [[Zoom until content fits in web object]]
+   auto_fill, [[Zoom until content fills web object]]
+   last [[Sentinel value to indicate end]]
+}
+
 class Elm.Web (Elm.Widget)
 {
    eo_prefix: elm_obj_web;
@@ -143,7 +152,7 @@ class Elm.Web (Elm.Widget)
             [[Get the currently set zoom mode.]]
          }
          values {
-            mode: Elm_Web_Zoom_Mode; [[The mode to set.]]
+            mode: Elm.Web.Zoom_Mode; [[The mode to set.]]
          }
       }
       @property zoom {
diff --git a/src/lib/elm_web_common.h b/src/lib/elm_web_common.h
index 879b927..04bbea2 100644
--- a/src/lib/elm_web_common.h
+++ b/src/lib/elm_web_common.h
@@ -113,16 +113,6 @@ struct _Elm_Web_Download
    const char *url;
 };
 
-/**
- * Types of zoom available.
- */
-typedef enum
-{
-   ELM_WEB_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by 
elm_web_zoom_set */
-   ELM_WEB_ZOOM_MODE_AUTO_FIT, /**< Zoom until content fits in web object */
-   ELM_WEB_ZOOM_MODE_AUTO_FILL, /**< Zoom until content fills web object */
-   ELM_WEB_ZOOM_MODE_LAST /**< Sentinel value to indicate end */
-} Elm_Web_Zoom_Mode;
 
 /**
  * Opaque handler containing the features (such as statusbar, menubar, etc)

-- 


Reply via email to