summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry <larry.olj@gmail.com>2016-02-15 16:36:40 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-22 10:38:26 -0300
commit2df608aca31cc415150726249810a4a7633ad73d (patch)
tree9cdf836e254d35d5633f958de4c6f7ecc58be24c
parent4e369975a1d5449305cc354949a2e32a4f783f95 (diff)
Elm_photocam: moved enum Elm_photocam_Zoom_mode to elm_photocam.eo
-rw-r--r--src/lib/elm_photocam.eo14
-rw-r--r--src/lib/elm_photocam.h12
2 files changed, 12 insertions, 14 deletions
diff --git a/src/lib/elm_photocam.eo b/src/lib/elm_photocam.eo
index d540dab9f..4537630c9 100644
--- a/src/lib/elm_photocam.eo
+++ b/src/lib/elm_photocam.eo
@@ -1,3 +1,13 @@
1enum Elm.Photocam.Zoom_Mode
2{
3 [[Types of zoom available.]]
4 manual = 0, [[Zoom controlled normally by elm_photocam_zoom_set]]
5 auto_fit, [[Zoom until photo fits in photocam]]
6 auto_fill, [[Zoom until photo fills photocam]]
7 auto_fit_in, [[Zoom in until photo fits in photocam]]
8 last
9}
10
1class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable, 11class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable,
2 Elm.Interface_Atspi_Widget_Action, Efl.File, 12 Elm.Interface_Atspi_Widget_Action, Efl.File,
3 Evas.Clickable_Interface, Evas.Scrollable_Interface, 13 Evas.Clickable_Interface, Evas.Scrollable_Interface,
@@ -95,7 +105,7 @@ class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable,
95 ]] 105 ]]
96 } 106 }
97 values { 107 values {
98 mode: Elm_Photocam_Zoom_Mode; [[The zoom mode.]] 108 mode: Elm.Photocam.Zoom_Mode; [[The zoom mode.]]
99 } 109 }
100 } 110 }
101 @property image_region { 111 @property image_region {
@@ -153,7 +163,7 @@ class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable,
153 ]] 163 ]]
154 } 164 }
155 values { 165 values {
156 orient: Evas_Image_Orient; [[The photocam image orientation 166 orient: Evas.Image.Orient; [[The photocam image orientation
157 \@ref Evas_Image_Orient. Default is 167 \@ref Evas_Image_Orient. Default is
158 #EVAS_IMAGE_ORIENT_NONE. 168 #EVAS_IMAGE_ORIENT_NONE.
159 ]] 169 ]]
diff --git a/src/lib/elm_photocam.h b/src/lib/elm_photocam.h
index ac7f8b022..c3b5b82e6 100644
--- a/src/lib/elm_photocam.h
+++ b/src/lib/elm_photocam.h
@@ -57,18 +57,6 @@
57 */ 57 */
58 58
59/** 59/**
60 * @brief Types of zoom available.
61 */
62typedef enum
63{
64 ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_photocam_zoom_set */
65 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
66 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
67 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN, /**< Zoom in until photo fits in photocam */
68 ELM_PHOTOCAM_ZOOM_MODE_LAST
69} Elm_Photocam_Zoom_Mode;
70
71/**
72 * Structure associated with smart callback 'download,progress'. 60 * Structure associated with smart callback 'download,progress'.
73 * @since 1.8 61 * @since 1.8
74 */ 62 */