and mark it as legacy API instead.
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
return sd->paused;
}
-EOLIAN static Evas_Object*
-_elm_photocam_internal_image_get(Eo *obj EINA_UNUSED, Elm_Photocam_Data *sd)
-{
- return sd->img;
-}
-
EAPI void
elm_photocam_bounce_set(Evas_Object *obj,
Eina_Bool h_bounce,
}
#include "elm_photocam.eo.c"
+
+EAPI Evas_Object*
+elm_photocam_internal_image_get(const Evas_Object *obj)
+{
+ ELM_PHOTOCAM_DATA_GET_OR_RETURN_VAL(obj, sd, NULL);
+
+ return sd->img;
+}
\ No newline at end of file
h: int; [[A pointer to the height]]
}
}
- @property internal_image {
- get {
- [[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: Efl.Canvas.Object; [[The internal image object handle or $null]]
- }
- }
@property image_size {
get {
[[Get the current image pixel width and height
*/
EAPI Evas_Image_Orient elm_photocam_image_orient_get(const Evas_Object *obj);
+/**
+ * @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);
+
#include "elm_photocam.eo.legacy.h"