felipealmeida pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=2df608aca31cc415150726249810a4a7633ad73d
commit 2df608aca31cc415150726249810a4a7633ad73d Author: Larry <larry....@gmail.com> Date: Mon Feb 15 16:36:40 2016 -0200 Elm_photocam: moved enum Elm_photocam_Zoom_mode to elm_photocam.eo --- src/lib/elm_photocam.eo | 14 ++++++++++++-- src/lib/elm_photocam.h | 12 ------------ 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/lib/elm_photocam.eo b/src/lib/elm_photocam.eo index d540dab..4537630 100644 --- a/src/lib/elm_photocam.eo +++ b/src/lib/elm_photocam.eo @@ -1,3 +1,13 @@ +enum Elm.Photocam.Zoom_Mode +{ + [[Types of zoom available.]] + manual = 0, [[Zoom controlled normally by elm_photocam_zoom_set]] + auto_fit, [[Zoom until photo fits in photocam]] + auto_fill, [[Zoom until photo fills photocam]] + auto_fit_in, [[Zoom in until photo fits in photocam]] + last +} + class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable, Elm.Interface_Atspi_Widget_Action, Efl.File, Evas.Clickable_Interface, Evas.Scrollable_Interface, @@ -95,7 +105,7 @@ class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable, ]] } values { - mode: Elm_Photocam_Zoom_Mode; [[The zoom mode.]] + mode: Elm.Photocam.Zoom_Mode; [[The zoom mode.]] } } @property image_region { @@ -153,7 +163,7 @@ class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable, ]] } values { - orient: Evas_Image_Orient; [[The photocam image orientation + orient: Evas.Image.Orient; [[The photocam image orientation \@ref Evas_Image_Orient. Default is #EVAS_IMAGE_ORIENT_NONE. ]] diff --git a/src/lib/elm_photocam.h b/src/lib/elm_photocam.h index ac7f8b0..c3b5b82 100644 --- a/src/lib/elm_photocam.h +++ b/src/lib/elm_photocam.h @@ -57,18 +57,6 @@ */ /** - * @brief Types of zoom available. - */ -typedef enum -{ - ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_photocam_zoom_set */ - ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */ - ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */ - ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN, /**< Zoom in until photo fits in photocam */ - ELM_PHOTOCAM_ZOOM_MODE_LAST -} Elm_Photocam_Zoom_Mode; - -/** * Structure associated with smart callback 'download,progress'. * @since 1.8 */ --