lib/elementary/efl_ui_radio_legacy.eo \
lib/elementary/efl_ui_video_legacy.eo \
lib/elementary/efl_ui_panes_legacy.eo \
- lib/elementary/efl_ui_image_zoomable_legacy.eo \
lib/elementary/efl_ui_win_legacy.eo \
lib/elementary/efl_ui_progressbar_legacy.eo \
lib/elementary/efl_ui_clock_legacy.eo \
lib/elementary/efl_ui_flip_legacy_eo.c \
lib/elementary/efl_ui_frame_legacy_eo.c \
lib/elementary/efl_ui_image_legacy_eo.c \
+lib/elementary/efl_ui_image_zoomable_eo.legacy.c \
+lib/elementary/efl_ui_image_zoomable_legacy_eo.c \
lib/elementary/elm_hoversel_eo.c \
lib/elementary/elm_hoversel_eo.legacy.c \
lib/elementary/elm_hoversel_item_eo.c \
lib/elementary/efl_ui_frame_legacy_eo.legacy.h \
lib/elementary/efl_ui_image_legacy_eo.h \
lib/elementary/efl_ui_image_legacy_eo.legacy.h \
+lib/elementary/efl_ui_image_zoomable_eo.legacy.h \
+lib/elementary/efl_ui_image_zoomable_legacy_eo.h \
+lib/elementary/efl_ui_image_zoomable_legacy_eo.legacy.h \
lib/elementary/elm_hoversel_eo.h \
lib/elementary/elm_hoversel_eo.legacy.h \
lib/elementary/elm_hoversel_item_eo.h \
EFL_CANVAS_GROUP_ADD_DEL_OPS(efl_ui_image_zoomable)
#include "efl_ui_image_zoomable.eo.c"
+#include "efl_ui_image_zoomable_eo.legacy.c"
-#include "efl_ui_image_zoomable_legacy.eo.h"
+#include "efl_ui_image_zoomable_legacy_eo.h"
#define MY_CLASS_NAME_LEGACY "elm_photocam"
static void
if (h) *h = r.h;
}
-#include "efl_ui_image_zoomable_legacy.eo.c"
+#include "efl_ui_image_zoomable_legacy_eo.c"
Efl.Ui.Scrollbar
{
[[Elementary Image Zoomable class]]
- legacy_prefix: elm_photocam;
methods {
@property gesture_enabled {
set {
See also @.image_region.set.
]]
- legacy: null;
}
set {
[[Set the viewed region of the image
This shows the region of the image without using animation.
@since 1.20
]]
- legacy: null;
}
values {
region: Eina.Rect; [[The region in the original image pixels.]]
--- /dev/null
+
+EAPI void
+elm_photocam_gesture_enabled_set(Efl_Ui_Image_Zoomable *obj, Eina_Bool gesture)
+{
+ efl_ui_image_zoomable_gesture_enabled_set(obj, gesture);
+}
+
+EAPI Eina_Bool
+elm_photocam_gesture_enabled_get(const Efl_Ui_Image_Zoomable *obj)
+{
+ return efl_ui_image_zoomable_gesture_enabled_get(obj);
+}
--- /dev/null
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_EO_LEGACY_H_
+#define _EFL_UI_IMAGE_ZOOMABLE_EO_LEGACY_H_
+
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_EO_CLASS_TYPE
+#define _EFL_UI_IMAGE_ZOOMABLE_EO_CLASS_TYPE
+
+typedef Eo Efl_Ui_Image_Zoomable;
+
+#endif
+
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_EO_TYPES
+#define _EFL_UI_IMAGE_ZOOMABLE_EO_TYPES
+
+
+#endif
+
+/**
+ * @brief Set the gesture state for photocam.
+ *
+ * This sets the gesture state to on or off for photocam. The default is off.
+ * This will start multi touch zooming.
+ *
+ * @param[in] obj The object.
+ * @param[in] gesture The gesture state.
+ *
+ * @ingroup Elm_Photocam_Group
+ */
+EAPI void elm_photocam_gesture_enabled_set(Efl_Ui_Image_Zoomable *obj, Eina_Bool gesture);
+
+/**
+ * @brief Get the gesture state for photocam.
+ *
+ * This gets the current gesture state for the photocam object.
+ *
+ * @param[in] obj The object.
+ *
+ * @return The gesture state.
+ *
+ * @ingroup Elm_Photocam_Group
+ */
+EAPI Eina_Bool elm_photocam_gesture_enabled_get(const Efl_Ui_Image_Zoomable *obj);
+
+
+
+#endif
+++ /dev/null
-class @beta Efl.Ui.Image_Zoomable_Legacy extends Efl.Ui.Image_Zoomable implements Efl.Ui.Legacy
-{
- [[Elementary Image Zoomable class]]
- data: null;
- implements {
- class.constructor;
- Efl.Object.constructor;
- }
-}
--- /dev/null
+
+Efl_Object *_efl_ui_image_zoomable_legacy_efl_object_constructor(Eo *obj, void *pd);
+
+
+static Eina_Bool
+_efl_ui_image_zoomable_legacy_class_initializer(Efl_Class *klass)
+{
+ const Efl_Object_Ops *opsp = NULL;
+
+ const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
+
+#ifndef EFL_UI_IMAGE_ZOOMABLE_LEGACY_EXTRA_OPS
+#define EFL_UI_IMAGE_ZOOMABLE_LEGACY_EXTRA_OPS
+#endif
+
+ EFL_OPS_DEFINE(ops,
+ EFL_OBJECT_OP_FUNC(efl_constructor, _efl_ui_image_zoomable_legacy_efl_object_constructor),
+ EFL_UI_IMAGE_ZOOMABLE_LEGACY_EXTRA_OPS
+ );
+ opsp = &ops;
+
+ return efl_class_functions_set(klass, opsp, ropsp);
+}
+
+static const Efl_Class_Description _efl_ui_image_zoomable_legacy_class_desc = {
+ EO_VERSION,
+ "Efl.Ui.Image_Zoomable_Legacy",
+ EFL_CLASS_TYPE_REGULAR,
+ 0,
+ _efl_ui_image_zoomable_legacy_class_initializer,
+ _efl_ui_image_zoomable_legacy_class_constructor,
+ NULL
+};
+
+EFL_DEFINE_CLASS(efl_ui_image_zoomable_legacy_class_get, &_efl_ui_image_zoomable_legacy_class_desc, EFL_UI_IMAGE_ZOOMABLE_CLASS, EFL_UI_LEGACY_INTERFACE, NULL);
--- /dev/null
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_H_
+#define _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_H_
+
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_CLASS_TYPE
+#define _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_CLASS_TYPE
+
+typedef Eo Efl_Ui_Image_Zoomable_Legacy;
+
+#endif
+
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_TYPES
+#define _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_TYPES
+
+
+#endif
+#ifdef EFL_BETA_API_SUPPORT
+/** Elementary Image Zoomable class
+ *
+ * @ingroup Efl_Ui_Image_Zoomable_Legacy
+ */
+#define EFL_UI_IMAGE_ZOOMABLE_LEGACY_CLASS efl_ui_image_zoomable_legacy_class_get()
+
+EWAPI const Efl_Class *efl_ui_image_zoomable_legacy_class_get(void);
+#endif /* EFL_BETA_API_SUPPORT */
+
+#endif
--- /dev/null
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_LEGACY_H_
+#define _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_LEGACY_H_
+
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_CLASS_TYPE
+#define _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_CLASS_TYPE
+
+typedef Eo Efl_Ui_Image_Zoomable_Legacy;
+
+#endif
+
+#ifndef _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_TYPES
+#define _EFL_UI_IMAGE_ZOOMABLE_LEGACY_EO_TYPES
+
+
+#endif
+
+#endif
class @beta Efl.Ui.Image_Zoomable_Pan extends Efl.Ui.Pan
{
[[Elementary photocom pan class]]
- legacy_prefix: elm_photocam_pan;
implements {
class.constructor;
Efl.Object.destructor;
*/
EAPI void elm_photocam_image_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
-#include "efl_ui_image_zoomable.eo.legacy.h"
+#include "efl_ui_image_zoomable_eo.legacy.h"
'efl_ui_radio_legacy.eo',
'efl_ui_video_legacy.eo',
'efl_ui_panes_legacy.eo',
- 'efl_ui_image_zoomable_legacy.eo',
'efl_ui_win_legacy.eo',
'efl_ui_progressbar_legacy.eo',
'efl_ui_clock_legacy.eo',
'efl_ui_frame_legacy_eo.legacy.h',
'efl_ui_image_legacy_eo.h',
'efl_ui_image_legacy_eo.legacy.h',
+ 'efl_ui_image_zoomable_eo.legacy.h',
+ 'efl_ui_image_zoomable_legacy_eo.h',
+ 'efl_ui_image_zoomable_legacy_eo.legacy.h',
'elm_hoversel_eo.h',
'elm_hoversel_eo.legacy.h',
'elm_hoversel_item_eo.h',