summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry <larry.olj@gmail.com>2016-02-25 18:54:09 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-25 23:16:09 -0300
commit9ad391f6eff0e7d0d2f734a09b480e4c31173321 (patch)
tree3f92fc25625f6b5591b93acc565e47072d441792
parentd6c65ac9d9bed0d508fa42c19dd55b7206aa9eff (diff)
elm_web: define elm_web_zoom_mode in eolian file elm_web.eo
-rw-r--r--src/lib/elm_view_form.eo2
-rw-r--r--src/lib/elm_view_list.eo4
-rw-r--r--src/lib/elm_web.eo11
-rw-r--r--src/lib/elm_web_common.h10
4 files changed, 13 insertions, 14 deletions
diff --git a/src/lib/elm_view_form.eo b/src/lib/elm_view_form.eo
index f9c47b40a..f2ebb19e6 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)
18 ]] 18 ]]
19 params { 19 params {
20 @in propname: const(char)*; [[Property name]] 20 @in propname: const(char)*; [[Property name]]
21 @in evas: Evas_Object*; [[Evas widget]] 21 @in evas: Evas.Object *; [[Evas widget]]
22 } 22 }
23 } 23 }
24 } 24 }
diff --git a/src/lib/elm_view_list.eo b/src/lib/elm_view_list.eo
index 86f0d19c9..5dc3ded09 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)
8 @since 1.11 8 @since 1.11
9 ]] 9 ]]
10 params { 10 params {
11 @in genlist: Evas_Object*; [[Genlist object]] 11 @in genlist: Evas.Object*; [[Genlist object]]
12 @in item_type: Elm.Genlist.Item.Type; [[Item type]] 12 @in item_type: Elm.Genlist.Item.Type; [[Item type]]
13 @in item_style: const(char)*; [[The current item style name. $null would be default.]] 13 @in item_style: const(char)*; [[The current item style name. $null would be default.]]
14 } 14 }
@@ -19,7 +19,7 @@ class Elm.View_List (Eo.Base)
19 @since 1.11 19 @since 1.11
20 ]] 20 ]]
21 params { 21 params {
22 @out widget: Evas_Object*; [[Returned widget]] 22 @out widget: Evas.Object*; [[Returned widget]]
23 } 23 }
24 } 24 }
25 property_connect { 25 property_connect {
diff --git a/src/lib/elm_web.eo b/src/lib/elm_web.eo
index b84c0b866..ddeec3d78 100644
--- a/src/lib/elm_web.eo
+++ b/src/lib/elm_web.eo
@@ -1,3 +1,12 @@
1enum Elm.Web.Zoom_Mode
2{
3 [[Types of zoom available.]]
4 manual = 0, [[Zoom controlled normally by elm_web_zoom_set]]
5 auto_fit, [[Zoom until content fits in web object]]
6 auto_fill, [[Zoom until content fills web object]]
7 last [[Sentinel value to indicate end]]
8}
9
1class Elm.Web (Elm.Widget) 10class Elm.Web (Elm.Widget)
2{ 11{
3 eo_prefix: elm_obj_web; 12 eo_prefix: elm_obj_web;
@@ -143,7 +152,7 @@ class Elm.Web (Elm.Widget)
143 [[Get the currently set zoom mode.]] 152 [[Get the currently set zoom mode.]]
144 } 153 }
145 values { 154 values {
146 mode: Elm_Web_Zoom_Mode; [[The mode to set.]] 155 mode: Elm.Web.Zoom_Mode; [[The mode to set.]]
147 } 156 }
148 } 157 }
149 @property zoom { 158 @property zoom {
diff --git a/src/lib/elm_web_common.h b/src/lib/elm_web_common.h
index 879b9276b..04bbea2ff 100644
--- a/src/lib/elm_web_common.h
+++ b/src/lib/elm_web_common.h
@@ -113,16 +113,6 @@ struct _Elm_Web_Download
113 const char *url; 113 const char *url;
114}; 114};
115 115
116/**
117 * Types of zoom available.
118 */
119typedef enum
120{
121 ELM_WEB_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_web_zoom_set */
122 ELM_WEB_ZOOM_MODE_AUTO_FIT, /**< Zoom until content fits in web object */
123 ELM_WEB_ZOOM_MODE_AUTO_FILL, /**< Zoom until content fills web object */
124 ELM_WEB_ZOOM_MODE_LAST /**< Sentinel value to indicate end */
125} Elm_Web_Zoom_Mode;
126 116
127/** 117/**
128 * Opaque handler containing the features (such as statusbar, menubar, etc) 118 * Opaque handler containing the features (such as statusbar, menubar, etc)