Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
/**
|
|
|
|
* @brief Add a new Photocam object
|
|
|
|
*
|
|
|
|
* @param parent The parent object
|
|
|
|
* @return The new object or NULL if it cannot be created
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_Photocam
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
*/
|
|
|
|
EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
|
|
|
|
|
2013-04-28 04:37:51 -07:00
|
|
|
/**
|
|
|
|
* @brief Bring in the viewed portion of the image
|
|
|
|
*
|
|
|
|
* @param obj The photocam object
|
|
|
|
* @param x X-coordinate of region in image original pixels
|
|
|
|
* @param y Y-coordinate of region in image original pixels
|
|
|
|
* @param w Width of region in image original pixels
|
|
|
|
* @param h Height of region in image original pixels
|
|
|
|
*
|
|
|
|
* This shows the region of the image using animation.
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_Photocam
|
2013-04-28 04:37:51 -07:00
|
|
|
*/
|
|
|
|
EAPI void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
|
|
|
|
|
2015-05-05 05:16:19 -07:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @brief Set the photo file to be shown
|
|
|
|
*
|
|
|
|
* @return The return error (see EVAS_LOAD_ERROR_NONE, EVAS_LOAD_ERROR_GENERIC etc.)
|
|
|
|
*
|
|
|
|
* This sets (and shows) the specified file (with a relative or absolute
|
|
|
|
* path) and will return a load error (same error that
|
|
|
|
* evas_object_image_load_error_get() will return). The image will change and
|
|
|
|
* adjust its size at this point and begin a background load process for this
|
|
|
|
* photo that at some time in the future will be displayed at the full
|
|
|
|
* quality needed.
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_Photocam
|
2015-05-05 05:16:19 -07:00
|
|
|
*
|
|
|
|
* @param[in] file The photo file
|
|
|
|
*/
|
|
|
|
EAPI Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const char *file);
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @brief Returns the path of the current image file
|
|
|
|
*
|
|
|
|
* @return Returns the path
|
|
|
|
*
|
|
|
|
* @see elm_photocam_file_set()
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_Photocam
|
2015-05-05 05:16:19 -07:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
EAPI const char *elm_photocam_file_get(const Evas_Object *obj);
|
|
|
|
|
2017-05-14 22:48:03 -07:00
|
|
|
/**
|
|
|
|
* @brief Set the photocam image orientation.
|
|
|
|
*
|
|
|
|
* This function allows to rotate or flip the photocam image.
|
|
|
|
*
|
|
|
|
* @param[in] orient The photocam image orientation @ref Evas_Image_Orient.
|
|
|
|
* Default is #EVAS_IMAGE_ORIENT_NONE.
|
|
|
|
*
|
|
|
|
* @since 1.14
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Photocam
|
|
|
|
*/
|
2017-05-15 01:27:22 -07:00
|
|
|
EAPI void elm_photocam_image_orient_set(Evas_Object *obj, Evas_Image_Orient orient);
|
2017-05-14 22:48:03 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Get the photocam image orientation.
|
|
|
|
*
|
|
|
|
* @return The photocam image orientation @ref Evas_Image_Orient. Default is
|
|
|
|
* #EVAS_IMAGE_ORIENT_NONE.
|
|
|
|
*
|
|
|
|
* @since 1.14
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Photocam
|
|
|
|
*/
|
2017-05-15 01:27:22 -07:00
|
|
|
EAPI Evas_Image_Orient elm_photocam_image_orient_get(const Evas_Object *obj);
|
2017-05-14 22:48:03 -07:00
|
|
|
|
2017-05-16 19:33:13 -07:00
|
|
|
/**
|
|
|
|
* @brief Get the internal low-res image used for photocam
|
|
|
|
*
|
|
|
|
* This gets the internal image object inside photocam. Do not modify it. It is
|
|
|
|
* for inspection only, and hooking callbacks to. Nothing else. It may be
|
|
|
|
* deleted at any time as well.
|
|
|
|
*
|
|
|
|
* @return The internal image object handle or @c null
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Photocam
|
|
|
|
*/
|
|
|
|
EAPI Evas_Object* elm_photocam_internal_image_get(const Evas_Object *obj);
|
|
|
|
|
2017-05-14 22:48:03 -07:00
|
|
|
#include "elm_photocam.eo.legacy.h"
|