Elm_photocam: moved enum Elm_photocam_Zoom_mode to elm_photocam.eo

This commit is contained in:
Larry 2016-02-15 16:36:40 -02:00 committed by Felipe Magno de Almeida
parent 597a142622
commit ccd53a7c77
2 changed files with 12 additions and 14 deletions

View File

@ -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.
]]

View File

@ -56,18 +56,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