Eolian: Eo header clean and legacy integration.

Elementary Popup
  Elementary Panes
  Elementary Photo
  Elementary Photocam
  Elementary Plug
  Elementary Prefs
  Elementary Progress Bar
  Elementary Radio
  Elementary Route
  Elementary Scroller
  Elementary Segment Control
  Elementary Separator
devs/felipealmeida/promises
Yossi Kantor 9 years ago committed by Daniel Zaoui
parent 82ad449e56
commit e4f4de0604
  1. 27
      legacy/elementary/src/lib/Makefile.am
  2. 165
      legacy/elementary/src/lib/elc_popup_eo.h
  3. 157
      legacy/elementary/src/lib/elc_popup_legacy.h
  4. 137
      legacy/elementary/src/lib/elm_panes_eo.h
  5. 143
      legacy/elementary/src/lib/elm_panes_legacy.h
  6. 171
      legacy/elementary/src/lib/elm_photo_eo.h
  7. 89
      legacy/elementary/src/lib/elm_photo_legacy.h
  8. 240
      legacy/elementary/src/lib/elm_photocam_eo.h
  9. 217
      legacy/elementary/src/lib/elm_photocam_legacy.h
  10. 51
      legacy/elementary/src/lib/elm_plug_eo.h
  11. 30
      legacy/elementary/src/lib/elm_plug_legacy.h
  12. 351
      legacy/elementary/src/lib/elm_prefs_eo.h
  13. 367
      legacy/elementary/src/lib/elm_prefs_legacy.h
  14. 1
      legacy/elementary/src/lib/elm_progressbar.h
  15. 3
      legacy/elementary/src/lib/elm_progressbar_common.h
  16. 268
      legacy/elementary/src/lib/elm_progressbar_eo.h
  17. 272
      legacy/elementary/src/lib/elm_progressbar_legacy.h
  18. 125
      legacy/elementary/src/lib/elm_radio_eo.h
  19. 91
      legacy/elementary/src/lib/elm_radio_legacy.h
  20. 66
      legacy/elementary/src/lib/elm_route_eo.h
  21. 40
      legacy/elementary/src/lib/elm_route_legacy.h
  22. 86
      legacy/elementary/src/lib/elm_scroller_eo.h
  23. 62
      legacy/elementary/src/lib/elm_scroller_legacy.h
  24. 146
      legacy/elementary/src/lib/elm_segment_control_eo.h
  25. 172
      legacy/elementary/src/lib/elm_segment_control_legacy.h
  26. 49
      legacy/elementary/src/lib/elm_separator_eo.h
  27. 22
      legacy/elementary/src/lib/elm_separator_legacy.h

@ -329,6 +329,7 @@ elm_prefs_eo.h \
elm_prefs_legacy.h \
elm_prefs_data.h \
elm_progressbar.h \
elm_progressbar_common.h \
elm_progressbar_eo.h \
elm_progressbar_legacy.h \
elm_radio.h \
@ -700,32 +701,44 @@ BUILT_SOURCES = \
elm_notify.eo.legacy.h \
elm_panes.eo.c \
elm_panes.eo.h \
elm_panes.eo.legacy.h \
elm_photocam.eo.c \
elm_photocam.eo.h \
elm_photocam.eo.legacy.h \
elm_photocam_pan.eo.c \
elm_photocam_pan.eo.h \
elm_photo.eo.c \
elm_photo.eo.h \
elm_photo.eo.legacy.h \
elc_player.eo.c \
elc_player.eo.h \
elm_plug.eo.c \
elm_plug.eo.h \
elm_plug.eo.legacy.h \
elc_popup.eo.c \
elc_popup.eo.h \
elc_popup.eo.legacy.h \
elm_prefs.eo.c \
elm_prefs.eo.h \
elm_prefs.eo.legacy.h \
elm_progressbar.eo.c \
elm_progressbar.eo.h \
elm_progressbar.eo.legacy.h \
elm_radio.eo.c \
elm_radio.eo.h \
elm_radio.eo.legacy.h \
elm_route.eo.c \
elm_route.eo.h \
elm_route.eo.legacy.h \
elm_scroller.eo.c \
elm_scroller.eo.h \
elm_scroller.eo.legacy.h \
elm_segment_control.eo.c \
elm_segment_control.eo.h \
elm_segment_control.eo.legacy.h \
elm_separator.eo.c \
elm_separator.eo.h \
elm_separator.eo.legacy.h \
elm_slider.eo.c \
elm_slider.eo.h \
elm_slideshow.eo.c \
@ -965,4 +978,16 @@ nodist_includesunstable_HEADERS = \
elc_naviframe.eo.legacy.h \
elm_panel.eo.legacy.h \
elm_mapbuf.eo.legacy.h \
elm_notify.eo.legacy.h
elm_notify.eo.legacy.h \
elm_panes.eo.legacy.h \
elm_photocam.eo.legacy.h \
elm_photo.eo.legacy.h \
elm_plug.eo.legacy.h \
elc_popup.eo.legacy.h \
elm_prefs.eo.legacy.h \
elm_progressbar.eo.legacy.h \
elm_radio.eo.legacy.h \
elm_route.eo.legacy.h \
elm_scroller.eo.legacy.h \
elm_segment_control.eo.legacy.h \
elm_separator.eo.legacy.h

@ -3,172 +3,9 @@
*
* @{
*/
#include "elc_popup.eo.h"
#if 0
#define ELM_OBJ_POPUP_CLASS elm_obj_popup_class_get()
const Eo_Class *elm_obj_popup_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_POPUP_BASE_ID;
enum
{
ELM_OBJ_POPUP_SUB_ID_CONTENT_TEXT_WRAP_TYPE_SET,
ELM_OBJ_POPUP_SUB_ID_CONTENT_TEXT_WRAP_TYPE_GET,
ELM_OBJ_POPUP_SUB_ID_ORIENT_SET,
ELM_OBJ_POPUP_SUB_ID_ORIENT_GET,
ELM_OBJ_POPUP_SUB_ID_TIMEOUT_SET,
ELM_OBJ_POPUP_SUB_ID_TIMEOUT_GET,
ELM_OBJ_POPUP_SUB_ID_ALLOW_EVENTS_SET,
ELM_OBJ_POPUP_SUB_ID_ALLOW_EVENTS_GET,
ELM_OBJ_POPUP_SUB_ID_ITEM_APPEND,
ELM_OBJ_POPUP_SUB_ID_ALIGN_SET,
ELM_OBJ_POPUP_SUB_ID_ALIGN_GET,
ELM_OBJ_POPUP_SUB_ID_LAST
};
#define ELM_OBJ_POPUP_ID(sub_id) (ELM_OBJ_POPUP_BASE_ID + sub_id)
/**
* @def elm_obj_popup_content_text_wrap_type_set
* @since 1.8
*
* @brief Sets the wrapping type of content text packed in content
*
* @param[in] wrap
*
* @see elm_popup_content_text_wrap_type_set
*/
#define elm_obj_popup_content_text_wrap_type_set(wrap) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_CONTENT_TEXT_WRAP_TYPE_SET), EO_TYPECHECK(Elm_Wrap_Type, wrap)
/**
* @def elm_obj_popup_content_text_wrap_type_get
* @since 1.8
*
* @brief Returns the wrapping type of content text packed in content area of
* area of popup object.
*
* @param[out] ret
*
* @see elm_popup_content_text_wrap_type_get
*/
#define elm_obj_popup_content_text_wrap_type_get(ret) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_CONTENT_TEXT_WRAP_TYPE_GET), EO_TYPECHECK(Elm_Wrap_Type *, ret)
/**
* @def elm_obj_popup_orient_set
* @since 1.8
*
* @brief Sets the orientation of the popup in the parent region
*
* @param[in] orient
*
* @see elm_popup_orient_set
*/
#define elm_obj_popup_orient_set(orient) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_ORIENT_SET), EO_TYPECHECK(Elm_Popup_Orient, orient)
/**
* @def elm_obj_popup_orient_get
* @since 1.8
*
* @brief Returns the orientation of Popup
*
* @param[out] ret
*
* @see elm_popup_orient_get
*/
#define elm_obj_popup_orient_get(ret) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_ORIENT_GET), EO_TYPECHECK(Elm_Popup_Orient *, ret)
/**
* @def elm_obj_popup_timeout_set
* @since 1.8
*
* @brief Sets a timeout to hide popup automatically
*
* @param[in] timeout
*
* @see elm_popup_timeout_set
*/
#define elm_obj_popup_timeout_set(timeout) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_TIMEOUT_SET), EO_TYPECHECK(double, timeout)
/**
* @def elm_obj_popup_timeout_get
* @since 1.8
*
* @brief Returns the timeout value set to the popup (in seconds)
*
* @param[out] ret
*
* @see elm_popup_timeout_get
*/
#define elm_obj_popup_timeout_get(ret) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_TIMEOUT_GET), EO_TYPECHECK(double *, ret)
/**
* @def elm_obj_popup_allow_events_set
* @since 1.8
*
* @brief Sets whether events should be passed to by a click outside.
*
* @param[in] allow
*
* @see elm_popup_allow_events_set
*/
#define elm_obj_popup_allow_events_set(allow) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_ALLOW_EVENTS_SET), EO_TYPECHECK(Eina_Bool, allow)
/**
* @def elm_obj_popup_allow_events_get
* @since 1.8
*
* @brief Returns value indicating whether allow event is enabled or not
*
* @param[out] ret
*
* @see elm_popup_allow_events_get
*/
#define elm_obj_popup_allow_events_get(ret) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_ALLOW_EVENTS_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_popup_item_append
* @since 1.8
*
* @brief Add a new item to a Popup object
*
* @param[in] label
* @param[in] icon
* @param[in] func
* @param[in] data
* @param[out] ret
*
* @see elm_popup_item_append
*/
#define elm_obj_popup_item_append(label, icon, func, data, ret) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_ITEM_APPEND), EO_TYPECHECK(const char *, label), EO_TYPECHECK(Evas_Object *, icon), EO_TYPECHECK(Evas_Smart_Cb, func), EO_TYPECHECK(const void *, data), EO_TYPECHECK(Elm_Object_Item **, ret)
/**
* @def elm_obj_popup_align_set
* @since 1.9
*
* @brief Set the alignment of the popup object relative to its parent
*
* @param[in] horizontal
* @param[in] vertical
*
* @see elm_popup_align_set
*/
#define elm_obj_popup_align_set(horizontal, vertical) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_ALIGN_SET), EO_TYPECHECK(double, horizontal), EO_TYPECHECK(double, vertical)
#include "elc_popup.eo.h"
/**
* @def elm_obj_popup_align_get
* @since 1.9
*
* @brief Return the alignment of the popup object relative to its parent
*
* @param[out] horizontal
* @param[out] vertical
*
* @see elm_popup_align_get
*/
#define elm_obj_popup_align_get(horizontal, vertical) ELM_OBJ_POPUP_ID(ELM_OBJ_POPUP_SUB_ID_ALIGN_GET), EO_TYPECHECK(double *, horizontal), EO_TYPECHECK(double *, vertical)
#endif
/**
* @}
*/

@ -8,159 +8,4 @@
*/
EAPI Evas_Object *elm_popup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
/**
* @brief Sets the wrapping type of content text packed in content
* area of popup object.
*
* @param obj The Popup object
* @param wrap wrapping type of type Elm_Wrap_Type
*
* @ingroup Popup
* @see elm_popup_content_text_wrap_type_get()
*/
EAPI void elm_popup_content_text_wrap_type_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
/**
* @brief Returns the wrapping type of content text packed in content area of
* popup object.
*
* @param obj The Popup object
* @return wrap type of the content text
*
* @ingroup Popup
* @see elm_popup_content_text_wrap_type_set
*/
EAPI Elm_Wrap_Type elm_popup_content_text_wrap_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* @brief Sets the orientation of the popup in the parent region
*
* @param obj The popup object
* @param orient the orientation of the popup
*
* Sets the position in which popup will appear in its parent. By default,
* #ELM_POPUP_ORIENT_CENTER is set.
*
* @ingroup Popup
* @see @ref Elm_Popup_Orient for possible values.
*/
EAPI void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient) EINA_ARG_NONNULL(1);
/**
* @brief Returns the orientation of Popup
*
* @param obj The popup object
* @return the orientation of the popup
*
* @ingroup Popup
* @see elm_popup_orient_set()
* @see Elm_Popup_Orient
*/
EAPI Elm_Popup_Orient elm_popup_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* @brief Sets a timeout to hide popup automatically
*
* @param obj The popup object
* @param timeout The timeout in seconds
*
* This function sets a timeout and starts the timer controlling when the
* popup is hidden. Since calling evas_object_show() on a popup restarts
* the timer controlling when it is hidden, setting this before the
* popup is shown will in effect mean starting the timer when the popup is
* shown. Smart signal "timeout" is called afterwards which can be handled
* if needed.
*
* @note Set a value <= 0.0 to disable a running timer.
*
* @note If the value > 0.0 and the popup is previously visible, the
* timer will be started with this value, canceling any running timer.
* @ingroup Popup
*/
EAPI void elm_popup_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
/**
* @brief Returns the timeout value set to the popup (in seconds)
*
* @param obj The popup object
* @return the timeout value
*
* @ingroup Popup
* @see elm_popup_timeout_set()
*/
EAPI double elm_popup_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* @brief Sets whether events should be passed to by a click outside.
*
* @param obj The popup object
* @param allow @c EINA_TRUE Events are passed to lower objects, else not
*
* Enabling allow event will remove the Blocked event area and events will
* pass to the lower layer objects otherwise they are blocked.
*
* @ingroup Popup
* @see elm_popup_allow_events_get()
* @note The default value is EINA_FALSE.
*/
EAPI void elm_popup_allow_events_set(Evas_Object *obj, Eina_Bool allow);
/**
* @brief Returns value indicating whether allow event is enabled or not
*
* @param obj The popup object
* @return @c EINA_FALSE if Blocked event area is present else @c EINA_TRUE
*
* @ingroup Popup
* @see elm_popup_allow_events_set()
* @note By default the Blocked event area is present
*/
EAPI Eina_Bool elm_popup_allow_events_get(const Evas_Object *obj);
/**
* @brief Add a new item to a Popup object
*
* Both an item list and a content could not be set at the same time!
* once you add an item, the previous content will be removed.
*
* @param obj popup object
* @param icon Icon to be set on new item
* @param label The Label of the new item
* @param func Convenience function called when item selected
* @param data Data passed to @p func above
* @return A handle to the item added or @c NULL, on errors
*
* @ingroup Popup
* @warning When the first item is appended to popup object, any previous content
* of the content area is deleted. At a time, only one of content, content-text
* and item(s) can be there in a popup content area.
*/
EAPI Elm_Object_Item *elm_popup_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
/**
* @brief Set the alignment of the popup object
* @param obj popup object
* @param horizontal The horizontal alignment of the popup
* @param vertical The vertical alignment of the popup
*
* Sets the alignment in which the popup will appear in its parent.
*
* @see elm_popup_align_get()
*
* @since 1.9
* @ingroup Popup
*/
EAPI void elm_popup_align_set(Evas_Object *obj, double horizontal, double vertical);
/**
* @brief Get the alignment of the popup object
* @param obj The popup object
* @param horizontal The horizontal alignment of the popup
* @param vertical The vertical alignment of the popup
*
* @see elm_popup_align_set()
*
* @since 1.9
* @ingroup Popup
*/
EAPI void elm_popup_align_get(const Evas_Object *obj, double *horizontal, double *vertical);
#include "elc_popup.eo.legacy.h"

@ -1,136 +1 @@
#include "elm_panes.eo.h"
#if 0
#define ELM_OBJ_PANES_CLASS elm_obj_panes_class_get()
const Eo_Class *elm_obj_panes_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_PANES_BASE_ID;
enum
{
ELM_OBJ_PANES_SUB_ID_CONTENT_LEFT_SIZE_GET,
ELM_OBJ_PANES_SUB_ID_CONTENT_LEFT_SIZE_SET,
ELM_OBJ_PANES_SUB_ID_CONTENT_RIGHT_SIZE_GET,
ELM_OBJ_PANES_SUB_ID_CONTENT_RIGHT_SIZE_SET,
ELM_OBJ_PANES_SUB_ID_HORIZONTAL_SET,
ELM_OBJ_PANES_SUB_ID_HORIZONTAL_GET,
ELM_OBJ_PANES_SUB_ID_FIXED_SET,
ELM_OBJ_PANES_SUB_ID_FIXED_GET,
ELM_OBJ_PANES_SUB_ID_LAST
};
#define ELM_OBJ_PANES_ID(sub_id) (ELM_OBJ_PANES_BASE_ID + sub_id)
/**
* @def elm_obj_panes_content_left_size_get
* @since 1.8
*
* Get the size proportion of panes widget's left side.
*
* @param[out] ret
*
* @see elm_panes_content_left_size_get
*
* @ingroup Panes
*/
#define elm_obj_panes_content_left_size_get(ret) ELM_OBJ_PANES_ID(ELM_OBJ_PANES_SUB_ID_CONTENT_LEFT_SIZE_GET), EO_TYPECHECK(double *, ret)
/**
* @def elm_obj_panes_content_left_size_set
* @since 1.8
*
* Set the size proportion of panes widget's left side.
*
* @param[in] size
*
* @see elm_panes_content_left_size_set
*
* @ingroup Panes
*/
#define elm_obj_panes_content_left_size_set(size) ELM_OBJ_PANES_ID(ELM_OBJ_PANES_SUB_ID_CONTENT_LEFT_SIZE_SET), EO_TYPECHECK(double, size)
/**
* @def elm_obj_panes_content_right_size_get
* @since 1.8
*
* Get the size proportion of panes widget's right side.
*
* @param[out] ret
*
* @see elm_panes_content_right_size_get
*
* @ingroup Panes
*/
#define elm_obj_panes_content_right_size_get(ret) ELM_OBJ_PANES_ID(ELM_OBJ_PANES_SUB_ID_CONTENT_RIGHT_SIZE_GET), EO_TYPECHECK(double *, ret)
/**
* @def elm_obj_panes_content_right_size_set
* @since 1.8
*
* Set the size proportion of panes widget's right side.
*
* @param[in] size
*
* @see elm_panes_content_right_size_set
*
* @ingroup Panes
*/
#define elm_obj_panes_content_right_size_set(size) ELM_OBJ_PANES_ID(ELM_OBJ_PANES_SUB_ID_CONTENT_RIGHT_SIZE_SET), EO_TYPECHECK(double, size)
/**
* @def elm_obj_panes_horizontal_set
* @since 1.8
*
* Set how to split and dispose each content.
*
* @param[in] horizontal
*
* @see elm_panes_horizontal_set
*
* @ingroup Panes
*/
#define elm_obj_panes_horizontal_set(horizontal) ELM_OBJ_PANES_ID(ELM_OBJ_PANES_SUB_ID_HORIZONTAL_SET), EO_TYPECHECK(Eina_Bool, horizontal)
/**
* @def elm_obj_panes_horizontal_get
* @since 1.8
*
* Retrieve the split direction of a given panes widget.
*
* @param[out] ret
*
* @see elm_panes_horizontal_get
*
* @ingroup Panes
*/
#define elm_obj_panes_horizontal_get(ret) ELM_OBJ_PANES_ID(ELM_OBJ_PANES_SUB_ID_HORIZONTAL_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_panes_fixed_set
* @since 1.8
*
* Set whether the left and right panes can be resized by user interaction.
*
* @param[in] fixed
*
* @see elm_panes_fixed_set
*
* @ingroup Panes
*/
#define elm_obj_panes_fixed_set(fixed) ELM_OBJ_PANES_ID(ELM_OBJ_PANES_SUB_ID_FIXED_SET), EO_TYPECHECK(Eina_Bool, fixed)
/**
* @def elm_obj_panes_fixed_get
* @since 1.8
*
* Retrieve the resize mode for the panes of a given panes widget.
*
* @param[out] ret
*
* @see elm_panes_fixed_get
*
* @ingroup Panes
*/
#define elm_obj_panes_fixed_get(ret) ELM_OBJ_PANES_ID(ELM_OBJ_PANES_SUB_ID_FIXED_GET), EO_TYPECHECK(Eina_Bool *, ret)
#endif
#include "elm_panes.eo.h"

@ -11,145 +11,4 @@
*/
EAPI Evas_Object *elm_panes_add(Evas_Object *parent);
/**
* Get the size proportion of panes widget's left side.
*
* @param obj The panes object.
* @return float value between 0.0 and 1.0 representing size proportion
* of left side.
*
* @see elm_panes_content_left_size_set() for more details.
*
* @ingroup Panes
*/
EAPI double elm_panes_content_left_size_get(const Evas_Object *obj);
/**
* Set the size proportion of panes widget's left side.
*
* @param obj The panes object.
* @param size Value between 0.0 and 1.0 representing size proportion
* of left side.
*
* By default it's homogeneous, i.e., both sides have the same size.
*
* If something different is required, it can be set with this function.
* For example, if the left content should be displayed over
* 75% of the panes size, @p size should be passed as @c 0.75.
* This way, right content will be resized to 25% of panes size.
*
* If displayed vertically, left content is displayed at top, and
* right content at bottom.
*
* @note This proportion will change when user drags the panes bar.
*
* @see elm_panes_content_left_size_get()
*
* @ingroup Panes
*/
EAPI void elm_panes_content_left_size_set(Evas_Object *obj, double size);
/**
* Get the size proportion of panes widget's right side.
*
* @param obj The panes object.
* @return float value between 0.0 and 1.0 representing size proportion
* of right side.
*
* @see elm_panes_content_right_size_set() for more details.
*
* @ingroup Panes
*/
EAPI double elm_panes_content_right_size_get(const Evas_Object *obj);
/**
* Set the size proportion of panes widget's right side.
*
* @param obj The panes object.
* @param size Value between 0.0 and 1.0 representing size proportion
* of right side.
*
* By default it's homogeneous, i.e., both sides have the same size.
*
* If something different is required, it can be set with this function.
* For example, if the right content should be displayed over
* 75% of the panes size, @p size should be passed as @c 0.75.
* This way, left content will be resized to 25% of panes size.
*
* If displayed vertically, left content is displayed at top, and
* right content at bottom.
*
* @note This proportion will change when user drags the panes bar.
*
* @see elm_panes_content_right_size_get()
*
* @ingroup Panes
*/
EAPI void elm_panes_content_right_size_set(Evas_Object *obj, double size);
/**
* Set how to split and dispose each content.
*
* @param obj The panes object.
* @param horizontal Use @c EINA_TRUE to make @p obj to split panes
* horizontally ("top" and "bottom" contents). @c EINA_FALSE to make it
* vertically ("left" and "right" contents)
*
* Use this function to change how your panes is to be disposed:
* vertically or horizontally.
* Horizontal panes have "top" and "bottom" contents, vertical panes have
* "left" and "right" contents.
*
* By default panes is in a vertical mode.
*
* @see elm_panes_horizontal_get()
*
* @ingroup Panes
*/
EAPI void elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
/**
* Retrieve the split direction of a given panes widget.
*
* @param obj The panes object.
* @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
* @c EINA_FALSE if it's @b vertical (and on errors).
*
* @see elm_panes_horizontal_set() for more details.
*
* @ingroup Panes
*/
EAPI Eina_Bool elm_panes_horizontal_get(const Evas_Object *obj);
/**
* Set whether the left and right panes can be resized by user interaction.
*
* @param obj The panes object.
* @param fixed Use @c EINA_TRUE to fix the left and right panes sizes and make
* them not to be resized by user interaction. Use @c EINA_FALSE to make them
* resizable.
*
* By default panes' contents are resizable by user interaction.
*
* @see elm_panes_fixed_get()
* @see elm_panes_content_left_size_set()
* @see elm_panes_content_right_size_set()
*
* @ingroup Panes
*/
EAPI void elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed);
/**
* Retrieve the resize mode for the panes of a given panes widget.
*
* @param obj The panes object.
* @return @c EINA_TRUE, if @p obj is set to be resizable by user interaction.
*
* @see elm_panes_fixed_set() for more details.
* @see elm_panes_content_left_size_get()
* @see elm_panes_content_right_size_get()
*
* @ingroup Panes
*/
EAPI Eina_Bool elm_panes_fixed_get(const Evas_Object *obj);
#include "elm_panes.eo.legacy.h"

@ -3,177 +3,8 @@
*
* @{
*/
#include "elm_photo.eo.h"
#if 0
#define ELM_OBJ_PHOTO_CLASS elm_obj_photo_class_get()
const Eo_Class *elm_obj_photo_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_PHOTO_BASE_ID;
enum
{
ELM_OBJ_PHOTO_SUB_ID_FILE_SET,
ELM_OBJ_PHOTO_SUB_ID_SIZE_SET,
ELM_OBJ_PHOTO_SUB_ID_SIZE_GET,
ELM_OBJ_PHOTO_SUB_ID_FILL_INSIDE_SET,
ELM_OBJ_PHOTO_SUB_ID_FILL_INSIDE_GET,
ELM_OBJ_PHOTO_SUB_ID_EDITABLE_SET,
ELM_OBJ_PHOTO_SUB_ID_EDITABLE_GET,
ELM_OBJ_PHOTO_SUB_ID_THUMB_SET,
ELM_OBJ_PHOTO_SUB_ID_ASPECT_FIXED_SET,
ELM_OBJ_PHOTO_SUB_ID_ASPECT_FIXED_GET,
ELM_OBJ_PHOTO_SUB_ID_LAST
};
#define ELM_OBJ_PHOTO_ID(sub_id) (ELM_OBJ_PHOTO_BASE_ID + sub_id)
/**
* @def elm_obj_photo_add
* @since 1.8
*
* Add a new photo to the parent
*
* @param[out] ret
*
* @see elm_photo_add
*/
#define elm_obj_photo_add(ret) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_ADD), EO_TYPECHECK(Evas_Object **, ret)
/**
* @def elm_obj_photo_file_set
* @since 1.8
*
* Set the file that will be used as the photo widget's image.
*
* @param[in] file
* @param[out] ret
*
* @see elm_photo_file_set
*/
#define elm_obj_photo_file_set(file, ret) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_FILE_SET), EO_TYPECHECK(const char *, file), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_photo_size_set
* @since 1.8
*
* Set the size that will be used on the photo
*
* @param[in] size
*
* @see elm_photo_size_set
*/
#define elm_obj_photo_size_set(size) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_SIZE_SET), EO_TYPECHECK(int, size)
/**
* @def elm_obj_photo_size_get
* @since 1.8
*
* Get the size that will be used on the photo
*
* @param[out] ret
*
* @note There is no elm_photo_size_get
*
* @see elm_photo_size_set
* @see elm_obj_photo_size_set
*/
#define elm_obj_photo_size_get(ret) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_SIZE_GET), EO_TYPECHECK(int *, ret)
/**
* @def elm_obj_photo_fill_inside_set
* @since 1.8
*
* Set if the photo should be completely visible or not.
*
* @param[in] fill
*
* @see elm_photo_fill_inside_set
*/
#define elm_obj_photo_fill_inside_set(fill) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_FILL_INSIDE_SET), EO_TYPECHECK(Eina_Bool, fill)
/**
* @def elm_obj_photo_fill_inside_get
* @since 1.8
*
* Get if the photo should be completely visible or not.
*
* @param[out] ret
*
* @note There is no elm_photo_fill_inside_get
*
* @see elm_photo_fill_inside_set
* @see elm_obj_photo_fill_inside_set
*/
#define elm_obj_photo_fill_inside_get(ret) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_FILL_INSIDE_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_photo_editable_set
* @since 1.8
*
* Set editability of the photo.
*
* @param[in] set
*
* @see elm_photo_editable_set
*/
#define elm_obj_photo_editable_set(set) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_EDITABLE_SET), EO_TYPECHECK(Eina_Bool, set)
/**
* @def elm_obj_photo_editable_get
* @since 1.8
*
* Get editability of the photo.
*
* @param[out] ret
*
* @note There is no elm_photo_editable_get
*
* @see elm_photo_editable_set
* @see elm_obj_photo_editable_set
*/
#define elm_obj_photo_editable_get(ret) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_EDITABLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_photo_thumb_set
* @since 1.8
*
* Set the file that will be used as thumbnail in the photo.
*
* @param[in] file
* @param[in] group
*
* @see elm_photo_thumb_set
*/
#define elm_obj_photo_thumb_set(file, group) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_THUMB_SET), EO_TYPECHECK(const char *, file), EO_TYPECHECK(const char *, group)
/**
* @def elm_obj_photo_aspect_fixed_set
* @since 1.8
*
* Set whether the original aspect ratio of the photo should be kept on resize.
*
* @param[in] fixed
*
* @see elm_photo_aspect_fixed_set
*/
#define elm_obj_photo_aspect_fixed_set(fixed) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_ASPECT_FIXED_SET), EO_TYPECHECK(Eina_Bool, fixed)
/**
* @def elm_obj_photo_aspect_fixed_get
* @since 1.8
*
* Get if the object keeps the original aspect ratio.
*
* @param[out] ret
*
* @see elm_photo_aspect_fixed_get
*/
#define elm_obj_photo_aspect_fixed_get(ret) ELM_OBJ_PHOTO_ID(ELM_OBJ_PHOTO_SUB_ID_ASPECT_FIXED_GET), EO_TYPECHECK(Eina_Bool *, ret)
#endif
#include "elm_photo.eo.h"
/**
* @}

@ -8,91 +8,4 @@
*/
EAPI Evas_Object *elm_photo_add(Evas_Object *parent);
/**
* Set the file that will be used as the photo widget's image.
*
* @param obj The photo object
* @param file The path to file that will be used as @a obj's image.
*
* @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
*
* @note Use @c NULL on @a file to set the photo widget back to it's
* initial state, which indicates "no photo".
*
* @ingroup Photo
*/
EAPI Eina_Bool elm_photo_file_set(Evas_Object *obj, const char *file);
/**
* Set the file that will be used as thumbnail in the photo.
*
* @param obj The photo object.
* @param file The path to file that will be used as thumbnail.
* @param group The key used in case of an EET file.
*
* @ingroup Photo
*/
EAPI void elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group);
/**
* Set the size that will be used on the photo
*
* @param obj The photo object
* @param size The size of the photo
*
* @ingroup Photo
*/
EAPI void elm_photo_size_set(Evas_Object *obj, int size);
/**
* Set if the photo should be completely visible or not.
*
* @param obj The photo object
* @param fill if true the photo will be completely visible
*
* @ingroup Photo
*/
EAPI void elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill);
/**
* Set editability of the photo.
*
* An editable photo can be dragged to or from, and can be cut or
* pasted too. Note that pasting an image or dropping an item on
* the image will delete the existing content.
*
* @param obj The photo object.
* @param set To set of clear editability.
*/
EAPI void elm_photo_editable_set(Evas_Object *obj, Eina_Bool set);
/**
* Set whether the original aspect ratio of the photo should be kept on resize.
*
* @param obj The photo object.
* @param fixed @c EINA_TRUE if the photo should fix the aspect,
* @c EINA_FALSE otherwise.
*
* The original aspect ratio (width / height) of the photo is usually
* distorted to match the object's size. Enabling this option will fix
* this original aspect, and the way that the photo is fit into
* the object's area
*
* @see elm_photo_aspect_fixed_get()
*
* @ingroup Photo
*/
EAPI void elm_photo_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed);
/**
* Get if the object keeps the original aspect ratio.
*
* @param obj The photo object.
* @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
* otherwise.
*
* @ingroup Photo
*/
EAPI Eina_Bool elm_photo_aspect_fixed_get(const Evas_Object *obj);
#include "elm_photo.eo.legacy.h"

@ -1,240 +1,2 @@
#include "elm_photocam_pan.eo.h"
#include "elm_photocam.eo.h"
#if 0
#define ELM_OBJ_PHOTOCAM_PAN_CLASS elm_obj_photocam_pan_class_get()
const Eo_Class *elm_obj_photocam_pan_class_get(void) EINA_CONST;
#define ELM_OBJ_PHOTOCAM_CLASS elm_obj_photocam_class_get()
const Eo_Class *elm_obj_photocam_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_PHOTOCAM_BASE_ID;
enum
{
ELM_OBJ_PHOTOCAM_SUB_ID_FILE_SET,
ELM_OBJ_PHOTOCAM_SUB_ID_FILE_GET,
ELM_OBJ_PHOTOCAM_SUB_ID_ZOOM_SET,
ELM_OBJ_PHOTOCAM_SUB_ID_ZOOM_GET,
ELM_OBJ_PHOTOCAM_SUB_ID_ZOOM_MODE_SET,
ELM_OBJ_PHOTOCAM_SUB_ID_ZOOM_MODE_GET,
ELM_OBJ_PHOTOCAM_SUB_ID_IMAGE_SIZE_GET,
ELM_OBJ_PHOTOCAM_SUB_ID_IMAGE_REGION_GET,
ELM_OBJ_PHOTOCAM_SUB_ID_IMAGE_REGION_SHOW,
ELM_OBJ_PHOTOCAM_SUB_ID_PAUSED_SET,
ELM_OBJ_PHOTOCAM_SUB_ID_PAUSED_GET,
ELM_OBJ_PHOTOCAM_SUB_ID_INTERNAL_IMAGE_GET,
ELM_OBJ_PHOTOCAM_SUB_ID_GESTURE_ENABLED_SET,
ELM_OBJ_PHOTOCAM_SUB_ID_GESTURE_ENABLED_GET,
ELM_OBJ_PHOTOCAM_SUB_ID_LAST
};
#define ELM_OBJ_PHOTOCAM_ID(sub_id) (ELM_OBJ_PHOTOCAM_BASE_ID + sub_id)
/**
* @def elm_obj_photocam_file_set
* @since 1.8
*
* @brief Set the photo file to be shown
*
* @param[in] file
* @param[out] ret
*
* @see elm_photocam_file_set
*
* @ingroup Photocam
*/
#define elm_obj_photocam_file_set(file, ret) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_FILE_SET), EO_TYPECHECK(const char *, file), EO_TYPECHECK(Evas_Load_Error *, ret)
/**
* @def elm_obj_photocam_file_get
* @since 1.8
*
* @brief Returns the path of the current image file
*
* @param[out] ret
*
* @see elm_photocam_file_get
*
* @ingroup Photocam
*/
#define elm_obj_photocam_file_get(ret) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_FILE_GET), EO_TYPECHECK(const char **, ret)
/**
* @def elm_obj_photocam_zoom_set
* @since 1.8
*
* @brief Set the zoom level of the photo
*
* @param[in] zoom
*
* @see elm_photocam_zoom_set
*
* @ingroup Photocam
*/
#define elm_obj_photocam_zoom_set(zoom) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_ZOOM_SET), EO_TYPECHECK(double, zoom)
/**
* @def elm_obj_photocam_zoom_get
* @since 1.8
*
* @brief Get the zoom level of the photo
*
* @param[out] ret
*
* @see elm_photocam_zoom_get
*
* @ingroup Photocam
*/
#define elm_obj_photocam_zoom_get(ret) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_ZOOM_GET), EO_TYPECHECK(double *, ret)
/**
* @def elm_obj_photocam_zoom_mode_set
* @since 1.8
*
* @brief Set the zoom mode
*
* @param[in] mode
*
* @see elm_photocam_zoom_mode_set
*
* @ingroup Photocam
*/
#define elm_obj_photocam_zoom_mode_set(mode) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_ZOOM_MODE_SET), EO_TYPECHECK(Elm_Photocam_Zoom_Mode, mode)
/**
* @def elm_obj_photocam_zoom_mode_get
* @since 1.8
*
* @brief Get the zoom mode
*
* @param[out] ret
*
* @see elm_photocam_zoom_mode_get
*
* @ingroup Photocam
*/
#define elm_obj_photocam_zoom_mode_get(ret) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_ZOOM_MODE_GET), EO_TYPECHECK(Elm_Photocam_Zoom_Mode *, ret)
/**
* @def elm_obj_photocam_image_size_get
* @since 1.8
*
* @brief Get the current image pixel width and height
*
* @param[out] w
* @param[out] h
*
* @see elm_photocam_image_size_get
*
* @ingroup Photocam
*/
#define elm_obj_photocam_image_size_get(w, h) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_IMAGE_SIZE_GET), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h)
/**
* @def elm_obj_photocam_image_region_get
* @since 1.8
*
* @brief Get the region of the image that is currently shown
*
* @param[out] x
* @param[out] y
* @param[out] w
* @param[out] h
*
* @see elm_photocam_image_region_get
*
* @ingroup Photocam
*/
#define elm_obj_photocam_image_region_get(x, y, w, h) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_IMAGE_REGION_GET), EO_TYPECHECK(int *, x), EO_TYPECHECK(int *, y), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h)
/**
* @def elm_obj_photocam_image_region_show
* @since 1.8
*
* @brief Set the viewed region of the image
*
* @param[in] x
* @param[in] y
* @param[in] w
* @param[in] h
*
* @see elm_photocam_image_region_show
*
* @ingroup Photocam
*/
#define elm_obj_photocam_image_region_show(x, y, w, h) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_IMAGE_REGION_SHOW), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
/**
* @def elm_obj_photocam_paused_set
* @since 1.8
*
* @brief Set the paused state for photocam
*
* @param[in] paused
*
* @see elm_photocam_paused_set
*
* @ingroup Photocam
*/
#define elm_obj_photocam_paused_set(paused) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_PAUSED_SET), EO_TYPECHECK(Eina_Bool, paused)
/**
* @def elm_obj_photocam_paused_get
* @since 1.8
*
* @brief Get the paused state for photocam
*
* @param[out] ret
*
* @see elm_photocam_paused_get
*
* @ingroup Photocam
*/
#define elm_obj_photocam_paused_get(ret) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_PAUSED_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_photocam_internal_image_get
* @since 1.8
*
* @brief Get the internal low-res image used for photocam
*
* @param[out] ret
*
* @see elm_photocam_internal_image_get
*
* @ingroup Photocam
*/
#define elm_obj_photocam_internal_image_get(ret) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_INTERNAL_IMAGE_GET), EO_TYPECHECK(Evas_Object **, ret)
/**
* @def elm_obj_photocam_gesture_enabled_set
* @since 1.8
*
* @brief Set the gesture state for photocam.
*
* @param[in] gesture
*
* @see elm_photocam_gesture_enabled_set
*
* @ingroup Photocam
*/
#define elm_obj_photocam_gesture_enabled_set(gesture) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_GESTURE_ENABLED_SET), EO_TYPECHECK(Eina_Bool, gesture)
/**
* @def elm_obj_photocam_gesture_enabled_get
* @since 1.8
*
* @brief Get the gesture state for photocam.
*
* @param[out] ret
*
* @see elm_photocam_gesture_enabled_get
*
* @ingroup Photocam
*/
#define elm_obj_photocam_gesture_enabled_get(ret) ELM_OBJ_PHOTOCAM_ID(ELM_OBJ_PHOTOCAM_SUB_ID_GESTURE_ENABLED_GET), EO_TYPECHECK(Eina_Bool *, ret)
#endif
#include "elm_photocam.eo.h"

@ -8,153 +8,6 @@
*/
EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
/**
* @brief Set the photo file to be shown
*
* @param obj The photocam object
* @param file The photo file
* @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.
*
* @ingroup Photocam
*/
EAPI Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const char *file);
/**
* @brief Returns the path of the current image file
*
* @param obj The photocam object
* @return Returns the path
*
* @see elm_photocam_file_set()
*
* @ingroup Photocam
*/
EAPI const char *elm_photocam_file_get(const Evas_Object *obj);
/**
* @brief Set the zoom level of the photo
*
* @param obj The photocam object
* @param zoom The zoom level to set
*
* This sets the zoom level. If @p zoom is 1, it means no zoom. If it's smaller
* than 1, it means zoom in. If it's bigger than 1, it means zoom out. For
* example, @p zoom 1 will be 1:1 pixel for pixel. @p zoom 2 will be 2:1
* (that is 2x2 photo pixels will display as 1 on-screen pixel) which is a zoom
* out. 4:1 will be 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom
* parameter must be greater than 0. It is suggested to stick to powers of 2.
* (1, 2, 4, 8, 16, 32, etc.).
*
* @ingroup Photocam
*/
EAPI void elm_photocam_zoom_set(Evas_Object *obj, double zoom);
/**
* @brief Get the zoom level of the photo
*
* @param obj The photocam object
* @return The current zoom level
*
* This returns the current zoom level of the photocam object. Note that if
* you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
* (which is the default), the zoom level may be changed at any time by the
* photocam object itself to account for photo size and photocam viewport
* size.
*
* @see elm_photocam_zoom_set()
* @see elm_photocam_zoom_mode_set()
*
* @ingroup Photocam
*/
EAPI double elm_photocam_zoom_get(const Evas_Object *obj);
/**
* @brief Set the zoom mode
*
* @param obj The photocam object
* @param mode The desired mode
*
* This sets the zoom mode to manual or one of several automatic levels.
* Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set manually by
* elm_photocam_zoom_set() and will stay at that level until changed by code
* or until zoom mode is changed. This is the default mode. The Automatic
* modes will allow the photocam object to automatically adjust zoom mode
* based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
* the photo fits EXACTLY inside the scroll frame with no pixels outside this
* region. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
* pixels within the frame are left unfilled.
*
* @ingroup Photocam
*/
EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode);
/**
* @brief Get the zoom mode
*
* @param obj The photocam object
* @return The current zoom mode
*
* This gets the current zoom mode of the photocam object.
*
* @see elm_photocam_zoom_mode_set()
*
* @ingroup Photocam
*/
EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj);
/**
* @brief Get the current image pixel width and height
*
* @param obj The photocam object
* @param w A pointer to the width return
* @param h A pointer to the height return
*
* This gets the current photo pixel width and height (for the original).
* The size will be returned in the integers @p w and @p h that are pointed
* to.
*
* @ingroup Photocam
*/
EAPI void elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h);
/**
* @brief Get the region of the image that is currently shown
*
* @param obj
* @param x A pointer to the X-coordinate of region
* @param y A pointer to the Y-coordinate of region
* @param w A pointer to the width
* @param h A pointer to the height
*
* @see elm_photocam_image_region_show()
* @see elm_photocam_image_region_bring_in()
*
* @ingroup Photocam
*/
EAPI void elm_photocam_image_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
/**
* @brief Set the viewed region 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 without using animation.
*
* @ingroup Photocam
*/
EAPI void elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h);
/**
* @brief Bring in the viewed portion of the image
*
@ -170,72 +23,4 @@ EAPI void elm_photocam_image_region_show(Evas_Object *obj, int
*/
EAPI void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
/**
* @brief Set the paused state for photocam
*
* @param obj The photocam object
* @param paused The pause state to set
*
* This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
* photocam. The default is off. This will stop zooming using animation on
* zoom level changes and change instantly. This will stop any existing
* animations that are running.
*
* @ingroup Photocam
*/
EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused);
/**
* @brief Get the paused state for photocam
*
* @param obj The photocam object
* @return The current paused state
*
* This gets the current paused state for the photocam object.
*
* @see elm_photocam_paused_set()
*
* @ingroup Photocam
*/
EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj);