2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @defgroup Elm_Photocam Photocam
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-07-04 14:43:29 -07:00
|
|
|
* @image html photocam_inheritance_tree.png
|
|
|
|
* @image latex photocam_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/photocam/preview-00.png
|
|
|
|
* @image latex img/widget/photocam/preview-00.eps
|
|
|
|
*
|
2012-07-04 14:43:29 -07:00
|
|
|
* Photocam is a widget meant specifically for displaying
|
|
|
|
* high-resolution digital camera photos, giving speedy feedback (fast
|
|
|
|
* load), zooming and panning as well as fitting logic, all with low
|
|
|
|
* memory footprint. It is entirely focused on @b jpeg images, and
|
|
|
|
* takes advantage of properties of the jpeg format (via Evas loader
|
|
|
|
* features in the jpeg loader).
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* Signals that you can add callbacks for are:
|
2012-07-04 14:43:29 -07:00
|
|
|
* @li @c "clicked" - This is called when a user has clicked the photo
|
|
|
|
* without dragging around.
|
|
|
|
* @li @c "press" - This is called when a user has pressed down on the
|
|
|
|
* photo.
|
|
|
|
* @li @c "longpressed" - This is called when a user has pressed down
|
|
|
|
* on the photo for a long time without dragging around.
|
|
|
|
* @li @c "clicked,double" - This is called when a user has
|
|
|
|
* double-clicked the photo.
|
|
|
|
* @li @c "load" - Photo load begins.
|
|
|
|
* @li @c "loaded" - This is called when the image file load is
|
|
|
|
* complete for the first view (low resolution blurry version).
|
|
|
|
* @li @c "load,detail" - Photo detailed data load begins.
|
|
|
|
* @li @c "loaded,detail" - This is called when the image file load is
|
|
|
|
* complete for the detailed image data (full resolution
|
|
|
|
* needed).
|
|
|
|
* @li @c "zoom,start" - Zoom animation started.
|
|
|
|
* @li @c "zoom,stop" - Zoom animation stopped.
|
|
|
|
* @li @c "zoom,change" - Zoom changed when using an auto zoom mode.
|
|
|
|
* @li @c "scroll" - the content has been scrolled (moved)
|
|
|
|
* @li @c "scroll,anim,start" - scrolling animation has started
|
|
|
|
* @li @c "scroll,anim,stop" - scrolling animation has stopped
|
|
|
|
* @li @c "scroll,drag,start" - dragging the contents around has started
|
|
|
|
* @li @c "scroll,drag,stop" - dragging the contents around has stopped
|
elm: added more "focused" and "unfocused" documentations.
genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win.
2013-06-09 22:12:51 -07:00
|
|
|
* @li @c "focused" - When the photocam has received focus. (since 1.8)
|
|
|
|
* @li @c "unfocused" - When the photocam has lost focus. (since 1.8)
|
2012-07-04 14:43:29 -07:00
|
|
|
*
|
2020-03-12 03:12:29 -07:00
|
|
|
* This widget implements the @ref elm-scrollable-interface
|
2012-07-04 14:43:29 -07:00
|
|
|
* interface, so that all (non-deprecated) functions for the base @ref
|
|
|
|
* Scroller widget also work for photocam objects.
|
|
|
|
*
|
|
|
|
* Some calls on the photocam's API are marked as @b deprecated, as
|
|
|
|
* they just wrap the scrollable widgets counterpart functions. Use
|
|
|
|
* the ones we point you to, for each case of deprecation here,
|
|
|
|
* instead -- eventually the deprecated ones will be discarded (next
|
|
|
|
* major release).
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @ref tutorial_photocam shows the API in action.
|
|
|
|
* @{
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2013-08-11 20:14:45 -07:00
|
|
|
/**
|
|
|
|
* Structure associated with smart callback 'download,progress'.
|
|
|
|
* @since 1.8
|
|
|
|
*/
|
|
|
|
typedef struct _Elm_Photocam_Progress Elm_Photocam_Progress;
|
|
|
|
|
|
|
|
struct _Elm_Photocam_Progress
|
|
|
|
{
|
|
|
|
double now;
|
|
|
|
double total;
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Structre associated with smart callback 'download,error'
|
|
|
|
* @since 1.8
|
|
|
|
*/
|
|
|
|
typedef struct _Elm_Photocam_Error Elm_Photocam_Error;
|
|
|
|
struct _Elm_Photocam_Error
|
|
|
|
{
|
|
|
|
int status;
|
|
|
|
|
|
|
|
Eina_Bool open_error;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_photocam_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|