summaryrefslogtreecommitdiff
path: root/legacy/evas
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2012-10-09 01:58:41 +0000
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2012-10-09 01:58:41 +0000
commita01418aff884f9d6f3d68e4fcee1414e736a7313 (patch)
tree89d28034bc658515e91e8b49c76f2351193e0bb2 /legacy/evas
parent9ac7594b3a6d33bcf6125230dfb43a68af68ed0d (diff)
eo: changes made for the support of the Eo concept
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com> SVN revision: 77604
Diffstat (limited to 'legacy/evas')
-rw-r--r--legacy/evas/ChangeLog5
-rw-r--r--legacy/evas/configure.ac9
-rw-r--r--legacy/evas/src/lib/Evas.h3219
-rw-r--r--legacy/evas/src/lib/Makefile.am2
-rw-r--r--legacy/evas/src/lib/canvas/Makefile.am2
-rw-r--r--legacy/evas/src/lib/canvas/common_interfaces.c271
-rw-r--r--legacy/evas/src/lib/canvas/evas_callbacks.c223
-rw-r--r--legacy/evas/src/lib/canvas/evas_clip.c269
-rw-r--r--legacy/evas/src/lib/canvas/evas_common_interface.c24
-rw-r--r--legacy/evas/src/lib/canvas/evas_data.c52
-rw-r--r--legacy/evas/src/lib/canvas/evas_device.c30
-rw-r--r--legacy/evas/src/lib/canvas/evas_events.c1185
-rw-r--r--legacy/evas/src/lib/canvas/evas_focus.c59
-rw-r--r--legacy/evas/src/lib/canvas/evas_font_dir.c206
-rw-r--r--legacy/evas/src/lib/canvas/evas_gl.c4
-rw-r--r--legacy/evas/src/lib/canvas/evas_key.c195
-rw-r--r--legacy/evas/src/lib/canvas/evas_key_grab.c91
-rw-r--r--legacy/evas/src/lib/canvas/evas_layer.c114
-rw-r--r--legacy/evas/src/lib/canvas/evas_main.c707
-rw-r--r--legacy/evas/src/lib/canvas/evas_map.c150
-rw-r--r--legacy/evas/src/lib/canvas/evas_name.c82
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_box.c932
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_grid.c290
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_image.c2474
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_inform.c68
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_intercept.c239
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_line.c283
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_main.c1666
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_polygon.c290
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_rectangle.c198
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_smart.c1021
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_smart_clipped.c233
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_table.c387
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_text.c1162
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_textblock.c1035
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_textgrid.c620
-rw-r--r--legacy/evas/src/lib/canvas/evas_render.c659
-rw-r--r--legacy/evas/src/lib/canvas/evas_stack.c346
-rw-r--r--legacy/evas/src/lib/canvas/evas_touch_point.c89
-rw-r--r--legacy/evas/src/lib/include/evas_inline.x101
-rw-r--r--legacy/evas/src/lib/include/evas_private.h233
-rw-r--r--legacy/evas/src/modules/engines/buffer/evas_engine.c13
-rw-r--r--legacy/evas/src/modules/engines/fb/evas_engine.c13
-rw-r--r--legacy/evas/src/modules/engines/gl_common/evas_gl_api.c41
-rw-r--r--legacy/evas/src/modules/engines/gl_x11/evas_engine.c13
-rw-r--r--legacy/evas/src/modules/engines/software_x11/evas_engine.c13
-rw-r--r--legacy/evas/src/modules/engines/wayland_shm/evas_engine.c13
47 files changed, 13948 insertions, 5383 deletions
diff --git a/legacy/evas/ChangeLog b/legacy/evas/ChangeLog
index b1f3eb4a4f..8ee08f965b 100644
--- a/legacy/evas/ChangeLog
+++ b/legacy/evas/ChangeLog
@@ -1080,4 +1080,9 @@
1080 the GL calls are called within the Pixel Getter function for Direct 1080 the GL calls are called within the Pixel Getter function for Direct
1081 Rendering option. 1081 Rendering option.
1082 1082
10832012-10-09 Daniel Zaoui and Tom Hacohen
1084
1085 * Evas: change Evas to use Eo.
1086 This change adds Eo support to Evas while keeping the old API intact.
1087 For more information, go to Eo.
1083 1088
diff --git a/legacy/evas/configure.ac b/legacy/evas/configure.ac
index 48374e15c5..85d5e142c3 100644
--- a/legacy/evas/configure.ac
+++ b/legacy/evas/configure.ac
@@ -266,6 +266,11 @@ PKG_CHECK_MODULES([FREETYPE], [freetype2 >= 9.3.0])
266 266
267requirement_evas="freetype2 eina >= 1.6.0 ${requirement_evas}" 267requirement_evas="freetype2 eina >= 1.6.0 ${requirement_evas}"
268 268
269# Eo
270
271PKG_CHECK_MODULES([EO], [eo])
272requirement_evas="eo ${requirement_evas}"
273
269## optional dependencies 274## optional dependencies
270 275
271# FontConfig 276# FontConfig
@@ -1699,8 +1704,8 @@ AC_SUBST(EVAS_LIBS)
1699 1704
1700# General CFLAGS 1705# General CFLAGS
1701 1706
1702EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}" 1707EVAS_GENERAL_CFLAGS="${EINA_CFLAGS} ${EO_CFLAGS}"
1703EVAS_GENERAL_LIBS="${EINA_LIBS}" 1708EVAS_GENERAL_LIBS="${EINA_LIBS} ${EO_LIBS}"
1704AC_SUBST(EVAS_GENERAL_CFLAGS) 1709AC_SUBST(EVAS_GENERAL_CFLAGS)
1705AC_SUBST(EVAS_GENERAL_LIBS) 1710AC_SUBST(EVAS_GENERAL_LIBS)
1706 1711
diff --git a/legacy/evas/src/lib/Evas.h b/legacy/evas/src/lib/Evas.h
index 8196ffca08..9adc728942 100644
--- a/legacy/evas/src/lib/Evas.h
+++ b/legacy/evas/src/lib/Evas.h
@@ -321,6 +321,9 @@
321 321
322#include <Eina.h> 322#include <Eina.h>
323 323
324/* This include has been added to support Eo in Evas */
325#include <Eo.h>
326
324#ifdef EAPI 327#ifdef EAPI
325# undef EAPI 328# undef EAPI
326#endif 329#endif
@@ -450,6 +453,74 @@ typedef enum _Evas_Callback_Type
450 EVAS_CALLBACK_LAST /**< kept as last element/sentinel -- not really an event */ 453 EVAS_CALLBACK_LAST /**< kept as last element/sentinel -- not really an event */
451} Evas_Callback_Type; /**< The types of events triggering a callback */ 454} Evas_Callback_Type; /**< The types of events triggering a callback */
452 455
456EAPI extern const Eo_Event_Description _EVAS_EVENT_MOUSE_IN;
457EAPI extern const Eo_Event_Description _EVAS_EVENT_MOUSE_OUT;
458EAPI extern const Eo_Event_Description _EVAS_EVENT_MOUSE_DOWN;
459EAPI extern const Eo_Event_Description _EVAS_EVENT_MOUSE_UP;
460EAPI extern const Eo_Event_Description _EVAS_EVENT_MOUSE_MOVE;
461EAPI extern const Eo_Event_Description _EVAS_EVENT_MOUSE_WHEEL;
462EAPI extern const Eo_Event_Description _EVAS_EVENT_MULTI_DOWN;
463EAPI extern const Eo_Event_Description _EVAS_EVENT_MULTI_UP;
464EAPI extern const Eo_Event_Description _EVAS_EVENT_MULTI_MOVE;
465EAPI extern const Eo_Event_Description _EVAS_EVENT_FREE;
466EAPI extern const Eo_Event_Description _EVAS_EVENT_KEY_DOWN;
467EAPI extern const Eo_Event_Description _EVAS_EVENT_KEY_UP;
468EAPI extern const Eo_Event_Description _EVAS_EVENT_FOCUS_IN;
469EAPI extern const Eo_Event_Description _EVAS_EVENT_FOCUS_OUT;
470EAPI extern const Eo_Event_Description _EVAS_EVENT_SHOW;
471EAPI extern const Eo_Event_Description _EVAS_EVENT_HIDE;
472EAPI extern const Eo_Event_Description _EVAS_EVENT_MOVE;
473EAPI extern const Eo_Event_Description _EVAS_EVENT_RESIZE;
474EAPI extern const Eo_Event_Description _EVAS_EVENT_RESTACK;
475EAPI extern const Eo_Event_Description _EVAS_EVENT_DEL;
476EAPI extern const Eo_Event_Description _EVAS_EVENT_HOLD;
477EAPI extern const Eo_Event_Description _EVAS_EVENT_CHANGED_SIZE_HINTS;
478EAPI extern const Eo_Event_Description _EVAS_EVENT_IMAGE_PRELOADED;
479EAPI extern const Eo_Event_Description _EVAS_EVENT_IMAGE_RESIZE;
480EAPI extern const Eo_Event_Description _EVAS_EVENT_CANVAS_FOCUS_IN;
481EAPI extern const Eo_Event_Description _EVAS_EVENT_CANVAS_FOCUS_OUT;
482EAPI extern const Eo_Event_Description _EVAS_EVENT_RENDER_FLUSH_PRE;
483EAPI extern const Eo_Event_Description _EVAS_EVENT_RENDER_FLUSH_POST;
484EAPI extern const Eo_Event_Description _EVAS_EVENT_CANVAS_OBJECT_FOCUS_IN;
485EAPI extern const Eo_Event_Description _EVAS_EVENT_CANVAS_OBJECT_FOCUS_OUT;
486EAPI extern const Eo_Event_Description _EVAS_EVENT_IMAGE_UNLOADED;
487EAPI extern const Eo_Event_Description _EVAS_EVENT_RENDER_PRE;
488EAPI extern const Eo_Event_Description _EVAS_EVENT_RENDER_POST;
489
490#define EVAS_EVENT_MOUSE_IN (&(_EVAS_EVENT_MOUSE_IN))
491#define EVAS_EVENT_MOUSE_OUT (&(_EVAS_EVENT_MOUSE_OUT))
492#define EVAS_EVENT_MOUSE_DOWN (&(_EVAS_EVENT_MOUSE_DOWN))
493#define EVAS_EVENT_MOUSE_UP (&(_EVAS_EVENT_MOUSE_UP))
494#define EVAS_EVENT_MOUSE_MOVE (&(_EVAS_EVENT_MOUSE_MOVE))
495#define EVAS_EVENT_MOUSE_WHEEL (&(_EVAS_EVENT_MOUSE_WHEEL))
496#define EVAS_EVENT_MULTI_DOWN (&(_EVAS_EVENT_MULTI_DOWN))
497#define EVAS_EVENT_MULTI_UP (&(_EVAS_EVENT_MULTI_UP))
498#define EVAS_EVENT_MULTI_MOVE (&(_EVAS_EVENT_MULTI_MOVE))
499#define EVAS_EVENT_FREE (&(_EVAS_EVENT_FREE))
500#define EVAS_EVENT_KEY_DOWN (&(_EVAS_EVENT_KEY_DOWN))
501#define EVAS_EVENT_KEY_UP (&(_EVAS_EVENT_KEY_UP))
502#define EVAS_EVENT_FOCUS_IN (&(_EVAS_EVENT_FOCUS_IN))
503#define EVAS_EVENT_FOCUS_OUT (&(_EVAS_EVENT_FOCUS_OUT))
504#define EVAS_EVENT_SHOW (&(_EVAS_EVENT_SHOW))
505#define EVAS_EVENT_HIDE (&(_EVAS_EVENT_HIDE))
506#define EVAS_EVENT_MOVE (&(_EVAS_EVENT_MOVE))
507#define EVAS_EVENT_RESIZE (&(_EVAS_EVENT_RESIZE))
508#define EVAS_EVENT_RESTACK (&(_EVAS_EVENT_RESTACK))
509#define EVAS_EVENT_DEL (&(_EVAS_EVENT_DEL))
510#define EVAS_EVENT_HOLD (&(_EVAS_EVENT_HOLD))
511#define EVAS_EVENT_CHANGED_SIZE_HINTS (&(_EVAS_EVENT_CHANGED_SIZE_HINTS))
512#define EVAS_EVENT_IMAGE_PRELOADED (&(_EVAS_EVENT_IMAGE_PRELOADED))
513#define EVAS_EVENT_IMAGE_RESIZE (&(_EVAS_EVENT_IMAGE_RESIZE))
514#define EVAS_EVENT_CANVAS_FOCUS_IN (&(_EVAS_EVENT_CANVAS_FOCUS_IN))
515#define EVAS_EVENT_CANVAS_FOCUS_OUT (&(_EVAS_EVENT_CANVAS_FOCUS_OUT))
516#define EVAS_EVENT_RENDER_FLUSH_PRE (&(_EVAS_EVENT_RENDER_FLUSH_PRE))
517#define EVAS_EVENT_RENDER_FLUSH_POST (&(_EVAS_EVENT_RENDER_FLUSH_POST))
518#define EVAS_EVENT_CANVAS_OBJECT_FOCUS_IN (&(_EVAS_EVENT_CANVAS_OBJECT_FOCUS_IN))
519#define EVAS_EVENT_CANVAS_OBJECT_FOCUS_OUT (&(_EVAS_EVENT_CANVAS_OBJECT_FOCUS_OUT))
520#define EVAS_EVENT_IMAGE_UNLOADED (&(_EVAS_EVENT_IMAGE_UNLOADED))
521#define EVAS_EVENT_RENDER_PRE (&(_EVAS_EVENT_RENDER_PRE))
522#define EVAS_EVENT_RENDER_POST (&(_EVAS_EVENT_RENDER_POST))
523
453/** 524/**
454 * @def EVAS_CALLBACK_PRIORITY_BEFORE 525 * @def EVAS_CALLBACK_PRIORITY_BEFORE
455 * Slightly more prioritized than default. 526 * Slightly more prioritized than default.
@@ -481,7 +552,85 @@ typedef enum _Evas_Callback_Type
481 * 552 *
482 * @since 1.1 553 * @since 1.1
483 */ 554 */
484typedef short Evas_Callback_Priority; 555typedef Eo_Callback_Priority Evas_Callback_Priority;
556
557EAPI extern const Eo_Event_Description _CLICKED_EVENT;
558EAPI extern const Eo_Event_Description _CLICKED_DOUBLE_EVENT;
559EAPI extern const Eo_Event_Description _CLICKED_TRIPLE_EVENT;
560EAPI extern const Eo_Event_Description _PRESSED_EVENT;
561EAPI extern const Eo_Event_Description _UNPRESSED_EVENT;
562EAPI extern const Eo_Event_Description _LONGPRESSED_EVENT;
563EAPI extern const Eo_Event_Description _REPEATED_EVENT;
564EAPI extern const Eo_Event_Description _SCROLL_EVENT;
565EAPI extern const Eo_Event_Description _SCROLL_ANIM_START_EVENT;
566EAPI extern const Eo_Event_Description _SCROLL_ANIM_STOP_EVENT;
567EAPI extern const Eo_Event_Description _SCROLL_DRAG_START_EVENT;
568EAPI extern const Eo_Event_Description _SCROLL_DRAG_STOP_EVENT;
569EAPI extern const Eo_Event_Description _ZOOM_START_EVENT;
570EAPI extern const Eo_Event_Description _ZOOM_STOP_EVENT;
571EAPI extern const Eo_Event_Description _ZOOM_CHANGE_EVENT;
572EAPI extern const Eo_Event_Description _SELECTED_EVENT;
573EAPI extern const Eo_Event_Description _UNSELECTED_EVENT;
574EAPI extern const Eo_Event_Description _SELECTION_PASTE_EVENT;
575EAPI extern const Eo_Event_Description _SELECTION_COPY_EVENT;
576EAPI extern const Eo_Event_Description _SELECTION_CUT_EVENT;
577EAPI extern const Eo_Event_Description _SELECTION_START_EVENT;
578EAPI extern const Eo_Event_Description _SELECTION_CHANGED_EVENT;
579EAPI extern const Eo_Event_Description _SELECTION_CLEARED_EVENT;
580EAPI extern const Eo_Event_Description _DRAG_EVENT;
581EAPI extern const Eo_Event_Description _DRAG_START_EVENT;
582EAPI extern const Eo_Event_Description _DRAG_STOP_EVENT;
583EAPI extern const Eo_Event_Description _DRAG_END_EVENT;
584EAPI extern const Eo_Event_Description _DRAG_START_UP_EVENT;
585EAPI extern const Eo_Event_Description _DRAG_START_DOWN_EVENT;
586EAPI extern const Eo_Event_Description _DRAG_START_RIGHT_EVENT;
587EAPI extern const Eo_Event_Description _DRAG_START_LEFT_EVENT;
588
589#define EVAS_SMART_CLICKED_EVENT (&(_CLICKED_EVENT))
590#define EVAS_SMART_CLICKED_DOUBLE_EVENT (&(_CLICKED_DOUBLE_EVENT))
591#define EVAS_SMART_CLICKED_TRIPLE_EVENT (&(_CLICKED_TRIPLE_EVENT))
592#define EVAS_SMART_PRESSED_EVENT (&(_PRESSED_EVENT))
593#define EVAS_SMART_UNPRESSED_EVENT (&(_UNPRESSED_EVENT))
594#define EVAS_SMART_LONGPRESSED_EVENT (&(_LONGPRESSED_EVENT))
595#define EVAS_SMART_REPEATED_EVENT (&(_REPEATED_EVENT))
596#define EVAS_SMART_SCROLL_EVENT (&(_SCROLL_EVENT))
597#define EVAS_SMART_SCROLL_ANIM_START_EVENT (&(_SCROLL_ANIM_START_EVENT))
598#define EVAS_SMART_SCROLL_ANIM_STOP_EVENT (&(_SCROLL_ANIM_STOP_EVENT))
599#define EVAS_SMART_SCROLL_DRAG_START_EVENT (&(_SCROLL_DRAG_START_EVENT))
600#define EVAS_SMART_SCROLL_DRAG_STOP_EVENT (&(_SCROLL_DRAG_STOP_EVENT))
601#define EVAS_SMART_ZOOM_START_EVENT (&(_ZOOM_START_EVENT))
602#define EVAS_SMART_ZOOM_STOP_EVENT (&(_ZOOM_STOP_EVENT))
603#define EVAS_SMART_ZOOM_CHANGE_EVENT (&(_ZOOM_CHANGE_EVENT))
604#define EVAS_SMART_SELECTED_EVENT (&(_SELECTED_EVENT))
605#define EVAS_SMART_UNSELECTED_EVENT (&(_UNSELECTED_EVENT))
606#define EVAS_SMART_SELECTION_PASTE_EVENT (&(_SELECTION_PASTE_EVENT))
607#define EVAS_SMART_SELECTION_COPY_EVENT (&(_SELECTION_COPY_EVENT))
608#define EVAS_SMART_SELECTION_CUT_EVENT (&(_SELECTION_CUT_EVENT))
609#define EVAS_SMART_SELECTION_START_EVENT (&(_SELECTION_START_EVENT))
610#define EVAS_SMART_SELECTION_CHANGED_EVENT (&(_SELECTION_CHANGED_EVENT))
611#define EVAS_SMART_SELECTION_CLEARED_EVENT (&(_SELECTION_CLEARED_EVENT))
612#define EVAS_SMART_DRAG_EVENT (&(_DRAG_EVENT))
613#define EVAS_SMART_DRAG_START_EVENT (&(_DRAG_START_EVENT))
614#define EVAS_SMART_DRAG_STOP_EVENT (&(_DRAG_STOP_EVENT))
615#define EVAS_SMART_DRAG_END_EVENT (&(_DRAG_END_EVENT))
616#define EVAS_SMART_DRAG_START_UP_EVENT (&(_DRAG_START_UP_EVENT))
617#define EVAS_SMART_DRAG_START_DOWN_EVENT (&(_DRAG_START_DOWN_EVENT))
618#define EVAS_SMART_DRAG_START_RIGHT_EVENT (&(_DRAG_START_RIGHT_EVENT))
619#define EVAS_SMART_DRAG_START_LEFT_EVENT (&(_DRAG_START_LEFT_EVENT))
620
621const Eo_Class *evas_smart_signal_interface_get(void) EINA_CONST;
622const Eo_Class *evas_smart_clickable_interface_get(void) EINA_CONST;
623const Eo_Class *evas_smart_scrollable_interface_get(void) EINA_CONST;
624const Eo_Class *evas_smart_zoomable_interface_get(void) EINA_CONST;
625const Eo_Class *evas_smart_selectable_interface_get(void) EINA_CONST;
626const Eo_Class *evas_smart_draggable_interface_get(void) EINA_CONST;
627
628#define EVAS_SMART_SIGNAL_INTERFACE evas_smart_signal_interface_get()
629#define EVAS_SMART_CLICKABLE_INTERFACE evas_smart_clickable_interface_get()
630#define EVAS_SMART_SCROLLABLE_INTERFACE evas_smart_scrollable_interface_get()
631#define EVAS_SMART_ZOOMABLE_INTERFACE evas_smart_zoomable_interface_get()
632#define EVAS_SMART_SELECTABLE_INTERFACE evas_smart_selectable_interface_get()
633#define EVAS_SMART_DRAGGABLE_INTERFACE evas_smart_draggable_interface_get()
485 634
486/** 635/**
487 * Flags for Mouse Button events 636 * Flags for Mouse Button events
@@ -623,14 +772,28 @@ typedef struct _Evas_Map Evas_Map;
623 * 772 *
624 * @ingroup Evas_Canvas 773 * @ingroup Evas_Canvas
625 */ 774 */
626typedef struct _Evas Evas; 775typedef Eo Evas;
776
777/**
778 * @typedef Evas_Public_Data
779 * Public data for an Evas.
780 * @ingroup Evas_Canvas
781 */
782typedef struct _Evas_Public_Data Evas_Public_Data;
627 783
628/** 784/**
629 * @typedef Evas_Object 785 * @typedef Evas_Object
630 * An Evas Object handle. 786 * An Evas Object handle.
631 * @ingroup Evas_Object_Group 787 * @ingroup Evas_Object_Group
632 */ 788 */
633typedef struct _Evas_Object Evas_Object; 789typedef Eo Evas_Object;
790
791/**
792 * @typedef Evas_Object_Protected_Data
793 * Protected data for an Evas Object.
794 * @ingroup Evas_Object_Group
795 */
796typedef struct _Evas_Object_Protected_Data Evas_Object_Protected_Data;
634 797
635typedef void Evas_Performance; /**< An Evas Performance handle */ 798typedef void Evas_Performance; /**< An Evas Performance handle */
636typedef struct _Evas_Modifier Evas_Modifier; /**< An opaque type containing information on which modifier keys are registered in an Evas canvas */ 799typedef struct _Evas_Modifier Evas_Modifier; /**< An opaque type containing information on which modifier keys are registered in an Evas canvas */
@@ -2188,6 +2351,223 @@ EAPI int evas_pointer_button_down_mask_get(const Evas *e) EINA_WAR
2188EAPI Eina_Bool evas_pointer_inside_get(const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); 2351EAPI Eina_Bool evas_pointer_inside_get(const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
2189 2352
2190EAPI void evas_sync(Evas *e) EINA_ARG_NONNULL(1); 2353EAPI void evas_sync(Evas *e) EINA_ARG_NONNULL(1);
2354
2355#define EVAS_CLASS evas_class_get()
2356
2357const Eo_Class *evas_class_get(void) EINA_CONST;
2358
2359extern EAPI Eo_Op EVAS_CANVAS_BASE_ID;
2360
2361enum
2362{
2363 EVAS_CANVAS_SUB_ID_OUTPUT_METHOD_SET,
2364 EVAS_CANVAS_SUB_ID_OUTPUT_METHOD_GET,
2365 EVAS_CANVAS_SUB_ID_ENGINE_INFO_GET,
2366 EVAS_CANVAS_SUB_ID_ENGINE_INFO_SET,
2367 EVAS_CANVAS_SUB_ID_OUTPUT_SIZE_SET,
2368 EVAS_CANVAS_SUB_ID_OUTPUT_SIZE_GET,
2369 EVAS_CANVAS_SUB_ID_OUTPUT_VIEWPORT_SET,
2370 EVAS_CANVAS_SUB_ID_OUTPUT_VIEWPORT_GET,
2371 EVAS_CANVAS_SUB_ID_OUTPUT_FRAMESPACE_SET,
2372 EVAS_CANVAS_SUB_ID_OUTPUT_FRAMESPACE_GET,
2373 EVAS_CANVAS_SUB_ID_COORD_SCREEN_X_TO_WORLD,
2374 EVAS_CANVAS_SUB_ID_COORD_SCREEN_Y_TO_WORLD,
2375 EVAS_CANVAS_SUB_ID_COORD_WORLD_X_TO_SCREEN,
2376 EVAS_CANVAS_SUB_ID_COORD_WORLD_Y_TO_SCREEN,
2377 EVAS_CANVAS_SUB_ID_POINTER_OUTPUT_XY_GET,
2378 EVAS_CANVAS_SUB_ID_POINTER_CANVAS_XY_GET,
2379 EVAS_CANVAS_SUB_ID_POINTER_BUTTON_DOWN_MASK_GET,
2380 EVAS_CANVAS_SUB_ID_POINTER_INSIDE_GET,
2381 EVAS_CANVAS_SUB_ID_DATA_ATTACH_SET,
2382 EVAS_CANVAS_SUB_ID_DATA_ATTACH_GET,
2383 EVAS_CANVAS_SUB_ID_FOCUS_IN,
2384 EVAS_CANVAS_SUB_ID_FOCUS_OUT,
2385 EVAS_CANVAS_SUB_ID_FOCUS_STATE_GET,
2386 EVAS_CANVAS_SUB_ID_NOCHANGE_PUSH,
2387 EVAS_CANVAS_SUB_ID_NOCHANGE_POP,
2388 EVAS_CANVAS_SUB_ID_EVENT_DEFAULT_FLAGS_SET,
2389 EVAS_CANVAS_SUB_ID_EVENT_DEFAULT_FLAGS_GET,
2390 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_DOWN,
2391 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_UP,
2392 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_CANCEL,
2393 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_WHEEL,
2394 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_MOVE,
2395 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_IN,
2396 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_OUT,
2397 EVAS_CANVAS_SUB_ID_EVENT_FEED_MULTI_DOWN,
2398 EVAS_CANVAS_SUB_ID_EVENT_FEED_MULTI_UP,
2399 EVAS_CANVAS_SUB_ID_EVENT_FEED_MULTI_MOVE,
2400 EVAS_CANVAS_SUB_ID_EVENT_FEED_KEY_DOWN,
2401 EVAS_CANVAS_SUB_ID_EVENT_FEED_KEY_UP,
2402 EVAS_CANVAS_SUB_ID_EVENT_FEED_HOLD,
2403 EVAS_CANVAS_SUB_ID_EVENT_REFEED_EVENT,
2404 EVAS_CANVAS_SUB_ID_EVENT_DOWN_COUNT_GET,
2405 EVAS_CANVAS_SUB_ID_FOCUS_GET,
2406 EVAS_CANVAS_SUB_ID_FONT_PATH_CLEAR,
2407 EVAS_CANVAS_SUB_ID_FONT_PATH_APPEND,
2408 EVAS_CANVAS_SUB_ID_FONT_PATH_PREPEND,
2409 EVAS_CANVAS_SUB_ID_FONT_PATH_LIST,
2410 EVAS_CANVAS_SUB_ID_FONT_HINTING_SET,
2411 EVAS_CANVAS_SUB_ID_FONT_HINTING_GET,
2412 EVAS_CANVAS_SUB_ID_FONT_HINTING_CAN_HINT,
2413 EVAS_CANVAS_SUB_ID_FONT_CACHE_FLUSH,
2414 EVAS_CANVAS_SUB_ID_FONT_CACHE_SET,
2415 EVAS_CANVAS_SUB_ID_FONT_CACHE_GET,
2416 EVAS_CANVAS_SUB_ID_FONT_AVAILABLE_LIST,
2417 EVAS_CANVAS_SUB_ID_KEY_MODIFIER_GET,
2418 EVAS_CANVAS_SUB_ID_KEY_LOCK_GET,
2419 EVAS_CANVAS_SUB_ID_KEY_MODIFIER_ADD,
2420 EVAS_CANVAS_SUB_ID_KEY_MODIFIER_DEL,
2421 EVAS_CANVAS_SUB_ID_KEY_LOCK_ADD,
2422 EVAS_CANVAS_SUB_ID_KEY_LOCK_DEL,
2423 EVAS_CANVAS_SUB_ID_KEY_MODIFIER_ON,
2424 EVAS_CANVAS_SUB_ID_KEY_MODIFIER_OFF,
2425 EVAS_CANVAS_SUB_ID_KEY_LOCK_ON,
2426 EVAS_CANVAS_SUB_ID_KEY_LOCK_OFF,
2427 EVAS_CANVAS_SUB_ID_KEY_MODIFIER_MASK_GET,
2428 EVAS_CANVAS_SUB_ID_DAMAGE_RECTANGLE_ADD,
2429 EVAS_CANVAS_SUB_ID_OBSCURED_RECTANGLE_ADD,
2430 EVAS_CANVAS_SUB_ID_OBSCURED_CLEAR,
2431 EVAS_CANVAS_SUB_ID_RENDER_UPDATES,
2432 EVAS_CANVAS_SUB_ID_RENDER,
2433 EVAS_CANVAS_SUB_ID_NORENDER,
2434 EVAS_CANVAS_SUB_ID_RENDER_IDLE_FLUSH,
2435 EVAS_CANVAS_SUB_ID_SYNC,
2436 EVAS_CANVAS_SUB_ID_RENDER_DUMP,
2437 EVAS_CANVAS_SUB_ID_OBJECT_BOTTOM_GET,
2438 EVAS_CANVAS_SUB_ID_OBJECT_TOP_GET,
2439 EVAS_CANVAS_SUB_ID_TOUCH_POINT_LIST_COUNT,
2440 EVAS_CANVAS_SUB_ID_TOUCH_POINT_LIST_NTH_XY_GET,
2441 EVAS_CANVAS_SUB_ID_TOUCH_POINT_LIST_NTH_ID_GET,
2442 EVAS_CANVAS_SUB_ID_TOUCH_POINT_LIST_NTH_STATE_GET,
2443 EVAS_CANVAS_SUB_ID_IMAGE_CACHE_FLUSH,
2444 EVAS_CANVAS_SUB_ID_IMAGE_CACHE_RELOAD,
2445 EVAS_CANVAS_SUB_ID_IMAGE_CACHE_SET,
2446 EVAS_CANVAS_SUB_ID_IMAGE_CACHE_GET,
2447 EVAS_CANVAS_SUB_ID_IMAGE_MAX_SIZE_GET,
2448 EVAS_CANVAS_SUB_ID_OBJECT_NAME_FIND,
2449 EVAS_CANVAS_SUB_ID_OBJECT_TOP_AT_XY_GET,
2450 EVAS_CANVAS_SUB_ID_OBJECT_TOP_IN_RECTANGLE_GET,
2451 EVAS_CANVAS_SUB_ID_OBJECTS_AT_XY_GET,
2452 EVAS_CANVAS_SUB_ID_OBJECTS_IN_RECTANGLE_GET,
2453 EVAS_CANVAS_SUB_ID_SMART_OBJECTS_CALCULATE,
2454 EVAS_CANVAS_SUB_ID_SMART_OBJECTS_CALCULATE_COUNT_GET,
2455 EVAS_CANVAS_SUB_ID_LAST
2456};
2457
2458#define EVAS_CANVAS_ID(sub_id) (EVAS_CANVAS_BASE_ID + sub_id)
2459
2460#define evas_canvas_output_method_set(render_method) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OUTPUT_METHOD_SET), EO_TYPECHECK(int, render_method)
2461#define evas_canvas_output_method_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OUTPUT_METHOD_GET), EO_TYPECHECK(int *, ret)
2462#define evas_canvas_engine_info_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_ENGINE_INFO_GET), EO_TYPECHECK(Evas_Engine_Info **, ret)
2463#define evas_canvas_engine_info_set(info, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_ENGINE_INFO_SET), EO_TYPECHECK(Evas_Engine_Info *, info), EO_TYPECHECK(Eina_Bool *, ret)
2464#define evas_canvas_output_size_set(w, h) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OUTPUT_SIZE_SET), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
2465#define evas_canvas_output_size_get(w, h) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OUTPUT_SIZE_GET), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h)
2466#define evas_canvas_output_viewport_set(x, y, w, h) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OUTPUT_VIEWPORT_SET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
2467#define evas_canvas_output_viewport_get(x, y, w, h) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OUTPUT_VIEWPORT_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
2468#define evas_canvas_output_framespace_set(x, y, w, h) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OUTPUT_FRAMESPACE_SET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
2469#define evas_canvas_output_framespace_get(x, y, w, h) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OUTPUT_FRAMESPACE_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
2470#define evas_canvas_coord_screen_x_to_world(x, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_COORD_SCREEN_X_TO_WORLD), EO_TYPECHECK(int, x), EO_TYPECHECK(Evas_Coord *, ret)
2471#define evas_canvas_coord_screen_y_to_world(y, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_COORD_SCREEN_Y_TO_WORLD), EO_TYPECHECK(int, y), EO_TYPECHECK(Evas_Coord *, ret)
2472#define evas_canvas_coord_world_x_to_screen(x, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_COORD_WORLD_X_TO_SCREEN), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(int *, ret)
2473#define evas_canvas_coord_world_y_to_screen(y, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_COORD_WORLD_Y_TO_SCREEN), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(int *, ret)
2474#define evas_canvas_pointer_output_xy_get(x, y) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_POINTER_OUTPUT_XY_GET), EO_TYPECHECK(int *, x), EO_TYPECHECK(int *, y)
2475#define evas_canvas_pointer_canvas_xy_get(x, y) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_POINTER_CANVAS_XY_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y)
2476#define evas_canvas_pointer_button_down_mask_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_POINTER_BUTTON_DOWN_MASK_GET), EO_TYPECHECK(int *, ret)
2477#define evas_canvas_pointer_inside_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_POINTER_INSIDE_GET), EO_TYPECHECK(Eina_Bool *, ret)
2478#define evas_canvas_data_attach_set(data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_DATA_ATTACH_SET), EO_TYPECHECK(void *, data)
2479#define evas_canvas_data_attach_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_DATA_ATTACH_GET), EO_TYPECHECK(void **, ret)
2480#define evas_canvas_focus_in() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FOCUS_IN)
2481#define evas_canvas_focus_out() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FOCUS_OUT)
2482#define evas_canvas_focus_state_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FOCUS_STATE_GET), EO_TYPECHECK(Eina_Bool *, ret)
2483#define evas_canvas_nochange_push() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_NOCHANGE_PUSH)
2484#define evas_canvas_nochange_pop() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_NOCHANGE_POP)
2485
2486#define evas_canvas_event_default_flags_set(flags) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_DEFAULT_FLAGS_SET), EO_TYPECHECK(Evas_Event_Flags, flags)
2487#define evas_canvas_event_default_flags_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_DEFAULT_FLAGS_GET), EO_TYPECHECK(Evas_Event_Flags *, ret)
2488#define evas_canvas_event_freeze() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FREEZE)
2489#define evas_canvas_event_thaw() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_THAW)
2490#define evas_canvas_event_freeze_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FREEZE_GET), EO_TYPECHECK(int *, ret)
2491#define evas_canvas_event_thaw_eval() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_THAW_EVAL)
2492#define evas_canvas_event_feed_mouse_down(b, flags, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_DOWN), EO_TYPECHECK(int, b), EO_TYPECHECK(Evas_Button_Flags, flags), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2493#define evas_canvas_event_feed_mouse_up(b, flags, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_UP), EO_TYPECHECK(int, b), EO_TYPECHECK(Evas_Button_Flags, flags), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2494#define evas_canvas_event_feed_mouse_cancel(timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_CANCEL), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2495#define evas_canvas_event_feed_mouse_wheel(direction, z, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_WHEEL), EO_TYPECHECK(int, direction), EO_TYPECHECK(int, z), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2496#define evas_canvas_event_feed_mouse_move(x, y, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_MOVE), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2497#define evas_canvas_event_feed_mouse_in(timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_IN), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2498#define evas_canvas_event_feed_mouse_out(timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_OUT), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2499#define evas_canvas_event_feed_multi_down(d, x, y, rad, radx, rady, pres, ang, fx, fy, flags, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MULTI_DOWN), EO_TYPECHECK(int, d), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(double, rad), EO_TYPECHECK(double, radx), EO_TYPECHECK(double, rady), EO_TYPECHECK(double, pres), EO_TYPECHECK(double, ang), EO_TYPECHECK(double, fx), EO_TYPECHECK(double, fy), EO_TYPECHECK(Evas_Button_Flags, flags), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2500#define evas_canvas_event_feed_multi_up(d, x, y, rad, radx, rady, pres, ang, fx, fy, flags, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MULTI_UP), EO_TYPECHECK(int, d), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(double, rad), EO_TYPECHECK(double, radx), EO_TYPECHECK(double, rady), EO_TYPECHECK(double, pres), EO_TYPECHECK(double, ang), EO_TYPECHECK(double, fx), EO_TYPECHECK(double, fy), EO_TYPECHECK(Evas_Button_Flags, flags), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2501#define evas_canvas_event_feed_multi_move(d, x, y, rad, radx, rady, pres, ang, fx, fy, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MULTI_MOVE), EO_TYPECHECK(int, d), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(double, rad), EO_TYPECHECK(double, radx), EO_TYPECHECK(double, rady), EO_TYPECHECK(double, pres), EO_TYPECHECK(double, ang), EO_TYPECHECK(double, fx), EO_TYPECHECK(double, fy), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2502#define evas_canvas_event_feed_key_down(keyname, key, string, compose, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_KEY_DOWN), EO_TYPECHECK(const char *, keyname), EO_TYPECHECK(const char *, key), EO_TYPECHECK(const char *, string), EO_TYPECHECK(const char *, compose), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2503#define evas_canvas_event_feed_key_up(keyname, key, string, compose, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_KEY_UP), EO_TYPECHECK(const char *, keyname), EO_TYPECHECK(const char *, key), EO_TYPECHECK(const char *, string), EO_TYPECHECK(const char *, compose), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2504#define evas_canvas_event_feed_hold(hold, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_HOLD), EO_TYPECHECK(int, hold), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
2505#define evas_canvas_event_refeed_event(event_copy, event_type) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_REFEED_EVENT), EO_TYPECHECK(void *, event_copy), EO_TYPECHECK(Evas_Callback_Type, event_type)
2506#define evas_canvas_event_down_count_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_DOWN_COUNT_GET), EO_TYPECHECK(int *, ret)
2507
2508#define evas_canvas_focus_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FOCUS_GET), EO_TYPECHECK(Evas_Object **, ret)
2509
2510#define evas_canvas_font_path_clear() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_PATH_CLEAR)
2511#define evas_canvas_font_path_append(path) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_PATH_APPEND), EO_TYPECHECK(const char *, path)
2512#define evas_canvas_font_path_prepend(path) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_PATH_PREPEND), EO_TYPECHECK(const char *, path)
2513#define evas_canvas_font_path_list(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_PATH_LIST), EO_TYPECHECK(const Eina_List **, ret)
2514#define evas_canvas_font_hinting_set(hinting) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_SET), EO_TYPECHECK(Evas_Font_Hinting_Flags, hinting)
2515#define evas_canvas_font_hinting_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_GET), EO_TYPECHECK(Evas_Font_Hinting_Flags *, ret)
2516#define evas_canvas_font_hinting_can_hint(hinting, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_CAN_HINT), EO_TYPECHECK(Evas_Font_Hinting_Flags, hinting), EO_TYPECHECK(Eina_Bool *, ret)
2517#define evas_canvas_font_cache_flush() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_FLUSH)
2518#define evas_canvas_font_cache_set(size) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_SET), EO_TYPECHECK(int, size)
2519#define evas_canvas_font_cache_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_GET), EO_TYPECHECK(int *, ret)
2520#define evas_canvas_font_available_list(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_AVAILABLE_LIST), EO_TYPECHECK(Eina_List **, ret)
2521
2522#define evas_canvas_key_modifier_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_MODIFIER_GET), EO_TYPECHECK(const Evas_Modifier **, ret)
2523#define evas_canvas_key_lock_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_LOCK_GET), EO_TYPECHECK(const Evas_Lock **, ret)
2524#define evas_canvas_key_modifier_add(keyname) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_MODIFIER_ADD), EO_TYPECHECK(const char *, keyname)
2525#define evas_canvas_key_modifier_del(keyname) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_MODIFIER_DEL), EO_TYPECHECK(const char *, keyname)
2526#define evas_canvas_key_lock_add(keyname) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_LOCK_ADD), EO_TYPECHECK(const char *, keyname)
2527#define evas_canvas_key_lock_del(keyname) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_LOCK_DEL), EO_TYPECHECK(const char *, keyname)
2528#define evas_canvas_key_modifier_on(keyname) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_MODIFIER_ON), EO_TYPECHECK(const char *, keyname)
2529#define evas_canvas_key_modifier_off(keyname) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_MODIFIER_OFF), EO_TYPECHECK(const char *, keyname)
2530#define evas_canvas_key_lock_on(keyname) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_LOCK_ON), EO_TYPECHECK(const char *, keyname)
2531#define evas_canvas_key_lock_off(keyname) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_LOCK_OFF), EO_TYPECHECK(const char *, keyname)
2532#define evas_canvas_key_modifier_mask_get(keyname, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_KEY_MODIFIER_MASK_GET), EO_TYPECHECK(const char *, keyname), EO_TYPECHECK(Evas_Modifier_Mask *, ret)
2533
2534#define evas_canvas_damage_rectangle_add(x, y, w, h) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_DAMAGE_RECTANGLE_ADD), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
2535#define evas_canvas_obscured_rectangle_add(x, y, w, h) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBSCURED_RECTANGLE_ADD), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
2536#define evas_canvas_obscured_clear() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBSCURED_CLEAR)
2537#define evas_canvas_render_updates(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_RENDER_UPDATES), EO_TYPECHECK(Eina_List **, ret)
2538#define evas_canvas_render() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_RENDER)
2539#define evas_canvas_norender() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_NORENDER)
2540#define evas_canvas_render_idle_flush() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_RENDER_IDLE_FLUSH)
2541#define evas_canvas_sync() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_SYNC)
2542#define evas_canvas_render_dump() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_RENDER_DUMP)
2543
2544#define evas_canvas_object_bottom_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBJECT_BOTTOM_GET), EO_TYPECHECK(Evas_Object **, ret)
2545#define evas_canvas_object_top_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBJECT_TOP_GET), EO_TYPECHECK(Evas_Object **, ret)
2546
2547#define evas_canvas_touch_point_list_count(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_TOUCH_POINT_LIST_COUNT), EO_TYPECHECK(unsigned int *, ret)
2548#define evas_canvas_touch_point_list_nth_xy_get(n, x, y) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_TOUCH_POINT_LIST_NTH_XY_GET), EO_TYPECHECK(unsigned int, n), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y)
2549#define evas_canvas_touch_point_list_nth_id_get(n, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_TOUCH_POINT_LIST_NTH_ID_GET), EO_TYPECHECK(unsigned int, n), EO_TYPECHECK(int *, ret)
2550#define evas_canvas_touch_point_list_nth_state_get(n, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_TOUCH_POINT_LIST_NTH_STATE_GET), EO_TYPECHECK(unsigned int, n), EO_TYPECHECK(Evas_Touch_Point_State *, ret)
2551
2552#define evas_canvas_image_cache_flush() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_FLUSH)
2553#define evas_canvas_image_cache_reload() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_RELOAD)
2554#define evas_canvas_image_cache_set(size) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_SET), EO_TYPECHECK(int, size)
2555#define evas_canvas_image_cache_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_GET), EO_TYPECHECK(int *, ret)
2556#define evas_canvas_image_max_size_get(maxw, maxh, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_MAX_SIZE_GET), EO_TYPECHECK(int *, maxw), EO_TYPECHECK(int *, maxh), EO_TYPECHECK(Eina_Bool *, ret)
2557
2558#define evas_canvas_object_name_find(name, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBJECT_NAME_FIND),EO_TYPECHECK(const char *, name), EO_TYPECHECK(Evas_Object **, ret)
2559
2560#define evas_canvas_object_top_at_xy_get(x, y, include_pass_events_objects, include_hidden_objects, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBJECT_TOP_AT_XY_GET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Eina_Bool, include_pass_events_objects), EO_TYPECHECK(Eina_Bool, include_hidden_objects), EO_TYPECHECK(Evas_Object **, ret)
2561#define evas_canvas_object_top_in_rectangle_get(x, y, w, h, include_pass_events_objects, include_hidden_objects, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBJECT_TOP_IN_RECTANGLE_GET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h), EO_TYPECHECK(Eina_Bool, include_pass_events_objects), EO_TYPECHECK(Eina_Bool, include_hidden_objects), EO_TYPECHECK(Evas_Object **, ret)
2562#define evas_canvas_objects_at_xy_get(x, y, include_pass_events_objects, include_hidden_objects, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBJECTS_AT_XY_GET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Eina_Bool, include_pass_events_objects), EO_TYPECHECK(Eina_Bool, include_hidden_objects), EO_TYPECHECK(Eina_List **, ret)
2563#define evas_canvas_objects_in_rectangle_get(x, y, w, h, include_pass_events_objects, include_hidden_objects, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_OBJECTS_IN_RECTANGLE_GET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h), EO_TYPECHECK(Eina_Bool, include_pass_events_objects), EO_TYPECHECK(Eina_Bool, include_hidden_objects), EO_TYPECHECK(Eina_List **, ret)
2564
2565#define evas_canvas_smart_objects_calculate() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_SMART_OBJECTS_CALCULATE)
2566#define evas_canvas_smart_objects_calculate_count_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_SMART_OBJECTS_CALCULATE_COUNT_GET), EO_TYPECHECK(int *, ret)
2567
2568
2569
2570
2191 2571
2192/** 2572/**
2193 * @defgroup Evas_Canvas_Events Canvas Events 2573 * @defgroup Evas_Canvas_Events Canvas Events
@@ -6397,6 +6777,19 @@ EAPI void *evas_object_intercept_clip_unset_callback_del(Evas_Object *obj, Evas_
6397 * @ingroup Evas_Object_Specific 6777 * @ingroup Evas_Object_Specific
6398 */ 6778 */
6399 6779
6780#define EVAS_OBJ_RECTANGLE_CLASS evas_object_rectangle_class_get()
6781
6782const Eo_Class *evas_object_rectangle_class_get(void) EINA_CONST;
6783
6784extern EAPI Eo_Op EVAS_OBJ_RECTANGLE_BASE_ID;
6785
6786enum
6787{
6788 EVAS_OBJ_RECTANGLE_SUB_ID_LAST
6789};
6790
6791#define EVAS_OBJ_RECTANGLE_ID(sub_id) (EVAS_OBJ_RECTANGLE_BASE_ID + sub_id)
6792
6400/** 6793/**
6401 * Adds a rectangle to the given evas. 6794 * Adds a rectangle to the given evas.
6402 * @param e The given evas. 6795 * @param e The given evas.
@@ -7904,6 +8297,408 @@ typedef enum _Evas_Text_Style_Type
7904 EVAS_TEXT_STYLE_SHADOW_DIRECTION_RIGHT = (0x7 << 4) /**< shadow growing to the right */ 8297 EVAS_TEXT_STYLE_SHADOW_DIRECTION_RIGHT = (0x7 << 4) /**< shadow growing to the right */
7905} Evas_Text_Style_Type; /**< Types of styles to be applied on text objects. The @c EVAS_TEXT_STYLE_SHADOW_DIRECTION_* ones are to be ORed together with others imposing shadow, to change shadow's direction */ 8298} Evas_Text_Style_Type; /**< Types of styles to be applied on text objects. The @c EVAS_TEXT_STYLE_SHADOW_DIRECTION_* ones are to be ORed together with others imposing shadow, to change shadow's direction */
7906 8299
8300#define EVAS_OBJ_TEXT_CLASS evas_object_text_class_get()
8301
8302const Eo_Class *evas_object_text_class_get(void) EINA_CONST;
8303
8304extern EAPI Eo_Op EVAS_OBJ_TEXT_BASE_ID;
8305
8306enum
8307{
8308 EVAS_OBJ_TEXT_SUB_ID_FONT_SOURCE_SET,
8309 EVAS_OBJ_TEXT_SUB_ID_FONT_SOURCE_GET,
8310 EVAS_OBJ_TEXT_SUB_ID_FONT_SET,
8311 EVAS_OBJ_TEXT_SUB_ID_FONT_GET,
8312 EVAS_OBJ_TEXT_SUB_ID_TEXT_SET,
8313 EVAS_OBJ_TEXT_SUB_ID_BIDI_DELIMITERS_SET,
8314 EVAS_OBJ_TEXT_SUB_ID_BIDI_DELIMITERS_GET,
8315 EVAS_OBJ_TEXT_SUB_ID_TEXT_GET,
8316 EVAS_OBJ_TEXT_SUB_ID_DIRECTION_GET,
8317 EVAS_OBJ_TEXT_SUB_ID_ASCENT_GET,
8318 EVAS_OBJ_TEXT_SUB_ID_DESCENT_GET,
8319 EVAS_OBJ_TEXT_SUB_ID_MAX_ASCENT_GET,
8320 EVAS_OBJ_TEXT_SUB_ID_MAX_DESCENT_GET,
8321 EVAS_OBJ_TEXT_SUB_ID_INSET_GET,
8322 EVAS_OBJ_TEXT_SUB_ID_HORIZ_ADVANCE_GET,
8323 EVAS_OBJ_TEXT_SUB_ID_VERT_ADVANCE_GET,
8324 EVAS_OBJ_TEXT_SUB_ID_CHAR_POS_GET,
8325 EVAS_OBJ_TEXT_SUB_ID_LAST_UP_TO_POS,
8326 EVAS_OBJ_TEXT_SUB_ID_CHAR_COORDS_GET,
8327 EVAS_OBJ_TEXT_SUB_ID_STYLE_SET,
8328 EVAS_OBJ_TEXT_SUB_ID_STYLE_GET,
8329 EVAS_OBJ_TEXT_SUB_ID_SHADOW_COLOR_SET,
8330 EVAS_OBJ_TEXT_SUB_ID_SHADOW_COLOR_GET,
8331 EVAS_OBJ_TEXT_SUB_ID_GLOW_COLOR_SET,
8332 EVAS_OBJ_TEXT_SUB_ID_GLOW_COLOR_GET,
8333 EVAS_OBJ_TEXT_SUB_ID_GLOW2_COLOR_SET,
8334 EVAS_OBJ_TEXT_SUB_ID_GLOW2_COLOR_GET,
8335 EVAS_OBJ_TEXT_SUB_ID_OUTLINE_COLOR_SET,
8336 EVAS_OBJ_TEXT_SUB_ID_OUTLINE_COLOR_GET,
8337 EVAS_OBJ_TEXT_SUB_ID_STYLE_PAD_GET,
8338 EVAS_OBJ_TEXT_SUB_ID_LAST
8339};
8340
8341#define EVAS_OBJ_TEXT_ID(sub_id) (EVAS_OBJ_TEXT_BASE_ID + sub_id)
8342
8343/**
8344 * @def evas_obj_text_font_source_set
8345 *
8346 * Set the font (source) file to be used on a given text object.
8347 *
8348 * @param[in] font_source in
8349 *
8350 * @see evas_object_text_font_source_set
8351 */
8352#define evas_obj_text_font_source_set(font_source) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_FONT_SOURCE_SET), EO_TYPECHECK(const char *, font_source)
8353
8354/**
8355 * @def evas_obj_text_font_source_get
8356 *
8357 * Get the font file's path which is being used on a given text
8358 * object.
8359 *
8360 * @param[out] font_source out
8361 *
8362 * @see evas_object_text_font_source_get
8363 */
8364#define evas_obj_text_font_source_get(font_source) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_FONT_SOURCE_GET), EO_TYPECHECK(const char **, font_source)
8365
8366/**
8367 * @def evas_obj_text_font_set
8368 *
8369 * Set the font family and size on a given text object.
8370 *
8371 * @param[in] font in
8372 * @param[in] size in
8373 *
8374 * @see evas_object_text_font_set
8375 */
8376#define evas_obj_text_font_set(font, size) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_FONT_SET), EO_TYPECHECK(const char *, font), EO_TYPECHECK(Evas_Font_Size, size)
8377
8378/**
8379 * @def evas_obj_text_font_get
8380 *
8381 * Retrieve the font family and size in use on a given text object.
8382 *
8383 * @param[out] font out
8384 * @param[out] size out
8385 *
8386 * @see evas_object_text_font_get
8387 */
8388#define evas_obj_text_font_get(font, size) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_FONT_GET), EO_TYPECHECK(const char **, font), EO_TYPECHECK(Evas_Font_Size *, size)
8389
8390/**
8391 * @def evas_obj_text_text_set
8392 *
8393 * Sets the text string to be displayed by the given text object.
8394 *
8395 * @param[in] text
8396 *
8397 * @see evas_object_text_text_set
8398 */
8399#define evas_obj_text_text_set(text) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_TEXT_SET), EO_TYPECHECK(const char *, text)
8400
8401/**
8402 * @def evas_obj_text_bidi_delimiters_set
8403 *
8404 * Retrieves the text string currently being displayed by the given
8405 * text object.
8406 *
8407 * @param[in] delim in
8408 *
8409 * @see evas_object_text_text_get
8410 */
8411#define evas_obj_text_text_get(text) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_TEXT_GET), EO_TYPECHECK(const char **, text)
8412
8413/**
8414 * @def evas_obj_text_bidi_delimiters_set
8415 *
8416 * Sets the BiDi delimiters used in the textblock.
8417 *
8418 * @param[in] delim in
8419 *
8420 * @see evas_object_text_bidi_delimiters_set
8421 */
8422#define evas_obj_text_bidi_delimiters_set(delim) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_BIDI_DELIMITERS_SET), EO_TYPECHECK(const char *, delim)
8423
8424/**
8425 * @def evas_obj_text_bidi_delimiters_get
8426 *
8427 * Gets the BiDi delimiters used in the textblock.
8428 *
8429 * @param[out] delim out
8430 *
8431 * @see evas_object_text_bidi_delimiters_get
8432 */
8433#define evas_obj_text_bidi_delimiters_get(delim) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_BIDI_DELIMITERS_GET), EO_TYPECHECK(const char **, delim)
8434
8435/**
8436 * @def evas_obj_text_direction_get
8437 *
8438 * Retrieves the direction of the text currently being displayed in the
8439 * text object.
8440 *
8441 * @param[out] bidi_dir out
8442 *
8443 * @see evas_object_text_direction_get
8444 */
8445#define evas_obj_text_direction_get(bidi_dir) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_DIRECTION_GET), EO_TYPECHECK(Evas_BiDi_Direction *, bidi_dir)
8446
8447/**
8448 * @def evas_obj_text_ascent_get
8449 *
8450 * @param[out] ascent out
8451 *
8452 * @see evas_object_text_ascent_get
8453 */
8454#define evas_obj_text_ascent_get(ascent) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_ASCENT_GET), EO_TYPECHECK(Evas_Coord *, ascent)
8455
8456/**
8457 * @def evas_obj_text_descent_get
8458 *
8459 * @param[out] descent out
8460 *
8461 * @see evas_object_text_descent_get
8462 */
8463#define evas_obj_text_descent_get(descent) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_DESCENT_GET), EO_TYPECHECK(Evas_Coord *, descent)
8464
8465/**
8466 * @def evas_obj_text_max_ascent_get
8467 *
8468 * @param[out] max_ascent out
8469 *
8470 * @see evas_object_text_max_ascent_get
8471 */
8472#define evas_obj_text_max_ascent_get(max_ascent) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_MAX_ASCENT_GET), EO_TYPECHECK(Evas_Coord *, max_ascent)
8473
8474/**
8475 * @def evas_obj_text_max_descent_get
8476 *
8477 * @param[out] max_descent out
8478 *
8479 * @see evas_object_text_max_descent_get
8480 */
8481#define evas_obj_text_max_descent_get(max_descent) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_MAX_DESCENT_GET), EO_TYPECHECK(Evas_Coord *, max_descent)
8482
8483/**
8484 * @def evas_obj_text_inset_get
8485 *
8486 * @param[out] inset out
8487 *
8488 * @see evas_object_text_inset_get
8489 */
8490#define evas_obj_text_inset_get(inset) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_INSET_GET), EO_TYPECHECK(Evas_Coord *, inset)
8491
8492/**
8493 * @def evas_obj_text_horiz_advance_get
8494 *
8495 * @param[out] horiz out
8496 *
8497 * @see evas_object_text_horiz_advance_get
8498 */
8499#define evas_obj_text_horiz_advance_get(horiz) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_HORIZ_ADVANCE_GET), EO_TYPECHECK(Evas_Coord *, horiz)
8500
8501/**
8502 * @def evas_obj_text_vert_advance_get_
8503 *
8504 * @param[out] vert out
8505 *
8506 * @see evas_object_text_vert_advance_get
8507 */
8508#define evas_obj_text_vert_advance_get(vert) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_VERT_ADVANCE_GET), EO_TYPECHECK(Evas_Coord *, vert)
8509/**
8510 * @def evas_obj_text_char_pos_get
8511 *
8512 * Retrieve position and dimension information of a character within a text @c Evas_Object.
8513 *
8514 * @param[in] pos in
8515 * @param[out] cx out
8516 * @param[out] cy out
8517 * @param[out] cw out
8518 * @param[out] ch out
8519 * @param[out] ret out
8520 *
8521 * @see evas_object_text_char_pos_get
8522 */
8523#define evas_obj_text_char_pos_get(pos, cx, cy, cw, ch, ret) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_CHAR_POS_GET), EO_TYPECHECK(int, pos), EO_TYPECHECK(Evas_Coord *, cx), EO_TYPECHECK(Evas_Coord *, cy), EO_TYPECHECK(Evas_Coord *, cw), EO_TYPECHECK(Evas_Coord *, ch), EO_TYPECHECK(Eina_Bool *, ret)
8524
8525/**
8526 * @def evas_obj_text_last_up_to_pos
8527 *
8528 * Returns the logical position of the last char in the text
8529 * up to the pos given. this is NOT the position of the last char
8530 * because of the possibility of RTL in the text.
8531 *
8532 * @param[in] x in
8533 * @param[in] y in
8534 * @param[out] res out
8535 *
8536 * @see evas_object_text_last_up_to_pos
8537 */
8538#define evas_obj_text_last_up_to_pos(x, y, res) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_LAST_UP_TO_POS), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(int *, res)
8539/**
8540 * @def evas_obj_text_char_coords_get
8541 *
8542 * @param[in] x in
8543 * @param[in] y in
8544 * @param[out] cx out
8545 * @param[out] cy out
8546 * @param[out] cw out
8547 * @param[out] ch out
8548 * @param[out] res out
8549 *
8550 * @see evas_object_text_char_coords_get
8551 */
8552#define evas_obj_text_char_coords_get(x, y, cx, cy, cw, ch, res) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_CHAR_COORDS_GET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Evas_Coord *, cx), EO_TYPECHECK(Evas_Coord *, cy), EO_TYPECHECK(Evas_Coord *, cw), EO_TYPECHECK(Evas_Coord *, ch), EO_TYPECHECK(int *, res)
8553
8554/**
8555 * @def evas_obj_text_style_set
8556 *
8557 * Sets the style to apply on the given text object.
8558 *
8559 * @param[in] style in
8560 *
8561 * @see evas_object_text_style_set
8562 */
8563#define evas_obj_text_style_set(style) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_STYLE_SET), EO_TYPECHECK(Evas_Text_Style_Type, style)
8564
8565/**
8566 * @def evas_obj_text_style_get
8567 *
8568 * Retrieves the style on use on the given text object.
8569 *
8570 * @param[out] style out
8571 *
8572 * @see evas_object_text_style_get
8573 */
8574#define evas_obj_text_style_get(style) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_STYLE_GET), EO_TYPECHECK(Evas_Text_Style_Type *, style)
8575
8576/**
8577 * @def evas_obj_text_shadow_color_set
8578 *
8579 * Sets the shadow color for the given text object.
8580 *
8581 * @param[in] r in
8582 * @param[in] g in
8583 * @param[in] b in
8584 * @param[in] a in
8585 *
8586 * @see evas_object_text_shadow_color_set
8587 */
8588#define evas_obj_text_shadow_color_set(r, g, b, a) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_SHADOW_COLOR_SET), EO_TYPECHECK(int, r), EO_TYPECHECK(int, g), EO_TYPECHECK(int, b), EO_TYPECHECK(int, a)
8589
8590/**
8591 * @def evas_obj_text_shadow_color_get
8592 *
8593 * Retrieves the shadow color for the given text object.
8594 *
8595 * @param[out] r out
8596 * @param[out] g out
8597 * @param[out] b out
8598 * @param[out] a out
8599 *
8600 * @see evas_object_text_shadow_color_get
8601 */
8602#define evas_obj_text_shadow_color_get(r, g, b, a) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_SHADOW_COLOR_GET), EO_TYPECHECK(int *, r), EO_TYPECHECK(int *, g), EO_TYPECHECK(int *, b), EO_TYPECHECK(int *, a)
8603
8604/**
8605 * @def evas_obj_text_glow_color_set
8606 *
8607 * Sets the glow color for the given text object.
8608 *
8609 * @param[in] r in
8610 * @param[in] g in
8611 * @param[in] b in
8612 * @param[in] a in
8613 *
8614 * @see evas_object_text_glow_color_set
8615 */
8616#define evas_obj_text_glow_color_set(r, g, b, a) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_GLOW_COLOR_SET), EO_TYPECHECK(int, r), EO_TYPECHECK(int, g), EO_TYPECHECK(int, b), EO_TYPECHECK(int, a)
8617
8618/**
8619 * @def evas_obj_text_glow_color_get
8620 *
8621 * Retrieves the glow color for the given text object.
8622 *
8623 * @param[out] r out
8624 * @param[out] g out
8625 * @param[out] b out
8626 * @param[out] a out
8627 *
8628 * @see evas_object_text_glow_color_get
8629 */
8630#define evas_obj_text_glow_color_get(r, g, b, a) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_GLOW_COLOR_GET), EO_TYPECHECK(int *, r), EO_TYPECHECK(int *, g), EO_TYPECHECK(int *, b), EO_TYPECHECK(int *, a)
8631
8632/**
8633 * @def evas_obj_text_glow2_color_set
8634 *
8635 * Sets the 'glow 2' color for the given text object.
8636 *
8637 * @param[in] r in
8638 * @param[in] g in
8639 * @param[in] b in
8640 * @param[in] a in
8641 *
8642 * @see evas_object_text_glow2_color_set
8643 */
8644#define evas_obj_text_glow2_color_set(r, g, b, a) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_GLOW2_COLOR_SET), EO_TYPECHECK(int, r), EO_TYPECHECK(int, g), EO_TYPECHECK(int, b), EO_TYPECHECK(int, a)
8645
8646/**
8647 * @def evas_obj_text_glow2_color_get
8648 *
8649 * Retrieves the 'glow 2' color for the given text object.
8650 *
8651 * @param[out] r out
8652 * @param[out] g out
8653 * @param[out] b out
8654 * @param[out] a out
8655 *
8656 * @see evas_object_text_glow2_color_get
8657 */
8658#define evas_obj_text_glow2_color_get(r, g, b, a) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_GLOW2_COLOR_GET), EO_TYPECHECK(int *, r), EO_TYPECHECK(int *, g), EO_TYPECHECK(int *, b), EO_TYPECHECK(int *, a)
8659
8660/**
8661 * @def evas_obj_text_outline_color_set
8662 *
8663 * Sets the outline color for the given text object.
8664 *
8665 * @param[in] r in
8666 * @param[in] g in
8667 * @param[in] b in
8668 * @param[in] a in
8669 *
8670 * @see evas_object_text_outline_color_set
8671 */
8672#define evas_obj_text_outline_color_set(r, g, b, a) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_OUTLINE_COLOR_SET), EO_TYPECHECK(int, r), EO_TYPECHECK(int, g), EO_TYPECHECK(int, b), EO_TYPECHECK(int, a)
8673
8674/**
8675 * @def evas_obj_text_outline_color_get
8676 *
8677 * Retrieves the outline color for the given text object.
8678 *
8679 * @param[out] r out
8680 * @param[out] g out
8681 * @param[out] b out
8682 * @param[out] a out
8683 *
8684 * @see evas_object_text_outline_color_get
8685 */
8686#define evas_obj_text_outline_color_get(r, g, b, a) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_OUTLINE_COLOR_GET), EO_TYPECHECK(int *, r), EO_TYPECHECK(int *, g), EO_TYPECHECK(int *, b), EO_TYPECHECK(int *, a)
8687
8688/**
8689 * @def evas_obj_text_style_pad_get
8690 *
8691 * Gets the text style pad of a text object.
8692 *
8693 * @param[out] l out
8694 * @param[out] r out
8695 * @param[out] t out
8696 * @param[out] b out
8697 *
8698 * @see evas_object_text_style_pad_get
8699 */
8700#define evas_obj_text_style_pad_get(l, r, t, b) EVAS_OBJ_TEXT_ID(EVAS_OBJ_TEXT_SUB_ID_STYLE_PAD_GET), EO_TYPECHECK(int *, l), EO_TYPECHECK(int *, r), EO_TYPECHECK(int *, t), EO_TYPECHECK(int *, b)
8701
7907/** 8702/**
7908 * Creates a new text object on the provided canvas. 8703 * Creates a new text object on the provided canvas.
7909 * 8704 *
@@ -8448,6 +9243,72 @@ typedef enum _Evas_Textblock_Cursor_Type
8448 EVAS_TEXTBLOCK_CURSOR_BEFORE 9243 EVAS_TEXTBLOCK_CURSOR_BEFORE
8449} Evas_Textblock_Cursor_Type; 9244} Evas_Textblock_Cursor_Type;
8450 9245
9246#define EVAS_OBJ_TEXTBLOCK_CLASS evas_object_textblock_class_get()
9247
9248const Eo_Class *evas_object_textblock_class_get(void) EINA_CONST;
9249
9250extern EAPI Eo_Op EVAS_OBJ_TEXTBLOCK_BASE_ID;
9251
9252enum
9253{
9254 EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_SET,
9255 EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_GET,
9256 EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_USER_PUSH,
9257 EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_USER_PEEK,
9258 EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_USER_POP,
9259 EVAS_OBJ_TEXTBLOCK_SUB_ID_REPLACE_CHAR_SET,
9260 EVAS_OBJ_TEXTBLOCK_SUB_ID_LEGACY_NEWLINE_SET,
9261 EVAS_OBJ_TEXTBLOCK_SUB_ID_LEGACY_NEWLINE_GET,
9262 EVAS_OBJ_TEXTBLOCK_SUB_ID_VALIGN_SET,
9263 EVAS_OBJ_TEXTBLOCK_SUB_ID_VALIGN_GET,
9264 EVAS_OBJ_TEXTBLOCK_SUB_ID_BIDI_DELIMITERS_SET,
9265 EVAS_OBJ_TEXTBLOCK_SUB_ID_BIDI_DELIMITERS_GET,
9266 EVAS_OBJ_TEXTBLOCK_SUB_ID_REPLACE_CHAR_GET,
9267 EVAS_OBJ_TEXTBLOCK_SUB_ID_TEXT_MARKUP_SET,
9268 EVAS_OBJ_TEXTBLOCK_SUB_ID_TEXT_MARKUP_GET,
9269 EVAS_OBJ_TEXTBLOCK_SUB_ID_CURSOR_GET,
9270 EVAS_OBJ_TEXTBLOCK_SUB_ID_CURSOR_NEW,
9271 EVAS_OBJ_TEXTBLOCK_SUB_ID_NODE_FORMAT_LIST_GET,
9272 EVAS_OBJ_TEXTBLOCK_SUB_ID_NODE_FORMAT_FIRST_GET,
9273 EVAS_OBJ_TEXTBLOCK_SUB_ID_NODE_FORMAT_LAST_GET,
9274 EVAS_OBJ_TEXTBLOCK_SUB_ID_NODE_FORMAT_REMOVE_PAIR,
9275 EVAS_OBJ_TEXTBLOCK_SUB_ID_LINE_NUMBER_GEOMETRY_GET,
9276 EVAS_OBJ_TEXTBLOCK_SUB_ID_CLEAR,
9277 EVAS_OBJ_TEXTBLOCK_SUB_ID_SIZE_FORMATTED_GET,
9278 EVAS_OBJ_TEXTBLOCK_SUB_ID_SIZE_NATIVE_GET,
9279 EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_INSETS_GET,
9280 EVAS_OBJ_TEXTBLOCK_SUB_ID_LAST
9281};
9282
9283#define EVAS_OBJ_TEXTBLOCK_ID(sub_id) (EVAS_OBJ_TEXTBLOCK_BASE_ID + sub_id)
9284
9285#define evas_obj_textblock_style_set(ts) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_SET), EO_TYPECHECK(Evas_Textblock_Style *, ts)
9286#define evas_obj_textblock_style_get(ts) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_GET), EO_TYPECHECK(const Evas_Textblock_Style **, ts)
9287#define evas_obj_textblock_style_user_push(ts) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_USER_PUSH), EO_TYPECHECK(Evas_Textblock_Style *, ts)
9288#define evas_obj_textblock_style_user_peek(ts) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_USER_PEEK), EO_TYPECHECK(const Evas_Textblock_Style **, ts)
9289#define evas_obj_textblock_style_user_pop() EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_USER_POP)
9290#define evas_obj_textblock_replace_char_set(ch) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_REPLACE_CHAR_SET), EO_TYPECHECK(const char *, ch)
9291#define evas_obj_textblock_legacy_newline_set(mode) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_LEGACY_NEWLINE_SET), EO_TYPECHECK(Eina_Bool, mode)
9292#define evas_obj_textblock_legacy_newline_get(newline) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_LEGACY_NEWLINE_GET), EO_TYPECHECK(Eina_Bool *, newline)
9293#define evas_obj_textblock_valign_set(align) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_VALIGN_SET), EO_TYPECHECK(double, align)
9294#define evas_obj_textblock_valign_get(valign) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_VALIGN_GET), EO_TYPECHECK(double *, valign)
9295#define evas_obj_textblock_bidi_delimiters_set(delim) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_BIDI_DELIMITERS_SET), EO_TYPECHECK(const char *, delim)
9296#define evas_obj_textblock_bidi_delimiters_get(delim) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_BIDI_DELIMITERS_GET), EO_TYPECHECK(const char **, delim)
9297#define evas_obj_textblock_replace_char_get(repch) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_REPLACE_CHAR_GET), EO_TYPECHECK(const char **, repch)
9298#define evas_obj_textblock_text_markup_set(text) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_TEXT_MARKUP_SET), EO_TYPECHECK(const char *, text)
9299#define evas_obj_textblock_text_markup_get(markup) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_TEXT_MARKUP_GET), EO_TYPECHECK(const char **, markup)
9300#define evas_obj_textblock_cursor_get(cursor) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_CURSOR_GET), EO_TYPECHECK(Evas_Textblock_Cursor **, cursor)
9301#define evas_obj_textblock_cursor_new(cur) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_CURSOR_NEW), EO_TYPECHECK(Evas_Textblock_Cursor **, cur)
9302#define evas_obj_textblock_node_format_list_get(obj, anchor, list) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_NODE_FORMAT_LIST_GET), EO_TYPECHECK(const char *, anchor), EO_TYPECHECK(const Eina_List **, list)
9303#define evas_obj_textblock_node_format_first_get(format) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_NODE_FORMAT_FIRST_GET), EO_TYPECHECK(const Evas_Object_Textblock_Node_Format **, format)
9304#define evas_obj_textblock_node_format_last_get(format) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_NODE_FORMAT_LAST_GET), EO_TYPECHECK(const Evas_Object_Textblock_Node_Format **, format)
9305#define evas_obj_textblock_node_format_remove_pair(n) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_NODE_FORMAT_REMOVE_PAIR), EO_TYPECHECK(Evas_Object_Textblock_Node_Format *, n)
9306#define evas_obj_textblock_line_number_geometry_get(line, cx, cy, cw, ch, result) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_LINE_NUMBER_GEOMETRY_GET), EO_TYPECHECK(int, line), EO_TYPECHECK(Evas_Coord *, cx), EO_TYPECHECK(Evas_Coord *, cy), EO_TYPECHECK(Evas_Coord *, cw), EO_TYPECHECK(Evas_Coord *, ch), EO_TYPECHECK(Eina_Bool *, result)
9307#define evas_obj_textblock_clear() EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_CLEAR)
9308#define evas_obj_textblock_size_formatted_get(w, h) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_SIZE_FORMATTED_GET), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
9309#define evas_obj_textblock_size_native_get(w, h) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_SIZE_NATIVE_GET), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
9310#define evas_obj_textblock_style_insets_get(l, r, t, b) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_INSETS_GET), EO_TYPECHECK(Evas_Coord *, l), EO_TYPECHECK(Evas_Coord *, r), EO_TYPECHECK(Evas_Coord *, t), EO_TYPECHECK(Evas_Coord *, b)
9311
8451/** 9312/**
8452 * Adds a textblock to the given evas. 9313 * Adds a textblock to the given evas.
8453 * @param e The given evas. 9314 * @param e The given evas.
@@ -9318,6 +10179,48 @@ EAPI void evas_object_textblock_style_insets
9318 * @{ 10179 * @{
9319 */ 10180 */
9320 10181
10182#define EVAS_OBJ_TEXTGRID_CLASS evas_object_textgrid_class_get()
10183
10184const Eo_Class *evas_object_textgrid_class_get(void) EINA_CONST;
10185
10186extern EAPI Eo_Op EVAS_OBJ_TEXTGRID_BASE_ID;
10187
10188enum
10189{
10190 EVAS_OBJ_TEXTGRID_SUB_ID_SIZE_SET,
10191 EVAS_OBJ_TEXTGRID_SUB_ID_SIZE_GET,
10192 EVAS_OBJ_TEXTGRID_SUB_ID_FONT_SOURCE_SET,
10193 EVAS_OBJ_TEXTGRID_SUB_ID_FONT_SOURCE_GET,
10194 EVAS_OBJ_TEXTGRID_SUB_ID_FONT_SET,
10195 EVAS_OBJ_TEXTGRID_SUB_ID_FONT_GET,
10196 EVAS_OBJ_TEXTGRID_SUB_ID_CELL_SIZE_GET,
10197 EVAS_OBJ_TEXTGRID_SUB_ID_PALETTE_SET,
10198 EVAS_OBJ_TEXTGRID_SUB_ID_PALETTE_GET,
10199 EVAS_OBJ_TEXTGRID_SUB_ID_SUPPORTED_FONT_STYLES_SET,
10200 EVAS_OBJ_TEXTGRID_SUB_ID_SUPPORTED_FONT_STYLES_GET,
10201 EVAS_OBJ_TEXTGRID_SUB_ID_CELLROW_SET,
10202 EVAS_OBJ_TEXTGRID_SUB_ID_CELLROW_GET,
10203 EVAS_OBJ_TEXTGRID_SUB_ID_UPDATE_ADD,
10204 EVAS_OBJ_TEXTGRID_SUB_ID_LAST
10205};
10206
10207#define EVAS_OBJ_TEXTGRID_ID(sub_id) (EVAS_OBJ_TEXTGRID_BASE_ID + sub_id)
10208
10209#define evas_obj_textgrid_size_set(w, h) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_SIZE_SET), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
10210#define evas_obj_textgrid_size_get(w, h) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_SIZE_GET), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h)
10211#define evas_obj_textgrid_font_source_set(font_source) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_FONT_SOURCE_SET), EO_TYPECHECK(const char *, font_source)
10212#define evas_obj_textgrid_font_source_get(ret) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_FONT_SOURCE_GET), EO_TYPECHECK(const char **, ret)
10213#define evas_obj_textgrid_font_set(font_name, font_size) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_FONT_SET), EO_TYPECHECK(const char *, font_name), EO_TYPECHECK(Evas_Font_Size, font_size)
10214#define evas_obj_textgrid_font_get(font_name, font_size) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_FONT_GET), EO_TYPECHECK(const char **, font_name), EO_TYPECHECK(Evas_Font_Size *, font_size)
10215#define evas_obj_textgrid_cell_size_get(width, height) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_CELL_SIZE_GET), EO_TYPECHECK(int *, width), EO_TYPECHECK(int *, height)
10216#define evas_obj_textgrid_palette_set(pal, idx, r, g, b, a) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_PALETTE_SET), EO_TYPECHECK(Evas_Textgrid_Palette, pal), EO_TYPECHECK(int, idx), EO_TYPECHECK(int, r), EO_TYPECHECK(int, g), EO_TYPECHECK(int, b), EO_TYPECHECK(int, a)
10217#define evas_obj_textgrid_palette_get(pal, idx, r, g, b, a) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_PALETTE_GET), EO_TYPECHECK(Evas_Textgrid_Palette, pal), EO_TYPECHECK(int, idx), EO_TYPECHECK(int *, r), EO_TYPECHECK(int *, g), EO_TYPECHECK(int *, b), EO_TYPECHECK(int *, a)
10218#define evas_obj_textgrid_supported_font_styles_set(styles) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_SUPPORTED_FONT_STYLES_SET), EO_TYPECHECK(Evas_Textgrid_Font_Style, styles)
10219#define evas_obj_textgrid_supported_font_styles_get(ret) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_SUPPORTED_FONT_STYLES_GET), EO_TYPECHECK(Evas_Textgrid_Font_Style *, ret)
10220#define evas_obj_textgrid_cellrow_set(y, row) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_CELLROW_SET), EO_TYPECHECK(int, y), EO_TYPECHECK(const Evas_Textgrid_Cell *, row)
10221#define evas_obj_textgrid_cellrow_get(y, ret) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_CELLROW_GET), EO_TYPECHECK(int, y), EO_TYPECHECK(Evas_Textgrid_Cell **, ret)
10222#define evas_obj_textgrid_update_add(x, y, w, h) EVAS_OBJ_TEXTGRID_ID(EVAS_OBJ_TEXTGRID_SUB_ID_UPDATE_ADD), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
10223
9321/** 10224/**
9322 * @typedef Evas_Textgrid_Palette 10225 * @typedef Evas_Textgrid_Palette
9323 * 10226 *
@@ -9671,6 +10574,23 @@ EAPI void evas_object_textgrid_update_add(Evas_Object *obj, int x, int y, int w,
9671 * @{ 10574 * @{
9672 */ 10575 */
9673 10576
10577#define EVAS_OBJ_LINE_CLASS evas_object_line_class_get()
10578const Eo_Class *evas_object_line_class_get(void) EINA_CONST;
10579
10580extern EAPI Eo_Op EVAS_OBJ_LINE_BASE_ID;
10581
10582enum
10583{
10584 EVAS_OBJ_LINE_SUB_ID_XY_SET,
10585 EVAS_OBJ_LINE_SUB_ID_XY_GET,
10586 EVAS_OBJ_LINE_SUB_ID_LAST
10587};
10588
10589#define EVAS_OBJ_LINE_ID(sub_id) (EVAS_OBJ_LINE_BASE_ID + sub_id)
10590
10591#define evas_obj_line_xy_set(x1, y1, x2, y2) EVAS_OBJ_LINE_ID(EVAS_OBJ_LINE_SUB_ID_XY_SET), EO_TYPECHECK(Evas_Coord, x1), EO_TYPECHECK(Evas_Coord, y1), EO_TYPECHECK(Evas_Coord, x2), EO_TYPECHECK(Evas_Coord, y2)
10592#define evas_obj_line_xy_get(x1, y1, x2, y2) EVAS_OBJ_LINE_ID(EVAS_OBJ_LINE_SUB_ID_XY_GET), EO_TYPECHECK(Evas_Coord *, x1), EO_TYPECHECK(Evas_Coord *, y1), EO_TYPECHECK(Evas_Coord *, x2), EO_TYPECHECK(Evas_Coord *, y2)
10593
9674/** 10594/**
9675 * Adds a new evas line object to the given evas. 10595 * Adds a new evas line object to the given evas.
9676 * @param e The given evas. 10596 * @param e The given evas.
@@ -9721,6 +10641,23 @@ EAPI void evas_object_line_xy_get(const Evas_Object *obj, Evas_Coord *x1
9721 * @{ 10641 * @{
9722 */ 10642 */
9723 10643
10644#define EVAS_OBJ_POLYGON_CLASS evas_object_polygon_class_get()
10645const Eo_Class *evas_object_polygon_class_get(void) EINA_CONST;
10646
10647extern EAPI Eo_Op EVAS_OBJ_POLYGON_BASE_ID;
10648
10649enum
10650{
10651 EVAS_OBJ_POLYGON_SUB_ID_POINT_ADD,
10652 EVAS_OBJ_POLYGON_SUB_ID_POINTS_CLEAR,
10653 EVAS_OBJ_POLYGON_SUB_ID_LAST
10654};
10655
10656#define EVAS_OBJ_POLYGON_ID(sub_id) (EVAS_OBJ_POLYGON_BASE_ID + sub_id)
10657
10658#define evas_obj_polygon_point_add(x, y) EVAS_OBJ_POLYGON_ID(EVAS_OBJ_POLYGON_SUB_ID_POINT_ADD), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y)
10659#define evas_obj_polygon_points_clear() EVAS_OBJ_POLYGON_ID(EVAS_OBJ_POLYGON_SUB_ID_POINTS_CLEAR)
10660
9724/** 10661/**
9725 * Adds a new evas polygon object to the given evas. 10662 * Adds a new evas polygon object to the given evas.
9726 * @param e The given evas. 10663 * @param e The given evas.
@@ -10168,6 +11105,248 @@ struct _Evas_Smart_Cb_Description
10168 evas_object_smart_data_set(o, priv); \ 11105 evas_object_smart_data_set(o, priv); \
10169 } 11106 }
10170 11107
11108#define EVAS_OBJ_SMART_CLASS evas_object_smart_class_get()
11109
11110const Eo_Class *evas_object_smart_class_get(void) EINA_CONST;
11111
11112extern EAPI Eo_Op EVAS_OBJ_SMART_BASE_ID;
11113
11114enum
11115{
11116 EVAS_OBJ_SMART_SUB_ID_DATA_SET,
11117 EVAS_OBJ_SMART_SUB_ID_SMART_GET,
11118 EVAS_OBJ_SMART_SUB_ID_MEMBER_ADD,
11119 EVAS_OBJ_SMART_SUB_ID_MEMBER_DEL,
11120 EVAS_OBJ_SMART_SUB_ID_MEMBERS_GET,
11121 EVAS_OBJ_SMART_SUB_ID_CALLBACKS_DESCRIPTIONS_SET,
11122 EVAS_OBJ_SMART_SUB_ID_CALLBACKS_DESCRIPTIONS_GET,
11123 EVAS_OBJ_SMART_SUB_ID_CALLBACK_DESCRIPTION_FIND,
11124 EVAS_OBJ_SMART_SUB_ID_NEED_RECALCULATE_SET,
11125 EVAS_OBJ_SMART_SUB_ID_NEED_RECALCULATE_GET,
11126 EVAS_OBJ_SMART_SUB_ID_CALCULATE,
11127 EVAS_OBJ_SMART_SUB_ID_CHANGED,
11128 EVAS_OBJ_SMART_SUB_ID_ATTACH,
11129 // Specific Smart functions that can be overriden by the inherit classes
11130 EVAS_OBJ_SMART_SUB_ID_ADD,
11131 EVAS_OBJ_SMART_SUB_ID_DEL,
11132 EVAS_OBJ_SMART_SUB_ID_RESIZE,
11133 EVAS_OBJ_SMART_SUB_ID_MOVE,
11134 EVAS_OBJ_SMART_SUB_ID_SHOW,
11135 EVAS_OBJ_SMART_SUB_ID_HIDE,
11136 EVAS_OBJ_SMART_SUB_ID_COLOR_SET,
11137 EVAS_OBJ_SMART_SUB_ID_CLIP_SET,
11138 EVAS_OBJ_SMART_SUB_ID_CLIP_UNSET,
11139 EVAS_OBJ_SMART_SUB_ID_LAST
11140};
11141
11142#define EVAS_OBJ_SMART_ID(sub_id) (EVAS_OBJ_SMART_BASE_ID + sub_id)
11143
11144/**
11145 * @def evas_obj_smart_data_set
11146 *
11147 * Store a pointer to user data for a given smart object.
11148 *
11149 * @param[in] data in
11150 *
11151 * @see evas_object_smart_data_set
11152 */
11153#define evas_obj_smart_data_set(data) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_DATA_SET), EO_TYPECHECK(void *, data)
11154
11155/**
11156 * @def evas_obj_smart_smart_get
11157 *
11158 * Get the #Evas_Smart from which smart object was created.
11159 *
11160 * @param[out] smart out
11161 *
11162 * @see evas_object_smart_smart_get
11163 */
11164#define evas_obj_smart_smart_get(smart) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_SMART_GET), EO_TYPECHECK(Evas_Smart **, smart)
11165
11166/**
11167 * @def evas_obj_smart_member_add
11168 *
11169 * Set an Evas object as a member of a given smart object.
11170 *
11171 * @param[in] obj in
11172 *
11173 * @see evas_object_smart_member_add
11174 */
11175#define evas_obj_smart_member_add(obj) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_MEMBER_ADD), EO_TYPECHECK(Evas_Object *, obj)
11176
11177/**
11178 * @def evas_obj_smart_member_del
11179 *
11180 * Removes a member object from a given smart object.
11181 *
11182 * @param[in] obj in
11183 *
11184 * @see evas_object_smart_member_del
11185 */
11186#define evas_obj_smart_member_del(obj) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_MEMBER_DEL), EO_TYPECHECK(Evas_Object *, obj)
11187
11188/**
11189 * @def evas_obj_smart_members_get
11190 *
11191 * Retrieves the list of the member objects of a given Evas smart
11192 * object
11193 *
11194 * @param[out] list out
11195 *
11196 * @see evas_object_smart_members_get
11197 */
11198#define evas_obj_smart_members_get(list) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_MEMBERS_GET), EO_TYPECHECK(Eina_List **, list)
11199
11200/**
11201 * @def evas_obj_smart_callback_priority_add
11202 *
11203 * Add (register) a callback function to the smart event specified by
11204 * @p event on the smart object. Except for the priority field,
11205 * it's exactly the same as @ref evas_object_smart_callback_add
11206 *
11207 * @param[in] event in
11208 * @param[in] priority in
11209 * @param[in] func in
11210 * @param[in] data in
11211 *
11212 * @see evas_object_smart_callback_priority_add
11213 */
11214#define evas_obj_smart_callback_priority_add(event, priority, func, data) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALLBACK_PRIORITY_ADD), EO_TYPECHECK(const char *, event), EO_TYPECHECK(Evas_Callback_Priority, priority), EO_TYPECHECK(Evas_Smart_Cb, func), EO_TYPECHECK(const void *, data)
11215
11216/**
11217 * @def evas_obj_smart_callback_del
11218 *
11219 * Delete (unregister) a callback function from the smart event
11220 * specified by @p event on the smart object.
11221 *
11222 * @param[in] event in
11223 * @param[in] func in
11224 * @param[out] ret_data out
11225 *
11226 * @see evas_object_smart_callback_del
11227 */
11228#define evas_obj_smart_callback_del(event, func, ret_data) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALLBACK_DEL), EO_TYPECHECK(const char *, event), EO_TYPECHECK(Evas_Smart_Cb, func), EO_TYPECHECK(void **, ret_data)
11229
11230/**
11231 * @def evas_obj_smart_callback_del_full
11232 *
11233 * Delete (unregister) a callback function from the smart event
11234 * specified by @p event on the smart object.
11235 *
11236 * @param[in] event in
11237 * @param[in] func in
11238 * @param[in] data in
11239 * @param[out] ret_data out
11240 *
11241 * @see evas_object_smart_callback_del_full
11242 */
11243#define evas_obj_smart_callback_del_full(event, func, data, ret_data) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALLBACK_DEL_FULL), EO_TYPECHECK(const char *, event), EO_TYPECHECK(Evas_Smart_Cb, func), EO_TYPECHECK(const void *, data), EO_TYPECHECK(void **, ret_data)
11244
11245/**
11246 * @def evas_obj_smart_callback_call
11247 *
11248 * Call a given smart callback on the smart object.
11249 *
11250 * @param[in] event
11251 * @param[in] event_info
11252 *
11253 * @see evas_object_smart_callback_call
11254 */
11255#define evas_obj_smart_callback_call(event, event_info) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALLBACK_CALL), EO_TYPECHECK(const char *, event), EO_TYPECHECK(void *, event_info)
11256
11257/**
11258 * @def evas_obj_smart_callbacks_descriptions_set
11259 *
11260 * Set an smart object @b instance's smart callbacks descriptions.
11261 *
11262 * @param[in] descriptions in
11263 * @param[out] result out
11264 *
11265 * @see evas_object_smart_callbacks_descriptions_set
11266 */
11267#define evas_obj_smart_callbacks_descriptions_set(descriptions, result) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALLBACKS_DESCRIPTIONS_SET), EO_TYPECHECK(const Evas_Smart_Cb_Description *, descriptions), EO_TYPECHECK(Eina_Bool *, result)
11268
11269/**
11270 * @def evas_obj_smart_callbacks_descriptions_get
11271 *
11272 * Retrieve an smart object's know smart callback descriptions (both
11273 * instance and class ones).
11274 *
11275 * @param[out] class_descriptions out
11276 * @param[out] class_count out
11277 * @param[out] instance_descriptions out
11278 * @param[out] instance_count out
11279 *
11280 * @see evas_object_smart_callbacks_descriptions_get
11281 */
11282#define evas_obj_smart_callbacks_descriptions_get(class_descriptions, class_count, instance_descriptions, instance_count) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALLBACKS_DESCRIPTIONS_GET), EO_TYPECHECK(const Evas_Smart_Cb_Description ***, class_descriptions), EO_TYPECHECK(unsigned int *, class_count), EO_TYPECHECK(const Evas_Smart_Cb_Description ***, instance_descriptions), EO_TYPECHECK(unsigned int *, instance_count)
11283
11284/**
11285 * @def evas_obj_smart_callback_description_find
11286 *
11287 * Find callback description for callback called @a name.
11288 *
11289 * @param[in] name in
11290 * @param[out] class_description out
11291 * @param[out] instance_description out
11292 *
11293 * @see evas_object_smart_callback_description_find
11294 */
11295#define evas_obj_smart_callback_description_find(name, class_description, instance_description) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALLBACK_DESCRIPTION_FIND), EO_TYPECHECK(const char *, name), EO_TYPECHECK(const Evas_Smart_Cb_Description **, class_description), EO_TYPECHECK(const Evas_Smart_Cb_Description **, instance_description)
11296
11297/**
11298 * @def evas_obj_smart_need_recalculate_set
11299 *
11300 * Set or unset the flag signalling that a given smart object needs to
11301 * get recalculated.
11302 *
11303 * @param[in] value in
11304 *
11305 * @see evas_object_smart_need_recalculate_set
11306 */
11307#define evas_obj_smart_need_recalculate_set(value) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_NEED_RECALCULATE_SET), EO_TYPECHECK(Eina_Bool, value)
11308
11309/**
11310 * @def evas_obj_smart_need_recalculate_get
11311 *
11312 * Get the value of the flag signalling that a given smart object needs to
11313 * get recalculated.
11314 *
11315 * @param[out] need_recalculate out
11316 *
11317 * @see evas_object_smart_need_recalculate_get
11318 */
11319#define evas_obj_smart_need_recalculate_get(need_recalculate) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_NEED_RECALCULATE_GET), EO_TYPECHECK(Eina_Bool *, need_recalculate)
11320
11321/**
11322 * @def evas_obj_smart_calculate
11323 *
11324 * Call the @b calculate() smart function immediately on a given smart
11325 * object.
11326 *
11327 * @see evas_object_smart_calculate
11328 */
11329#define evas_obj_smart_calculate() EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALCULATE)
11330
11331/**
11332 * @def evas_obj_smart_changed
11333 *
11334 * Mark smart object as changed, dirty.
11335 *
11336 * @see evas_object_smart_changed
11337 */
11338#define evas_obj_smart_changed() EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CHANGED)
11339
11340#define evas_obj_smart_add() EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_ADD)
11341#define evas_obj_smart_del() EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_DEL)
11342#define evas_obj_smart_resize(w, h) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_RESIZE), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
11343#define evas_obj_smart_move(x, y) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_MOVE), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y)
11344#define evas_obj_smart_show() EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_SHOW)
11345#define evas_obj_smart_hide() EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_HIDE)
11346#define evas_obj_smart_color_set(r, g, b, a) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_COLOR_SET), EO_TYPECHECK(int, r), EO_TYPECHECK(int, g), EO_TYPECHECK(int, b), EO_TYPECHECK(int, a)
11347#define evas_obj_smart_clip_set(clip) EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CLIP_SET), EO_TYPECHECK(Evas_Object *, clip)
11348#define evas_obj_smart_clip_unset() EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CLIP_UNSET)
11349
10171/** 11350/**
10172 * Free an #Evas_Smart struct 11351 * Free an #Evas_Smart struct
10173 * 11352 *
@@ -10942,6 +12121,17 @@ EAPI void evas_object_smart_move_children_relative(Evas_Object *obj, Eva
10942 * @{ 12121 * @{
10943 */ 12122 */
10944 12123
12124#define EVAS_OBJ_SMART_CLIPPED_CLASS evas_object_smart_clipped_eo_class_get()
12125
12126const Eo_Class *evas_object_smart_clipped_eo_class_get(void) EINA_CONST;
12127
12128extern EAPI Eo_Op EVAS_OBJ_SMART_CLIPPED_BASE_ID;
12129
12130enum
12131{
12132 EVAS_OBJ_SMART_CLIPPED_SUB_ID_LAST
12133};
12134
10945/** 12135/**
10946 * Every subclass should provide this at the beginning of their own 12136 * Every subclass should provide this at the beginning of their own
10947 * data set with evas_object_smart_data_set(). 12137 * data set with evas_object_smart_data_set().
@@ -11265,6 +12455,98 @@ struct _Evas_Object_Box_Option
11265 Evas_Coord alloc_size; 12455 Evas_Coord alloc_size;
11266}; /**< #Evas_Object_Box_Option struct fields */ 12456}; /**< #Evas_Object_Box_Option struct fields */
11267 12457
12458#define EVAS_OBJ_BOX_CLASS evas_object_box_class_get()
12459
12460const Eo_Class *evas_object_box_class_get(void) EINA_CONST;
12461
12462extern EAPI Eo_Op EVAS_OBJ_BOX_BASE_ID;
12463
12464enum
12465{
12466 EVAS_OBJ_BOX_SUB_ID_INTERNAL_APPEND,
12467 EVAS_OBJ_BOX_SUB_ID_INTERNAL_PREPEND,
12468 EVAS_OBJ_BOX_SUB_ID_INTERNAL_INSERT_BEFORE,
12469 EVAS_OBJ_BOX_SUB_ID_INTERNAL_INSERT_AFTER,
12470 EVAS_OBJ_BOX_SUB_ID_INTERNAL_INSERT_AT,
12471 EVAS_OBJ_BOX_SUB_ID_INTERNAL_REMOVE,
12472 EVAS_OBJ_BOX_SUB_ID_INTERNAL_REMOVE_AT,
12473 EVAS_OBJ_BOX_SUB_ID_INTERNAL_OPTION_NEW,
12474 EVAS_OBJ_BOX_SUB_ID_INTERNAL_OPTION_FREE,
12475
12476 EVAS_OBJ_BOX_SUB_ID_ADD_TO,
12477 EVAS_OBJ_BOX_SUB_ID_LAYOUT_SET,
12478 EVAS_OBJ_BOX_SUB_ID_LAYOUT_HORIZONTAL,
12479 EVAS_OBJ_BOX_SUB_ID_LAYOUT_VERTICAL,
12480 EVAS_OBJ_BOX_SUB_ID_LAYOUT_HOMOGENEOUS_HORIZONTAL,
12481 EVAS_OBJ_BOX_SUB_ID_LAYOUT_HOMOGENEOUS_VERTICAL,
12482 EVAS_OBJ_BOX_SUB_ID_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL,
12483 EVAS_OBJ_BOX_SUB_ID_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL,
12484 EVAS_OBJ_BOX_SUB_ID_LAYOUT_FLOW_HORIZONTAL,
12485 EVAS_OBJ_BOX_SUB_ID_LAYOUT_FLOW_VERTICAL,
12486 EVAS_OBJ_BOX_SUB_ID_LAYOUT_STACK,
12487 EVAS_OBJ_BOX_SUB_ID_ALIGN_SET,
12488 EVAS_OBJ_BOX_SUB_ID_ALIGN_GET,
12489 EVAS_OBJ_BOX_SUB_ID_PADDING_SET,
12490 EVAS_OBJ_BOX_SUB_ID_PADDING_GET,
12491 EVAS_OBJ_BOX_SUB_ID_APPEND,
12492 EVAS_OBJ_BOX_SUB_ID_PREPEND,
12493 EVAS_OBJ_BOX_SUB_ID_INSERT_BEFORE,
12494 EVAS_OBJ_BOX_SUB_ID_INSERT_AFTER,
12495 EVAS_OBJ_BOX_SUB_ID_INSERT_AT,
12496 EVAS_OBJ_BOX_SUB_ID_REMOVE,
12497 EVAS_OBJ_BOX_SUB_ID_REMOVE_AT,
12498 EVAS_OBJ_BOX_SUB_ID_REMOVE_ALL,
12499 EVAS_OBJ_BOX_SUB_ID_ITERATOR_NEW,
12500 EVAS_OBJ_BOX_SUB_ID_ACCESSOR_NEW,
12501 EVAS_OBJ_BOX_SUB_ID_OPTION_PROPERTY_NAME_GET,
12502 EVAS_OBJ_BOX_SUB_ID_OPTION_PROPERTY_ID_GET,
12503 EVAS_OBJ_BOX_SUB_ID_OPTION_PROPERTY_VSET,
12504 EVAS_OBJ_BOX_SUB_ID_OPTION_PROPERTY_VGET,
12505 EVAS_OBJ_BOX_SUB_ID_LAST
12506};
12507
12508#define EVAS_OBJ_BOX_ID(sub_id) (EVAS_OBJ_BOX_BASE_ID + sub_id)
12509
12510#define evas_obj_box_internal_append(child, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_APPEND), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12511#define evas_obj_box_internal_prepend(child, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_PREPEND), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12512#define evas_obj_box_internal_insert_before(child, reference, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_INSERT_BEFORE), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(const Evas_Object *, reference), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12513#define evas_obj_box_internal_insert_after(child, reference, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_INSERT_AFTER), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(const Evas_Object *, reference), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12514#define evas_obj_box_internal_insert_at(child, pos, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_INSERT_AT), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(unsigned int, pos), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12515#define evas_obj_box_internal_remove(child, result) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_REMOVE), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object **, result)
12516#define evas_obj_box_internal_remove_at(pos, result) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_REMOVE_AT), EO_TYPECHECK(unsigned int, pos), EO_TYPECHECK(Evas_Object **, result)
12517#define evas_obj_box_internal_option_new(child, ret) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_OPTION_NEW), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object_Box_Option **, ret)
12518#define evas_obj_box_internal_option_free(opt) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INTERNAL_OPTION_FREE), EO_TYPECHECK(Evas_Object_Box_Option *, opt)
12519
12520#define evas_obj_box_add_to(o) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_ADD_TO), EO_TYPECHECK(Evas_Object **, o)
12521#define evas_obj_box_layout_set(cb, data, free_data) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_SET), EO_TYPECHECK(Evas_Object_Box_Layout, cb), EO_TYPECHECK(const void *, data), EO_TYPECHECK(Eina_Free_Cb, free_data)
12522#define evas_obj_box_layout_horizontal() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_HORIZONTAL)
12523#define evas_obj_box_layout_vertical() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_VERTICAL)
12524#define evas_obj_box_layout_homogeneous_horizontal() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_HOMOGENEOUS_HORIZONTAL)
12525#define evas_obj_box_layout_homogeneous_vertical() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_HOMOGENEOUS_VERTICAL)
12526#define evas_obj_box_layout_homogeneous_max_size_horizontal() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL)
12527#define evas_obj_box_layout_homogeneous_max_size_vertical() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL)
12528#define evas_obj_box_layout_flow_horizontal() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_FLOW_HORIZONTAL)
12529#define evas_obj_box_layout_flow_vertical() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_FLOW_VERTICAL)
12530#define evas_obj_box_layout_stack() EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_LAYOUT_STACK)
12531#define evas_obj_box_align_set(horizontal, vertical) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_ALIGN_SET), EO_TYPECHECK(double, horizontal), EO_TYPECHECK(double, vertical)
12532#define evas_obj_box_align_get(horizontal, vertical) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_ALIGN_GET), EO_TYPECHECK(double *, horizontal), EO_TYPECHECK(double *, vertical)
12533#define evas_obj_box_padding_set(horizontal, vertical) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_PADDING_SET), EO_TYPECHECK(Evas_Coord, horizontal), EO_TYPECHECK(Evas_Coord, vertical)
12534#define evas_obj_box_padding_get(horizontal, vertical) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_PADDING_GET), EO_TYPECHECK(Evas_Coord *, horizontal), EO_TYPECHECK(Evas_Coord *, vertical)
12535#define evas_obj_box_append(child, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_APPEND), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12536#define evas_obj_box_prepend(child, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_PREPEND), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12537#define evas_obj_box_insert_before(child, reference, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INSERT_BEFORE), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(const Evas_Object *, reference), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12538#define evas_obj_box_insert_after(child, reference, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INSERT_AFTER), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(const Evas_Object *, reference), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12539#define evas_obj_box_insert_at(child, pos, option) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_INSERT_AT), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(unsigned int, pos), EO_TYPECHECK(Evas_Object_Box_Option **, option)
12540#define evas_obj_box_remove(child, result) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_REMOVE), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Eina_Bool *, result)
12541#define evas_obj_box_remove_at(pos, result) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_REMOVE_AT), EO_TYPECHECK(unsigned int, pos), EO_TYPECHECK(Eina_Bool *, result)
12542#define evas_obj_box_remove_all(clear, result) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_REMOVE_ALL), EO_TYPECHECK(Eina_Bool, clear), EO_TYPECHECK(Eina_Bool *, result)
12543#define evas_obj_box_iterator_new(itr) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_ITERATOR_NEW), EO_TYPECHECK(Eina_Iterator **, itr)
12544#define evas_obj_box_accessor_new(accessor) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_ACCESSOR_NEW), EO_TYPECHECK(Eina_Accessor **, accessor)
12545#define evas_obj_box_option_property_name_get(property, name) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_OPTION_PROPERTY_NAME_GET), EO_TYPECHECK(int, property), EO_TYPECHECK(const char **, name)
12546#define evas_obj_box_option_property_id_get(name, id) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_OPTION_PROPERTY_ID_GET), EO_TYPECHECK(const char *, name), EO_TYPECHECK(int *, id)
12547#define evas_obj_box_option_property_vset(opt, property, args, ret) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_OPTION_PROPERTY_VSET), EO_TYPECHECK(Evas_Object_Box_Option *, opt), EO_TYPECHECK(int, property), EO_TYPECHECK(va_list, args), EO_TYPECHECK(Eina_Bool *, ret)
12548#define evas_obj_box_option_property_vget(opt, property, args, ret) EVAS_OBJ_BOX_ID(EVAS_OBJ_BOX_SUB_ID_OPTION_PROPERTY_VGET), EO_TYPECHECK(Evas_Object_Box_Option *, opt), EO_TYPECHECK(int, property), EO_TYPECHECK(va_list, args), EO_TYPECHECK(Eina_Bool *, ret)
12549
11268/** 12550/**
11269 * Set the default box @a api struct (Evas_Object_Box_Api) 12551 * Set the default box @a api struct (Evas_Object_Box_Api)
11270 * with the default values. May be used to extend that API. 12552 * with the default values. May be used to extend that API.
@@ -12009,6 +13291,54 @@ EAPI Eina_Bool evas_object_box_option_property_vget(const Evas_
12009 * @{ 13291 * @{
12010 */ 13292 */
12011 13293
13294#define EVAS_OBJ_TABLE_CLASS evas_object_table_class_get()
13295
13296const Eo_Class *evas_object_table_class_get(void) EINA_CONST;
13297
13298extern EAPI Eo_Op EVAS_OBJ_TABLE_BASE_ID;
13299
13300enum
13301{
13302 EVAS_OBJ_TABLE_SUB_ID_ADD_TO,
13303 EVAS_OBJ_TABLE_SUB_ID_HOMOGENEOUS_SET,
13304 EVAS_OBJ_TABLE_SUB_ID_HOMOGENEOUS_GET,
13305 EVAS_OBJ_TABLE_SUB_ID_ALIGN_SET,
13306 EVAS_OBJ_TABLE_SUB_ID_ALIGN_GET,
13307 EVAS_OBJ_TABLE_SUB_ID_PADDING_SET,
13308 EVAS_OBJ_TABLE_SUB_ID_PADDING_GET,
13309 EVAS_OBJ_TABLE_SUB_ID_PACK_GET,
13310 EVAS_OBJ_TABLE_SUB_ID_PACK,
13311 EVAS_OBJ_TABLE_SUB_ID_UNPACK,
13312 EVAS_OBJ_TABLE_SUB_ID_CLEAR,
13313 EVAS_OBJ_TABLE_SUB_ID_COL_ROW_SIZE_GET,
13314 EVAS_OBJ_TABLE_SUB_ID_ITERATOR_NEW,
13315 EVAS_OBJ_TABLE_SUB_ID_ACCESSOR_NEW,
13316 EVAS_OBJ_TABLE_SUB_ID_CHILDREN_GET,
13317 EVAS_OBJ_TABLE_SUB_ID_MIRRORED_GET,
13318 EVAS_OBJ_TABLE_SUB_ID_MIRRORED_SET,
13319 EVAS_OBJ_TABLE_SUB_ID_LAST
13320};
13321
13322#define EVAS_OBJ_TABLE_ID(sub_id) (EVAS_OBJ_TABLE_BASE_ID + sub_id)
13323
13324#define evas_obj_table_add_to(ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_ADD_TO), EO_TYPECHECK(Evas_Object **, ret)
13325#define evas_obj_table_homogeneous_set(homogeneous) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_HOMOGENEOUS_SET), EO_TYPECHECK(Evas_Object_Table_Homogeneous_Mode, homogeneous)
13326#define evas_obj_table_homogeneous_get(ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_HOMOGENEOUS_GET), EO_TYPECHECK(Evas_Object_Table_Homogeneous_Mode *, ret)
13327#define evas_obj_table_align_set(horizontal, vertical) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_ALIGN_SET), EO_TYPECHECK(double, horizontal), EO_TYPECHECK(double, vertical)
13328#define evas_obj_table_align_get(horizontal, vertical) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_ALIGN_GET), EO_TYPECHECK(double *, horizontal), EO_TYPECHECK(double *, vertical)
13329#define evas_obj_table_padding_set(horizontal, vertical) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_PADDING_SET), EO_TYPECHECK(Evas_Coord, horizontal), EO_TYPECHECK(Evas_Coord, vertical)
13330#define evas_obj_table_padding_get(horizontal, vertical) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_PADDING_GET), EO_TYPECHECK(Evas_Coord *, horizontal), EO_TYPECHECK(Evas_Coord *, vertical)
13331#define evas_obj_table_pack_get(child, col, row, colspan, rowspan, ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_PACK_GET), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(unsigned short *, col), EO_TYPECHECK(unsigned short *, row), EO_TYPECHECK(unsigned short *, colspan), EO_TYPECHECK(unsigned short *, rowspan), EO_TYPECHECK(Eina_Bool *, ret)
13332#define evas_obj_table_pack(child, col, row, colspan, rowspan, ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_PACK), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(unsigned short, col), EO_TYPECHECK(unsigned short, row), EO_TYPECHECK(unsigned short, colspan), EO_TYPECHECK(unsigned short, rowspan), EO_TYPECHECK(Eina_Bool *, ret)
13333#define evas_obj_table_unpack(child, ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_UNPACK), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Eina_Bool *, ret)
13334#define evas_obj_table_clear(clear) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_CLEAR), EO_TYPECHECK(Eina_Bool, clear)
13335#define evas_obj_table_col_row_size_get(cols, rows) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_COL_ROW_SIZE_GET), EO_TYPECHECK(int *, cols), EO_TYPECHECK(int *, rows)
13336#define evas_obj_table_iterator_new(ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_ITERATOR_NEW), EO_TYPECHECK(Eina_Iterator **, ret)
13337#define evas_obj_table_accessor_new(ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_ACCESSOR_NEW), EO_TYPECHECK(Eina_Accessor **, ret)
13338#define evas_obj_table_children_get(ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_CHILDREN_GET), EO_TYPECHECK(Eina_List **, ret)
13339#define evas_obj_table_mirrored_get(ret) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_MIRRORED_GET), EO_TYPECHECK(Eina_Bool *, ret)
13340#define evas_obj_table_mirrored_set(mirrored) EVAS_OBJ_TABLE_ID(EVAS_OBJ_TABLE_SUB_ID_MIRRORED_SET), EO_TYPECHECK(Eina_Bool, mirrored)
13341
12012/** 13342/**
12013 * @brief Create a new table. 13343 * @brief Create a new table.
12014 * 13344 *
@@ -12223,6 +13553,45 @@ EAPI Evas_Object *evas_object_table_child_get(const Evas_O
12223 * @{ 13553 * @{
12224 */ 13554 */
12225 13555
13556#define EVAS_OBJ_GRID_CLASS evas_object_grid_class_get()
13557
13558const Eo_Class *evas_object_grid_class_get(void) EINA_CONST;
13559
13560extern EAPI Eo_Op EVAS_OBJ_GRID_BASE_ID;
13561
13562enum
13563{
13564 EVAS_OBJ_GRID_SUB_ID_ADD_TO,
13565 EVAS_OBJ_GRID_SUB_ID_SIZE_SET,
13566 EVAS_OBJ_GRID_SUB_ID_SIZE_GET,
13567 EVAS_OBJ_GRID_SUB_ID_PACK,
13568 EVAS_OBJ_GRID_SUB_ID_UNPACK,
13569 EVAS_OBJ_GRID_SUB_ID_CLEAR,
13570 EVAS_OBJ_GRID_SUB_ID_PACK_GET,
13571 EVAS_OBJ_GRID_SUB_ID_ITERATOR_NEW,
13572 EVAS_OBJ_GRID_SUB_ID_ACCESSOR_NEW,
13573 EVAS_OBJ_GRID_SUB_ID_CHILDREN_GET,
13574 EVAS_OBJ_GRID_SUB_ID_MIRRORED_GET,
13575 EVAS_OBJ_GRID_SUB_ID_MIRRORED_SET,
13576 EVAS_OBJ_GRID_SUB_ID_LAST
13577};
13578
13579#define EVAS_OBJ_GRID_ID(sub_id) (EVAS_OBJ_GRID_BASE_ID + sub_id)
13580
13581#define evas_obj_grid_add(ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_ADD), EO_TYPECHECK(Evas_Object **, ret)
13582#define evas_obj_grid_add_to(ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_ADD_TO), EO_TYPECHECK(Evas_Object **, ret)
13583#define evas_obj_grid_size_set(w, h) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_SIZE_SET), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
13584#define evas_obj_grid_size_get(w, h) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_SIZE_GET), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h)
13585#define evas_obj_grid_pack(child, x, y, w, h, ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_PACK), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h), EO_TYPECHECK(Eina_Bool *, ret)
13586#define evas_obj_grid_unpack(child, ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_UNPACK), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Eina_Bool *, ret)
13587#define evas_obj_grid_clear(clear) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_CLEAR), EO_TYPECHECK(Eina_Bool, clear)
13588#define evas_obj_grid_pack_get(child, x, y, w, h, ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_PACK_GET), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(int *, x), EO_TYPECHECK(int *, y), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h), EO_TYPECHECK(Eina_Bool *, ret)
13589#define evas_obj_grid_iterator_new(ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_ITERATOR_NEW), EO_TYPECHECK(Eina_Iterator **, ret)
13590#define evas_obj_grid_accessor_new(ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_ACCESSOR_NEW), EO_TYPECHECK(Eina_Accessor **, ret)
13591#define evas_obj_grid_children_get(ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_CHILDREN_GET), EO_TYPECHECK(Eina_List **, ret)
13592#define evas_obj_grid_mirrored_get(ret) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_MIRRORED_GET), EO_TYPECHECK(Eina_Bool *, ret)
13593#define evas_obj_grid_mirrored_set(mirrored) EVAS_OBJ_GRID_ID(EVAS_OBJ_GRID_SUB_ID_MIRRORED_SET), EO_TYPECHECK(Eina_Bool, mirrored)
13594
12226/** 13595/**
12227 * Create a new grid. 13596 * Create a new grid.
12228 * 13597 *
@@ -13215,6 +14584,1850 @@ EAPI Evas_Touch_Point_State evas_touch_point_list_nth_state_get(Evas *e, unsigne
13215 * @} 14584 * @}
13216 */ 14585 */
13217 14586
14587#define EVAS_COMMON_CLASS evas_common_class_get()
14588
14589const Eo_Class *evas_common_class_get(void) EINA_CONST;
14590
14591extern EAPI Eo_Op EVAS_COMMON_BASE_ID;
14592
14593enum
14594{
14595 EVAS_COMMON_SUB_ID_EVAS_GET,
14596 EVAS_COMMON_SUB_ID_LAST
14597};
14598
14599#define EVAS_COMMON_ID(sub_id) (EVAS_COMMON_BASE_ID + sub_id)
14600
14601#define evas_common_evas_get(ret) EVAS_COMMON_ID(EVAS_COMMON_SUB_ID_EVAS_GET), EO_TYPECHECK(Evas **, ret)
14602
14603extern EAPI Eo_Op EVAS_OBJ_BASE_ID;
14604
14605enum
14606{
14607 EVAS_OBJ_SUB_ID_POSITION_SET,
14608 EVAS_OBJ_SUB_ID_POSITION_GET,
14609 EVAS_OBJ_SUB_ID_SIZE_SET,
14610 EVAS_OBJ_SUB_ID_SIZE_GET,
14611 EVAS_OBJ_SUB_ID_SIZE_HINT_MIN_SET,
14612 EVAS_OBJ_SUB_ID_SIZE_HINT_MIN_GET,
14613 EVAS_OBJ_SUB_ID_SIZE_HINT_MAX_SET,
14614 EVAS_OBJ_SUB_ID_SIZE_HINT_MAX_GET,
14615 EVAS_OBJ_SUB_ID_SIZE_HINT_REQUEST_SET,
14616 EVAS_OBJ_SUB_ID_SIZE_HINT_REQUEST_GET,
14617 EVAS_OBJ_SUB_ID_SIZE_HINT_ASPECT_SET,
14618 EVAS_OBJ_SUB_ID_SIZE_HINT_ASPECT_GET,
14619 EVAS_OBJ_SUB_ID_SIZE_HINT_ALIGN_SET,
14620 EVAS_OBJ_SUB_ID_SIZE_HINT_ALIGN_GET,
14621 EVAS_OBJ_SUB_ID_SIZE_HINT_WEIGHT_SET,
14622 EVAS_OBJ_SUB_ID_SIZE_HINT_WEIGHT_GET,
14623 EVAS_OBJ_SUB_ID_SIZE_HINT_PADDING_SET,
14624 EVAS_OBJ_SUB_ID_SIZE_HINT_PADDING_GET,
14625 EVAS_OBJ_SUB_ID_VISIBILITY_SET,
14626 EVAS_OBJ_SUB_ID_VISIBILITY_GET,
14627 EVAS_OBJ_SUB_ID_COLOR_SET,
14628 EVAS_OBJ_SUB_ID_COLOR_GET,
14629 EVAS_OBJ_SUB_ID_ANTI_ALIAS_SET,
14630 EVAS_OBJ_SUB_ID_ANTI_ALIAS_GET,
14631 EVAS_OBJ_SUB_ID_SCALE_SET,
14632 EVAS_OBJ_SUB_ID_SCALE_GET,
14633 EVAS_OBJ_SUB_ID_RENDER_OP_SET,
14634 EVAS_OBJ_SUB_ID_RENDER_OP_GET,
14635 EVAS_OBJ_SUB_ID_TYPE_SET,
14636 EVAS_OBJ_SUB_ID_TYPE_GET,
14637 EVAS_OBJ_SUB_ID_PRECISE_IS_INSIDE_SET,
14638 EVAS_OBJ_SUB_ID_PRECISE_IS_INSIDE_GET,
14639 EVAS_OBJ_SUB_ID_STATIC_CLIP_SET,
14640 EVAS_OBJ_SUB_ID_STATIC_CLIP_GET,
14641 EVAS_OBJ_SUB_ID_IS_FRAME_OBJECT_SET,
14642 EVAS_OBJ_SUB_ID_IS_FRAME_OBJECT_GET,
14643 EVAS_OBJ_SUB_ID_FREEZE_EVENTS_SET,
14644 EVAS_OBJ_SUB_ID_FREEZE_EVENTS_GET,
14645 EVAS_OBJ_SUB_ID_PASS_EVENTS_SET,
14646 EVAS_OBJ_SUB_ID_PASS_EVENTS_GET,
14647 EVAS_OBJ_SUB_ID_REPEAT_EVENTS_SET,
14648 EVAS_OBJ_SUB_ID_REPEAT_EVENTS_GET,
14649 EVAS_OBJ_SUB_ID_PROPAGATE_EVENTS_SET,
14650 EVAS_OBJ_SUB_ID_PROPAGATE_EVENTS_GET,
14651 EVAS_OBJ_SUB_ID_POINTER_MODE_SET,
14652 EVAS_OBJ_SUB_ID_POINTER_MODE_GET,
14653 EVAS_OBJ_SUB_ID_KEY_GRAB,
14654 EVAS_OBJ_SUB_ID_KEY_UNGRAB,
14655 EVAS_OBJ_SUB_ID_FOCUS_SET,
14656 EVAS_OBJ_SUB_ID_FOCUS_GET,
14657 EVAS_OBJ_SUB_ID_NAME_SET,
14658 EVAS_OBJ_SUB_ID_NAME_GET,
14659 EVAS_OBJ_SUB_ID_NAME_CHILD_FIND,
14660 EVAS_OBJ_SUB_ID_LAYER_SET,
14661 EVAS_OBJ_SUB_ID_LAYER_GET,
14662 EVAS_OBJ_SUB_ID_CLIP_SET,
14663 EVAS_OBJ_SUB_ID_CLIP_GET,
14664 EVAS_OBJ_SUB_ID_CLIP_UNSET,
14665 EVAS_OBJ_SUB_ID_CLIPEES_GET,
14666 EVAS_OBJ_SUB_ID_MAP_ENABLE_SET,
14667 EVAS_OBJ_SUB_ID_MAP_ENABLE_GET,
14668 EVAS_OBJ_SUB_ID_MAP_SET,
14669 EVAS_OBJ_SUB_ID_MAP_GET,
14670 EVAS_OBJ_SUB_ID_SMART_PARENT_GET,
14671 EVAS_OBJ_SUB_ID_SMART_DATA_GET,
14672 EVAS_OBJ_SUB_ID_SMART_TYPE_CHECK,
14673 EVAS_OBJ_SUB_ID_SMART_TYPE_CHECK_PTR,
14674 EVAS_OBJ_SUB_ID_SMART_MOVE_CHILDREN_RELATIVE,
14675 EVAS_OBJ_SUB_ID_SMART_CLIPPED_CLIPPER_GET,
14676 EVAS_OBJ_SUB_ID_RAISE,
14677 EVAS_OBJ_SUB_ID_LOWER,
14678 EVAS_OBJ_SUB_ID_STACK_ABOVE,
14679 EVAS_OBJ_SUB_ID_STACK_BELOW,
14680 EVAS_OBJ_SUB_ID_ABOVE_GET,
14681 EVAS_OBJ_SUB_ID_BELOW_GET,
14682 EVAS_OBJ_SUB_ID_TYPE_CHECK,
14683 EVAS_OBJ_SUB_ID_LAST
14684};
14685
14686#define EVAS_OBJ_ID(sub_id) (EVAS_OBJ_BASE_ID + sub_id)
14687
14688/**
14689 * @def evas_obj_position_set
14690 *
14691 * Move the given Evas object to the given location inside its
14692 * canvas' viewport.
14693 *
14694 * @param[in] x in
14695 * @param[in] y in
14696 *
14697 * @see evas_object_move
14698 */
14699#define evas_obj_position_set(x, y) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_POSITION_SET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y)
14700
14701/**
14702 * @def evas_obj_position_get
14703 *
14704 * Retrieves the position of the given Evas object.
14705 *
14706 * @param[out] x out
14707 * @param[out] y out
14708 *
14709 * @see evas_object_geometry_get
14710 */
14711#define evas_obj_position_get(x, y) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_POSITION_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y)
14712
14713/**
14714 * @def evas_obj_size_set
14715 * Changes the size of the given Evas object.
14716 *
14717 * @param w[in] in
14718 * @param h[in] in
14719 *
14720 * @see evas_object_resize
14721 */
14722#define evas_obj_size_set(w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_SET), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
14723
14724/**
14725 * @def evas_obj_size_get
14726 *
14727 * Retrieves the (rectangular) size of the given Evas object.
14728 *
14729 * @param[out] w out
14730 * @param[out] h out
14731 *
14732 * @see evas_object_geometry_get
14733 */
14734#define evas_obj_size_get(w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_GET), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
14735
14736/**
14737 * @def evas_obj_size_hint_min_set
14738 *
14739 * Sets the hints for an object's minimum size.
14740 *
14741 * @param[in] w in
14742 * @param[in] h in
14743 *
14744 * @see evas_object_size_hint_min_set
14745 */
14746#define evas_obj_size_hint_min_set(w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_MIN_SET), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
14747
14748/**
14749 * @def evas_obj_size_hint_min_get
14750 *
14751 * Retrieves the hints for an object's minimum size.
14752 *
14753 * @param[out] w out
14754 * @param[out] h out
14755 *
14756 * @see evas_object_size_hint_min_get
14757 */
14758#define evas_obj_size_hint_min_get(w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_MIN_GET), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
14759
14760/**
14761 * @def evas_obj_size_hint_max_set
14762 *
14763 * Sets the hints for an object's maximum size.
14764 *
14765 * @param[in] w in
14766 * @param[in] h in
14767 *
14768 * @see evas_object_size_hint_max_set
14769 */
14770#define evas_obj_size_hint_max_set(w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_MAX_SET), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
14771
14772/**
14773 * @def evas_obj_size_hint_max_get
14774 *
14775 * Retrieves the hints for an object's maximum size.
14776 *
14777 * @param[out] w out
14778 * @param[out] h out
14779 *
14780 * @see evas_object_size_hint_max_get
14781 */
14782#define evas_obj_size_hint_max_get(w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_MAX_GET), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
14783
14784/**
14785 * @def evas_obj_size_hint_request_set
14786 *
14787 * Sets the hints for an object's optimum size.
14788 *
14789 * @param[in] w in
14790 * @param[in] h in
14791 *
14792 * @see evas_object_size_hint_request_set
14793 */
14794#define evas_obj_size_hint_request_set(w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_REQUEST_SET), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
14795
14796/**
14797 * @def evas_obj_size_hint_request_get
14798 *
14799 * Retrieves the hints for an object's optimum size.
14800 *
14801 * @param[out] w out
14802 * @param[out] h out
14803 *
14804 * @see evas_object_size_hint_request_get
14805 */
14806#define evas_obj_size_hint_request_get(w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_REQUEST_GET), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
14807
14808/**
14809 * @def evas_obj_size_hint_aspect_set
14810 *
14811 * Sets the hints for an object's aspect ratio.
14812 *
14813 * @param[in] aspect in
14814 * @param[in] w in
14815 * @param[in] h in
14816 *
14817 * @see evas_object_size_hint_aspect_set
14818 */
14819#define evas_obj_size_hint_aspect_set(aspect, w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_ASPECT_SET), EO_TYPECHECK(Evas_Aspect_Control, aspect), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
14820
14821/**
14822 * @def evas_obj_size_hint_aspect_get
14823 *
14824 * Retrieves the hints for an object's aspect ratio.
14825 *
14826 * @param[out] aspect out
14827 * @param[out] w out
14828 * @param[out] h out
14829 *
14830 * @see evas_object_size_hint_aspect_get
14831 */
14832#define evas_obj_size_hint_aspect_get(aspect, w, h) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_ASPECT_GET), EO_TYPECHECK(Evas_Aspect_Control *, aspect), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
14833
14834/**
14835 * @def evas_obj_size_hint_align_set
14836 *
14837 * Sets the hints for an object's alignment.
14838 *
14839 * @param[in] x in
14840 * @param[in] y in
14841 *
14842 * @see evas_object_size_hint_align_set
14843 */
14844#define evas_obj_size_hint_align_set(x, y) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_ALIGN_SET), EO_TYPECHECK(double, x), EO_TYPECHECK(double, y)
14845
14846/**
14847 * @def evas_obj_size_hint_align_get
14848 *
14849 * Retrieves the hints for on object's alignment.
14850 *
14851 * @param[out] x out
14852 * @param[out] y out
14853 *
14854 * @see evas_object_size_hint_align_get
14855 */
14856#define evas_obj_size_hint_align_get(x, y) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_ALIGN_GET), EO_TYPECHECK(double *, x), EO_TYPECHECK(double *, y)
14857
14858/**
14859 * @def evas_obj_size_hint_weight_set
14860 *
14861 * Sets the hints for an object's weight.
14862 *
14863 * @param[in] x in
14864 * @param[in] y in
14865 *
14866 * @see evas_object_size_hint_weight_set
14867 */
14868#define evas_obj_size_hint_weight_set(x, y) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_WEIGHT_SET), EO_TYPECHECK(double, x), EO_TYPECHECK(double, y)
14869
14870/**
14871 * @def evas_obj_size_hint_weight_get
14872 *
14873 * Retrieves the hints for an object's weight.
14874 *
14875 * @param[out] x out
14876 * @param[out] y out
14877 *
14878 * @see evas_object_size_hint_weight_get
14879 */
14880#define evas_obj_size_hint_weight_get(x, y) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_WEIGHT_GET), EO_TYPECHECK(double *, x), EO_TYPECHECK(double *, y)
14881
14882/**
14883 * @def evas_obj_size_hint_padding_set
14884 *
14885 * Sets the hints for an object's padding space.
14886 *
14887 * @param[in] l in
14888 * @param[in] r in
14889 * @param[in] t in
14890 * @param[in] b in
14891 *
14892 * @see evas_object_size_hint_padding_set
14893 */
14894#define evas_obj_size_hint_padding_set(l, r, t, b) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_PADDING_SET), EO_TYPECHECK(Evas_Coord, l), EO_TYPECHECK(Evas_Coord, r), EO_TYPECHECK(Evas_Coord, t), EO_TYPECHECK(Evas_Coord, b)
14895
14896/**
14897 * @def evas_obj_size_hint_padding_get
14898 *
14899 * Retrieves the hints for an object's padding space.
14900 *
14901 * @param[out] l out
14902 * @param[out] r out
14903 * @param[out] t out
14904 * @param[out] b out
14905 *
14906 * @see evas_object_size_hint_padding_get
14907 */
14908#define evas_obj_size_hint_padding_get(l, r, t, b) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SIZE_HINT_PADDING_GET), EO_TYPECHECK(Evas_Coord *, l), EO_TYPECHECK(Evas_Coord *, r), EO_TYPECHECK(Evas_Coord *, t), EO_TYPECHECK(Evas_Coord *, b)
14909
14910/**
14911 * @def evas_obj_visibility_set
14912 *
14913 * Makes the given Evas object visible or invisible.
14914 * @param[in] v @c EINA_TRUE if to make the object visible, @c EINA_FALSE
14915 * otherwise.
14916 *
14917 * @see evas_object_show
14918 * @see evas_object_hide
14919 */
14920#define evas_obj_visibility_set(v) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_VISIBILITY_SET), EO_TYPECHECK(Eina_Bool, v)
14921
14922/**
14923 * @def evas_obj_visibility_get
14924 *
14925 * Retrieves whether or not the given Evas object is visible.
14926 *
14927 * @param[out] v @c EINA_TRUE if the object is visible, @c EINA_FALSE
14928 * otherwise.
14929 *
14930 * @see evas_object_visible_get
14931 */
14932#define evas_obj_visibility_get(v) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_VISIBILITY_GET), EO_TYPECHECK(Eina_Bool *, v)
14933
14934/**
14935 * @def evas_obj_color_set
14936 *
14937 * Sets the general/main color of the given Evas object to the given
14938 * one.
14939 *
14940 * @param[in] r in
14941 * @param[in] g in
14942 * @param[in] b in
14943 * @param[in] a in
14944 *
14945 * @see evas_object_color_set
14946 */
14947#define evas_obj_color_set(r, g, b, a) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_COLOR_SET), EO_TYPECHECK(int, r), EO_TYPECHECK(int, g), EO_TYPECHECK(int, b), EO_TYPECHECK(int, a)
14948
14949/**
14950 * @def evas_obj_color_get
14951 * Retrieves the general/main color of the given Evas object.
14952 *
14953 * @param r out
14954 * @param g out
14955 * @param b out
14956 * @param a out
14957 *
14958 * @see evas_object_color_get
14959 */
14960#define evas_obj_color_get(r, g, b, a) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_COLOR_GET), EO_TYPECHECK(int *, r), EO_TYPECHECK(int *, g), EO_TYPECHECK(int *, b), EO_TYPECHECK(int *, a)
14961
14962/**
14963 * @def evas_obj_anti_alias_set
14964 *
14965 * Sets whether or not the given Evas object is to be drawn anti-aliased.
14966 *
14967 * @param[in] anti_alias in
14968 *
14969 * @see evas_object_anti_alias_set
14970 */
14971#define evas_obj_anti_alias_set(anti_alias) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_ANTI_ALIAS_SET), EO_TYPECHECK(Eina_Bool, anti_alias)
14972
14973/**
14974 * @def evas_obj_anti_alias_get
14975 *
14976 * Retrieves whether or not the given Evas object is to be drawn anti_aliased.
14977 *
14978 * @param[out] anti_alias out
14979 *
14980 * @see evas_object_anti_alias_get
14981 */
14982#define evas_obj_anti_alias_get(anti_alias) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_ANTI_ALIAS_GET), EO_TYPECHECK(Eina_Bool *, anti_alias)
14983
14984/**
14985 * @def evas_obj_scale_set
14986 *
14987 * Sets the scaling factor for an Evas object. Does not affect all
14988 * objects.
14989 *
14990 * @param[in] scale in
14991 *
14992 * @see evas_object_scale_set
14993 */
14994#define evas_obj_scale_set(scale) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SCALE_SET), EO_TYPECHECK(double, scale)
14995
14996/**
14997 * @def evas_obj_scale_get
14998 *
14999 * Retrieves the scaling factor for the given Evas object.
15000 *
15001 * @param[out] scale out
15002 *
15003 * @see evas_object_scale_get
15004 */
15005#define evas_obj_scale_get(scale) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SCALE_GET), EO_TYPECHECK(double *, scale)
15006
15007/**
15008 * @def evas_obj_render_op_set
15009 *
15010 * Sets the render_op to be used for rendering the Evas object.
15011 *
15012 * @param[in] render_op in
15013 *
15014 * @see evas_object_render_op_set
15015 */
15016#define evas_obj_render_op_set(render_op) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_RENDER_OP_SET), EO_TYPECHECK(Evas_Render_Op, render_op)
15017
15018/**
15019 * @def evas_obj_render_op_get
15020 *
15021 * Retrieves the current value of the operation used for rendering the Evas object.
15022 *
15023 * @param[out] render_op
15024 *
15025 * @see evas_object_render_op_get
15026 */
15027#define evas_obj_render_op_get(render_op) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_RENDER_OP_GET), EO_TYPECHECK(Evas_Render_Op *, render_op)
15028
15029/**
15030 * @def evas_obj_evas_get
15031 * Retrieves the Evas canvas that the given object lives on.
15032 *
15033 * @param[out] out.
15034 * @see evas_object_evas_get
15035 */
15036#define evas_obj_evas_get(evas) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_EVAS_GET), EO_TYPECHECK(Evas **, evas)
15037
15038/**
15039 * @def evas_obj_type_get
15040 * Retrieves the type of the given Evas object.
15041 *
15042 * @param[out] type out
15043 * @see evas_object_type_get
15044 */
15045#define evas_obj_type_get(type) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_TYPE_GET), EO_TYPECHECK(const char **, type)
15046
15047/**
15048 * @def evas_obj_type_set
15049 * Sets the type of the given Evas object.
15050 *
15051 * @param[in] type in
15052 */
15053#define evas_obj_type_set(type) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_TYPE_SET), EO_TYPECHECK(const char *, type)
15054
15055/**
15056 * @def evas_obj_precise_is_inside_set
15057 *
15058 * Set whether to use precise (usually expensive) point collision
15059 * detection for a given Evas object.
15060 *
15061 * @param[in] precise in
15062 *
15063 * @see evas_object_precise_is_inside_set
15064 */
15065#define evas_obj_precise_is_inside_set(precise) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_PRECISE_IS_INSIDE_SET), EO_TYPECHECK(Eina_Bool, precise)
15066
15067/**
15068 * @def evas_obj_precise_is_inside_get
15069 *
15070 * Determine whether an object is set to use precise point collision
15071 * detection.
15072 *
15073 * @param[out] precise out
15074 *
15075 * @see evas_object_precise_is_inside_get
15076 */
15077#define evas_obj_precise_is_inside_get(precise) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_PRECISE_IS_INSIDE_GET), EO_TYPECHECK(Eina_Bool *, precise)
15078
15079/**
15080 * @def evas_obj_static_clip_set
15081 *
15082 * Set a hint flag on the given Evas object that it's used as a "static
15083 * clipper".
15084 *
15085 * @param[in] is_static_clip in
15086 *
15087 * @see evas_object_static_clip_set
15088 */
15089#define evas_obj_static_clip_set(is_static_clip) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_STATIC_CLIP_SET), EO_TYPECHECK(Eina_Bool, is_static_clip)
15090
15091/**
15092 * @def evas_obj_static_clip_get
15093 *
15094 * Get the "static clipper" hint flag for a given Evas object.
15095 *
15096 * @param[out] is_static_clip out
15097 *
15098 * @see evas_object_static_clip_get
15099 */
15100#define evas_obj_static_clip_get(is_static_clip) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_STATIC_CLIP_GET), EO_TYPECHECK(Eina_Bool *, is_static_clip)
15101
15102/**
15103 * @def evas_obj_is_frame_object_set
15104 *
15105 * @param[in] is_frame in
15106 *
15107 * @see evas_object_is_frame_object_set
15108 */
15109#define evas_obj_is_frame_object_set(is_frame) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_IS_FRAME_OBJECT_SET), EO_TYPECHECK(Eina_Bool, is_frame)
15110
15111/**
15112 * @def evas_obj_is_frame_object_get
15113 *
15114 * @param[out] is_frame out
15115 *
15116 * @see evas_object_is_frame_object_get
15117 */
15118#define evas_obj_is_frame_object_get(is_frame) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_IS_FRAME_OBJECT_GET), EO_TYPECHECK(Eina_Bool *, is_frame)
15119
15120/**
15121 * @def evas_obj_freeze_events_set
15122 *
15123 * Set whether an Evas object is to freeze (discard) events.
15124 *
15125 * @param[in] freeze in
15126 *
15127 * @see evas_object_freeze_events_set
15128 */
15129#define evas_obj_freeze_events_set(freeze) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_FREEZE_EVENTS_SET), EO_TYPECHECK(Eina_Bool, freeze)
15130
15131/**
15132 * @def evas_obj_freeze_events_get
15133 *
15134 * Determine whether an object is set to freeze (discard) events.
15135 *
15136 * @param[out] freeze out
15137 *
15138 * @see evas_object_freeze_events_get
15139 */
15140#define evas_obj_freeze_events_get(freeze) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_FREEZE_EVENTS_GET), EO_TYPECHECK(Eina_Bool *, freeze)
15141
15142/**
15143 * @def evas_obj_pass_events_set
15144 *
15145 * Set whether an Evas object is to pass (ignore) events.
15146 *
15147 * @param[in] pass in
15148 *
15149 * @see evas_object_pass_events_set
15150 */
15151#define evas_obj_pass_events_set(pass) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_PASS_EVENTS_SET), EO_TYPECHECK(Eina_Bool, pass)
15152
15153/**
15154 * @def evas_obj_pass_events_get
15155 *
15156 * Determine whether an object is set to pass (ignore) events.
15157 *
15158 * @param[out] pass
15159 *
15160 * @see evas_object_pass_events_get
15161 */
15162#define evas_obj_pass_events_get(pass) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_PASS_EVENTS_GET), EO_TYPECHECK(Eina_Bool *, pass)
15163
15164/**
15165 * @def evas_obj_repeat_events_set
15166 *
15167 * Set whether an Evas object is to repeat events.
15168 *
15169 * @param[in] repeat in
15170 *
15171 * @see evas_object_repeat_events_set
15172 */
15173#define evas_obj_repeat_events_set(repeat) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_REPEAT_EVENTS_SET), EO_TYPECHECK(Eina_Bool, repeat)
15174
15175/**
15176 * @def evas_obj_repeat_events_get
15177 *
15178 * Determine whether an object is set to repeat events.
15179 *
15180 * @param[out] repeat out
15181 *
15182 * @see evas_object_repeat_events_get
15183 */
15184#define evas_obj_repeat_events_get(repeat) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_REPEAT_EVENTS_GET), EO_TYPECHECK(Eina_Bool *, repeat)
15185
15186/**
15187 * @def evas_obj_propagate_events_set
15188 *
15189 * Set whether events on a smart object's member should get propagated
15190 * up to its parent.
15191 *
15192 * @param[in] propagate in
15193 * @see evas_object_propagate_events_set
15194 */
15195#define evas_obj_propagate_events_set(propagate) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_PROPAGATE_EVENTS_SET), EO_TYPECHECK(Eina_Bool, propagate)
15196
15197/**
15198 * @def evas_obj_propagate_events_get
15199 *
15200 * Retrieve whether an Evas object is set to propagate events.
15201 *
15202 * @param[out] propagate out
15203 *
15204 * @see evas_object_propagate_events_get
15205 */
15206#define evas_obj_propagate_events_get(propagate) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_PROPAGATE_EVENTS_GET), EO_TYPECHECK(Eina_Bool *, propagate)
15207
15208/**
15209 * @def evas_obj_pointer_mode_set
15210 *
15211 * Set pointer behavior.
15212 *
15213 * @param[in] setting in
15214 *
15215 * @see evas_object_pointer_mode_set
15216 */
15217#define evas_obj_pointer_mode_set(pointer_mode) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_POINTER_MODE_SET), EO_TYPECHECK(Evas_Object_Pointer_Mode, pointer_mode)
15218
15219/**
15220 * @def evas_obj_pointer_mode_get
15221 *
15222 * Determine how pointer will behave.
15223 *
15224 * @param[out] setting out
15225 *
15226 * @see evas_object_pointer_mode_get
15227 */
15228#define evas_obj_pointer_mode_get(pointer_mode) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_POINTER_MODE_GET), EO_TYPECHECK(Evas_Object_Pointer_Mode *, pointer_mode)
15229
15230/**
15231 * @def evas_obj_clip_set
15232 * Clip one object to another.
15233 *
15234 * @parami[in] clip in
15235 *
15236 * @see evas_object_clip_set
15237 */
15238#define evas_obj_clip_set(clip) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_CLIP_SET), EO_TYPECHECK(Evas_Object *, clip)
15239
15240/**
15241 * @def evas_obj_clip_get
15242 * Get the object clipping @p obj (if any).
15243 *
15244 * @param[out] clip out
15245 *
15246 * @see evas_object_clip_get
15247 */
15248#define evas_obj_clip_get(clip) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_CLIP_GET), EO_TYPECHECK(Evas_Object **, clip)
15249
15250/**
15251 * @def evas_obj_clip_unset
15252 * Disable/cease clipping on a clipped @p obj object.
15253 *
15254 * @see evas_object_clip_unset
15255 */
15256#define evas_obj_clip_unset() EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_CLIP_UNSET)
15257
15258/**
15259 * @def evas_obj_clipees_get
15260 * Return a list of objects currently clipped by @p obj.
15261 *
15262 * @param[out] clipees out
15263 *
15264 * @see evas_object_clipees_get
15265 */
15266#define evas_obj_clipees_get(clipees) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_CLIPEES_GET), EO_TYPECHECK(const Eina_List **, clipees)
15267
15268/**
15269 * @def evas_obj_focus_set
15270 * Sets or unsets a given object as the currently focused one on its
15271 * canvas.
15272 * @param[in] focus in
15273 *
15274 * @see evas_object_focus_set
15275 */
15276#define evas_obj_focus_set(focus) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_FOCUS_SET), EO_TYPECHECK(Eina_Bool, focus)
15277
15278/**
15279 * @def evas_obj_focus_get
15280 * Retrieve whether an object has the focus.
15281 *
15282 * @param[out] focus out
15283 *
15284 * @see evas_object_focus_get
15285 */
15286#define evas_obj_focus_get(focus) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_FOCUS_GET), EO_TYPECHECK(Eina_Bool *, focus)
15287
15288/**
15289 * @def evas_obj_name_set
15290 * Sets the name of the given Evas object to the given name.
15291 *
15292 * @param[in] name in
15293 *
15294 * @see evas_object_name_set
15295 */
15296#define evas_obj_name_set(name) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_NAME_SET), EO_TYPECHECK(const char *, name)
15297
15298/**
15299 * @def evas_obj_name_get
15300 *
15301 * Retrieves the name of the given Evas object.
15302 *
15303 * @param[out] name out
15304 *
15305 * @see evas_object_name_get
15306 *
15307 */
15308#define evas_obj_name_get(name) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_NAME_GET), EO_TYPECHECK(const char **, name)
15309
15310/**
15311 * @def evas_obj_name_child_find
15312 *
15313 * Retrieves the object from children of the given object with the given name.
15314 * @param[in] name in
15315 * @param[in] recurse in
15316 * @param[out] child out
15317 *
15318 * @see evas_object_name_child_find
15319 */
15320#define evas_obj_name_child_find(name, recurse, child) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_NAME_CHILD_FIND), EO_TYPECHECK(const char *, name), EO_TYPECHECK(int, recurse), EO_TYPECHECK(Evas_Object **, child)
15321
15322/**
15323 * @def evas_obj_key_grab
15324 *
15325 * Requests @p keyname key events be directed to the obj.
15326 * @param[in] keyname in
15327 * @param[in] modifiers in
15328 * @param[in] not_modifiers in
15329 * @param[in] exclusive in
15330 * @param[out] ret out
15331 *
15332 * @see evas_object_key_grab
15333 */
15334#define evas_obj_key_grab(keyname, modifiers, not_modifiers, exclusive, ret) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_KEY_GRAB), EO_TYPECHECK(const char *, keyname), EO_TYPECHECK(Evas_Modifier_Mask, modifiers), EO_TYPECHECK(Evas_Modifier_Mask, not_modifiers), EO_TYPECHECK(Eina_Bool, exclusive), EO_TYPECHECK(Eina_Bool *, ret)
15335
15336/**
15337 * @def evas_obj_key_ungrab
15338 *
15339 * Removes the grab on @p keyname key events by the obj.
15340 *
15341 * @param[in] keyname
15342 * @param[in] modifiers
15343 * @param[in] not_modifiers
15344 *
15345 * @see evas_object_key_ungrab
15346 */
15347#define evas_obj_key_ungrab(keyname, modifiers, not_modifiers) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_KEY_UNGRAB), EO_TYPECHECK(const char *, keyname), EO_TYPECHECK(Evas_Modifier_Mask, modifiers), EO_TYPECHECK(Evas_Modifier_Mask, not_modifiers)
15348
15349/**
15350 * @def evas_obj_layer_set
15351 * Sets the layer of the its canvas that the given object will be part
15352 * of.
15353 *
15354 * @param[in] l in
15355 *
15356 * @see evas_object_layer_set()
15357 */
15358#define evas_obj_layer_set(l) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_LAYER_SET), EO_TYPECHECK(short, l)
15359
15360/**
15361 * @def evas_obj_layer_get
15362 * Retrieves the layer of its canvas that the given object is part of.
15363 *
15364 * @param Number of the its layer
15365 */
15366#define evas_obj_layer_get(l) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_LAYER_GET), EO_TYPECHECK(short *, l)
15367
15368/**
15369 * @def evas_obj_map_enable_set
15370 *
15371 * Enable or disable the map that is set.
15372 *
15373 * @param[in] enabled in
15374 *
15375 * @see evas_object_map_enable_set
15376 */
15377#define evas_obj_map_enable_set(enabled) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_MAP_ENABLE_SET), EO_TYPECHECK(Eina_Bool, enabled)
15378
15379/**
15380 * @def evas_obj_map_enable_get
15381 *
15382 * Get the map enabled state
15383 *
15384 * @param[out] enabled out
15385 *
15386 * @see evas_object_map_enable_get
15387 */
15388#define evas_obj_map_enable_get(enabled) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_MAP_ENABLE_GET), EO_TYPECHECK(Eina_Bool *, enabled)
15389
15390/**
15391 * @def evas_obj_map_source_set
15392 *
15393 * Set the map source object
15394 *
15395 * @param[in] source in
15396 *
15397 * @see evas_object_map_source_set
15398 */
15399#define evas_obj_map_source_set(source) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_MAP_SOURCE_SET), EO_TYPECHECK(Evas_Object *, source)
15400
15401/**
15402 * @def evas_obj_map_source_get
15403 *
15404 * Get the map source object
15405 *
15406 * @param[out] source out
15407 *
15408 * @see evas_object_map_source_get
15409 */
15410#define evas_obj_map_source_get(source) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_MAP_SOURCE_GET), EO_TYPECHECK(Evas_Object **, source)
15411
15412/**
15413 * @def evas_obj_map_set
15414 *
15415 * Set current object transformation map.
15416 *
15417 * @param[in] map in
15418 *
15419 * @see evas_object_map_set
15420 */
15421#define evas_obj_map_set(map) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_MAP_SET), EO_TYPECHECK(const Evas_Map *, map)
15422
15423/**
15424 * @def evas_obj_map_get
15425 *
15426 * Get current object transformation map.
15427 *
15428 * @param[out] map out
15429 *
15430 * @see evas_object_map_get
15431 */
15432#define evas_obj_map_get(map) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_MAP_GET), EO_TYPECHECK(const Evas_Map **, map)
15433
15434/**
15435 * @def evas_obj_smart_parent_get
15436 *
15437 * Gets the parent smart object of a given Evas object, if it has one.
15438 *
15439 * @param[out] smart_parent out
15440 *
15441 * @see evas_object_smart_parent_get
15442 */
15443#define evas_obj_smart_parent_get(smart_parent) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SMART_PARENT_GET), EO_TYPECHECK(Evas_Object **, smart_parent)
15444/**
15445 * @def evas_obj_smart_data_get
15446 *
15447 * Retrieve user data stored on a given smart object.
15448 *
15449 * @param[out] data out
15450 *
15451 * @see evas_object_smart_data_get
15452 */
15453#define evas_obj_smart_data_get(data) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SMART_DATA_GET), EO_TYPECHECK(void **, data)
15454
15455/**
15456 * @def evas_obj_smart_type_check
15457 *
15458 * Checks whether a given smart object or any of its smart object
15459 * parents is of a given smart class.
15460 *
15461 * @param[in] type in
15462 * @param[out] type_check out
15463 *
15464 * @see evas_object_smart_type_check
15465 */
15466#define evas_obj_smart_type_check(type, type_check) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SMART_TYPE_CHECK), EO_TYPECHECK(const char *, type), EO_TYPECHECK(Eina_Bool *, type_check)
15467
15468/**
15469 * @def evas_obj_smart_type_check_ptr
15470 *
15471 * Checks whether a given smart object or any of its smart object
15472 * parents is of a given smart class, <b>using pointer comparison</b>.
15473 *
15474 * @param[in] type in
15475 * @param[out] type_check out
15476 *
15477 * @see evas_object_smart_type_check_ptr
15478 */
15479#define evas_obj_smart_type_check_ptr(type, type_check) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SMART_TYPE_CHECK_PTR), EO_TYPECHECK(const char *, type), EO_TYPECHECK(Eina_Bool *, type_check)
15480
15481/**
15482 * @def evas_obj_smart_move_children_relative
15483 *
15484 * Moves all children objects of a given smart object relative to a
15485 * given offset.
15486 *
15487 * @param[in] dx in
15488 * @param[in] dy in
15489 *
15490 * @see evas_object_smart_move_children_relative
15491 */
15492#define evas_obj_smart_move_children_relative(dx, dy) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SMART_MOVE_CHILDREN_RELATIVE), EO_TYPECHECK(Evas_Coord, dx), EO_TYPECHECK(Evas_Coord, dy)
15493
15494/**
15495 * @def evas_obj_smart_clipped_clipper_get
15496 *
15497 * Get the clipper object for the given clipped smart object.
15498 *
15499 * @param[out] ret out
15500 *
15501 * @see evas_object_smart_clipped_clipper_get
15502 */
15503#define evas_obj_smart_clipped_clipper_get(ret) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_SMART_CLIPPED_CLIPPER_GET), EO_TYPECHECK(Evas_Object **, ret)
15504
15505/**
15506 * @def evas_obj_raise
15507 *
15508 * Raise obj to the top of its layer.
15509 *
15510 * @see evas_object_raise
15511 */
15512#define evas_obj_raise() EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_RAISE)
15513
15514/**
15515 * @def evas_obj_lower
15516 *
15517 * Lower obj to the bottom of its layer.
15518 *
15519 * @see evas_object_lower
15520 */
15521#define evas_obj_lower() EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_LOWER)
15522
15523/**
15524 * @def evas_obj_stack_above
15525 *
15526 * Stack the object immediately above @p above
15527 *
15528 * @param[in] above in
15529 *
15530 * @see evas_object_stack_above
15531 */
15532#define evas_obj_stack_above(above) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_STACK_ABOVE), EO_TYPECHECK(Evas_Object *, above)
15533
15534/**
15535 * @def evas_obj_stack_below
15536 *
15537 * Stack the object immediately below @p below
15538 *
15539 * @param[in] below in
15540 *
15541 * @see evas_object_stack_below
15542 */
15543#define evas_obj_stack_below(below) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_STACK_BELOW), EO_TYPECHECK(Evas_Object *, below)
15544
15545/**
15546 * @def evas_obj_above_get
15547 *
15548 * Get the Evas object stacked right above the object
15549 *
15550 * @param[out] ret out
15551 *
15552 * @see evas_object_above_get
15553 */
15554#define evas_obj_above_get(ret) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_ABOVE_GET), EO_TYPECHECK(Evas_Object **, ret)
15555
15556/**
15557 * @def evas_obj_below_get
15558 *
15559 * Get the Evas object stacked right below the object
15560 *
15561 * @param[out] ret out
15562 *
15563 * @see evas_object_below_get
15564 */
15565#define evas_obj_below_get(ret) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_BELOW_GET), EO_TYPECHECK(Evas_Object **, ret)
15566
15567/**
15568 * @def evas_obj_type_check
15569 *
15570 * Checks whether a given object is of a given class.
15571 *
15572 * @param[in] type in
15573 * @param[out] type_check out
15574 *
15575 * This function has been implemented to support legacy smart inheritance
15576 * and needs to be removed when all the objects are Eo objects (inc. Edje and ELM)
15577 * @see evas_object_smart_type_check
15578 */
15579#define evas_obj_type_check(type, type_check) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_TYPE_CHECK), EO_TYPECHECK(const char *, type), EO_TYPECHECK(Eina_Bool *, type_check)
15580
15581#define EVAS_OBJ_CLASS evas_object_class_get()
15582
15583const Eo_Class *evas_object_class_get(void) EINA_CONST;
15584
15585#define EVAS_OBJ_IMAGE_CLASS evas_object_image_class_get()
15586const Eo_Class *evas_object_image_class_get(void) EINA_CONST;
15587
15588extern EAPI Eo_Op EVAS_OBJ_IMAGE_BASE_ID;
15589
15590enum
15591{
15592 EVAS_OBJ_IMAGE_SUB_ID_MEMFILE_SET,
15593 EVAS_OBJ_IMAGE_SUB_ID_FILE_SET,
15594 EVAS_OBJ_IMAGE_SUB_ID_FILE_GET,
15595 EVAS_OBJ_IMAGE_SUB_ID_SOURCE_SET,
15596 EVAS_OBJ_IMAGE_SUB_ID_SOURCE_GET,
15597 EVAS_OBJ_IMAGE_SUB_ID_BORDER_SET,
15598 EVAS_OBJ_IMAGE_SUB_ID_BORDER_GET,
15599 EVAS_OBJ_IMAGE_SUB_ID_BORDER_CENTER_FILL_SET,
15600 EVAS_OBJ_IMAGE_SUB_ID_BORDER_CENTER_FILL_GET,
15601 EVAS_OBJ_IMAGE_SUB_ID_FILLED_SET,
15602 EVAS_OBJ_IMAGE_SUB_ID_FILLED_GET,
15603 EVAS_OBJ_IMAGE_SUB_ID_BORDER_SCALE_SET,
15604 EVAS_OBJ_IMAGE_SUB_ID_BORDER_SCALE_GET,
15605 EVAS_OBJ_IMAGE_SUB_ID_FILL_SET,
15606 EVAS_OBJ_IMAGE_SUB_ID_FILL_GET,
15607 EVAS_OBJ_IMAGE_SUB_ID_FILL_SPREAD_SET,
15608 EVAS_OBJ_IMAGE_SUB_ID_FILL_SPREAD_GET,
15609 EVAS_OBJ_IMAGE_SUB_ID_SIZE_SET,
15610 EVAS_OBJ_IMAGE_SUB_ID_SIZE_GET,
15611 EVAS_OBJ_IMAGE_SUB_ID_STRIDE_GET,
15612 EVAS_OBJ_IMAGE_SUB_ID_LOAD_ERROR_GET,
15613 EVAS_OBJ_IMAGE_SUB_ID_DATA_CONVERT,
15614 EVAS_OBJ_IMAGE_SUB_ID_DATA_SET,
15615 EVAS_OBJ_IMAGE_SUB_ID_DATA_GET,
15616 EVAS_OBJ_IMAGE_SUB_ID_PRELOAD,
15617 EVAS_OBJ_IMAGE_SUB_ID_DATA_COPY_SET,
15618 EVAS_OBJ_IMAGE_SUB_ID_DATA_UPDATE_ADD,
15619 EVAS_OBJ_IMAGE_SUB_ID_ALPHA_SET,
15620 EVAS_OBJ_IMAGE_SUB_ID_ALPHA_GET,
15621 EVAS_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_SET,
15622 EVAS_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_GET,
15623 EVAS_OBJ_IMAGE_SUB_ID_RELOAD,
15624 EVAS_OBJ_IMAGE_SUB_ID_SAVE,
15625 EVAS_OBJ_IMAGE_SUB_ID_PIXELS_IMPORT,
15626 EVAS_OBJ_IMAGE_SUB_ID_PIXELS_GET_CALLBACK_SET,
15627 EVAS_OBJ_IMAGE_SUB_ID_PIXELS_DIRTY_SET,
15628 EVAS_OBJ_IMAGE_SUB_ID_PIXELS_DIRTY_GET,
15629 EVAS_OBJ_IMAGE_SUB_ID_LOAD_DPI_SET,
15630 EVAS_OBJ_IMAGE_SUB_ID_LOAD_DPI_GET,
15631 EVAS_OBJ_IMAGE_SUB_ID_LOAD_SIZE_SET,
15632 EVAS_OBJ_IMAGE_SUB_ID_LOAD_SIZE_GET,
15633 EVAS_OBJ_IMAGE_SUB_ID_LOAD_SCALE_DOWN_SET,
15634 EVAS_OBJ_IMAGE_SUB_ID_LOAD_SCALE_DOWN_GET,
15635 EVAS_OBJ_IMAGE_SUB_ID_LOAD_REGION_SET,
15636 EVAS_OBJ_IMAGE_SUB_ID_LOAD_REGION_GET,
15637 EVAS_OBJ_IMAGE_SUB_ID_LOAD_ORIENTATION_SET,
15638 EVAS_OBJ_IMAGE_SUB_ID_LOAD_ORIENTATION_GET,
15639 EVAS_OBJ_IMAGE_SUB_ID_COLORSPACE_SET,
15640 EVAS_OBJ_IMAGE_SUB_ID_COLORSPACE_GET,
15641 EVAS_OBJ_IMAGE_SUB_ID_VIDEO_SURFACE_SET,
15642 EVAS_OBJ_IMAGE_SUB_ID_VIDEO_SURFACE_GET,
15643 EVAS_OBJ_IMAGE_SUB_ID_NATIVE_SURFACE_SET,
15644 EVAS_OBJ_IMAGE_SUB_ID_NATIVE_SURFACE_GET,
15645 EVAS_OBJ_IMAGE_SUB_ID_SCALE_HINT_SET,
15646 EVAS_OBJ_IMAGE_SUB_ID_SCALE_HINT_GET,
15647 EVAS_OBJ_IMAGE_SUB_ID_CONTENT_HINT_SET,
15648 EVAS_OBJ_IMAGE_SUB_ID_CONTENT_HINT_GET,
15649 EVAS_OBJ_IMAGE_SUB_ID_REGION_SUPPORT_GET,
15650 EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_GET,
15651 EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_FRAME_COUNT_GET,
15652 EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_LOOP_TYPE_GET,
15653 EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_LOOP_COUNT_GET,
15654 EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_FRAME_DURATION_GET,
15655 EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_FRAME_SET,
15656 EVAS_OBJ_IMAGE_SUB_ID_LAST
15657};
15658
15659#define EVAS_OBJ_IMAGE_ID(sub_id) (EVAS_OBJ_IMAGE_BASE_ID + sub_id)
15660
15661/**
15662 * @def evas_obj_image_memfile_set
15663 *
15664 * Sets the data for an image from memory to be loaded
15665 *
15666 * @param[in] data in
15667 * @param[in] size in
15668 * @param[in] format in
15669 * @param[in] key in
15670 *
15671 * @see evas_object_image_memfile_set
15672 */
15673#define evas_obj_image_memfile_set(data, size, format, key) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_MEMFILE_SET), EO_TYPECHECK(void *, data), EO_TYPECHECK(int, size), EO_TYPECHECK(char *, format), EO_TYPECHECK(char *, key)
15674
15675/**
15676 * @def evas_obj_image_file_set
15677 *
15678 * Set the source file from where an image object must fetch the real
15679 * image data (it may be an Eet file, besides pure image ones).
15680 *
15681 * @param[in] file in
15682 * @param[in] key in
15683 *
15684 * @see evas_object_image_file_set
15685 */
15686#define evas_obj_image_file_set(file, key) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_FILE_SET), EO_TYPECHECK(const char *, file), EO_TYPECHECK(const char*, key)
15687
15688/**
15689 * @def evas_obj_image_file_get
15690 *
15691 * This is the same as evas_object_image_file_set() but the file to be loaded
15692 * may exist at an address in memory (the data for the file, not the filename
15693 * itself). The @p data at the address is copied and stored for future use, so
15694 * no @p data needs to be kept after this call is made. It will be managed and
15695 * freed for you when no longer needed. The @p size is limited to 2 gigabytes
15696 * in size, and must be greater than 0. A @c NULL @p data pointer is also
15697 * invalid. Set the filename to @c NULL to reset to empty state and have the
15698 * image file data freed from memory using evas_object_image_file_set().
15699 *
15700 * @param[in] file out
15701 * @param[in] key out
15702 *
15703 * @see evas_object_image_file_get
15704 */
15705#define evas_obj_image_file_get(file, key) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_FILE_GET), EO_TYPECHECK(const char **, file), EO_TYPECHECK(const char **, key)
15706
15707/**
15708 * @def evas_obj_image_source_set
15709 *
15710 * Set the source object on an image object to used as a @b proxy.
15711 *
15712 * @param[in] src in
15713 * @param[out] result out
15714 *
15715 * @see evas_object_image_source_set
15716 */
15717#define evas_obj_image_source_set(src, result) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SOURCE_SET), EO_TYPECHECK(Evas_Object *, src), EO_TYPECHECK(Eina_Bool *, result)
15718
15719/**
15720 * @def evas_obj_image_source_get
15721 *
15722 * Get the current source object of an image object.
15723 *
15724 * @param[out] src out
15725 *
15726 * @see evas_object_image_source_get
15727 */
15728#define evas_obj_image_source_get(src) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SOURCE_GET), EO_TYPECHECK(Evas_Object **, src)
15729
15730/**
15731 * @def evas_obj_image_border_set
15732 *
15733 * Set the dimensions for an image object's border, a region which @b
15734 * won't ever be scaled together with its center.
15735 *
15736 * @param[in] l in
15737 * @param[in] r in
15738 * @param[in] t in
15739 * @param[in] b in
15740 *
15741 * @see evas_object_image_border_set
15742 */
15743#define evas_obj_image_border_set(l, r, t, b) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_BORDER_SET), EO_TYPECHECK(int, l), EO_TYPECHECK(int, r), EO_TYPECHECK(int, t), EO_TYPECHECK(int, b)
15744
15745/**
15746 * @def evas_obj_image_border_get
15747 *
15748 * Retrieve the dimensions for an image object's border, a region
15749 * which @b won't ever be scaled together with its center.
15750 *
15751 * @param[out] l in
15752 * @param[out] r in
15753 * @param[out] t in
15754 * @param[out] b in
15755 *
15756 * @see evas_object_image_border_get
15757 */
15758#define evas_obj_image_border_get(l, r, t, b) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_BORDER_GET), EO_TYPECHECK(int *, l), EO_TYPECHECK(int *, r), EO_TYPECHECK(int *, t), EO_TYPECHECK(int *, b)
15759
15760/**
15761 * @def evas_obj_image_border_center_fill_set
15762 *
15763 * Sets @b how the center part of the given image object (not the
15764 * borders) should be drawn when Evas is rendering it.
15765 *
15766 * @param[in] fill in
15767 *
15768 * @see evas_object_image_border_center_fill_set
15769 */
15770#define evas_obj_image_border_center_fill_set(fill) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_BORDER_CENTER_FILL_SET), EO_TYPECHECK(Evas_Border_Fill_Mode, fill)
15771
15772/**
15773 * @def evas_obj_image_border_center_fill_get
15774 *
15775 * Retrieves @b how the center part of the given image object (not the
15776 * borders) is to be drawn when Evas is rendering it.
15777 *
15778 * @param[out] fill out
15779 *
15780 * @see evas_object_image_border_center_fill_get
15781 */
15782#define evas_obj_image_border_center_fill_get(fill) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_BORDER_CENTER_FILL_GET), EO_TYPECHECK(Evas_Border_Fill_Mode *, fill)
15783
15784/**
15785 * @def evas_obj_image_filled_set
15786 *
15787 * Set whether the image object's fill property should track the
15788 * object's size.
15789 *
15790 * @param[in] filled in
15791 *
15792 * @see evas_object_image_filled_set
15793 */
15794#define evas_obj_image_filled_set(filled) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_FILLED_SET), EO_TYPECHECK(Eina_Bool, filled)
15795
15796/**
15797 * @def evas_obj_image_filled_get
15798 *
15799 * Retrieve whether the image object's fill property should track the
15800 * object's size.
15801 *
15802 * @param[out] filled out
15803 *
15804 * @see evas_object_image_filled_get
15805 */
15806#define evas_obj_image_filled_get(filled) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_FILLED_GET), EO_TYPECHECK(Eina_Bool *, filled)
15807
15808/**
15809 * @def evas_obj_image_border_scale_set
15810 *
15811 * Sets the scaling factor (multiplier) for the borders of an image
15812 * object.
15813 *
15814 * @param[in] scale in
15815 *
15816 * @see evas_object_image_border_scale_set
15817 */
15818#define evas_obj_image_border_scale_set(scale) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_BORDER_SCALE_SET), EO_TYPECHECK(double, scale)
15819
15820/**
15821 * @def evas_obj_image_border_scale_get
15822 *
15823 * Retrieves the scaling factor (multiplier) for the borders of an
15824 * image object.
15825 *
15826 * @param[out] scale out
15827 *
15828 * @see evas_object_image_border_scale_get
15829 */
15830#define evas_obj_image_border_scale_get(scale) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_BORDER_SCALE_GET), EO_TYPECHECK(double *, scale)
15831
15832/**
15833 * @def evas_obj_image_fill_set
15834 *
15835 * Set how to fill an image object's drawing rectangle given the
15836 * (real) image bound to it.
15837 *
15838 * @param[in] x in
15839 * @param[in] y in
15840 * @param[in] w in
15841 * @param[in] h in
15842 *
15843 * @see evas_object_image_fill_set
15844 */
15845#define evas_obj_image_fill_set(x, y, w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_FILL_SET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
15846
15847/**
15848 * @def evas_obj_image_fill_get
15849 *
15850 * Retrieve how an image object is to fill its drawing rectangle,
15851 * given the (real) image bound to it.
15852 *
15853 * @param[out] x out
15854 * @param[out] y out
15855 * @param[out] w out
15856 * @param[out] h out
15857 *
15858 * @see evas_object_image_fill_get
15859 */
15860#define evas_obj_image_fill_get(x, y, w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_FILL_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
15861
15862/**
15863 * @def evas_obj_image_fill_spread_set
15864 *
15865 * Sets the tiling mode for the given evas image object's fill.
15866 *
15867 * @param[in] spread in
15868 *
15869 * @see evas_object_image_fill_spread_set
15870 */
15871#define evas_obj_image_fill_spread_set(spread) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_FILL_SPREAD_SET), EO_TYPECHECK(Evas_Fill_Spread, spread)
15872
15873/**
15874 * @def evas_obj_image_fill_spread_get
15875 *
15876 * Retrieves the spread (tiling mode) for the given image object's
15877 * fill.
15878 *
15879 * @param[out] spread out
15880 *
15881 * @see evas_object_image_fill_spread_get
15882 */
15883#define evas_obj_image_fill_spread_get(spread) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_FILL_SPREAD_GET), EO_TYPECHECK(Evas_Fill_Spread *, spread)
15884
15885/**
15886 * @def evas_obj_image_size_set
15887 *
15888 * Sets the size of the given image object.
15889 *
15890 * @param[in] w in
15891 * @param[in] h in
15892 *
15893 * @see evas_object_image_size_set
15894 */
15895#define evas_obj_image_size_set(w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SIZE_SET), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
15896
15897/**
15898 * @def evas_obj_image_size_get
15899 *
15900 * Retrieves the size of the given image object.
15901 *
15902 * @param[out] w out
15903 * @param[out] h out
15904 *
15905 * @see evas_object_image_size_get
15906 */
15907#define evas_obj_image_size_get(w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SIZE_GET), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h)
15908
15909/**
15910 * @def evas_obj_image_stride_get
15911 *
15912 * Retrieves the row stride of the given image object.
15913 *
15914 * @param[out] stride out
15915 *
15916 * @see evas_object_image_stride_get
15917 */
15918#define evas_obj_image_stride_get(stride) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_STRIDE_GET), EO_TYPECHECK(int *, stride)
15919
15920/**
15921 * @de evas_obj_image_load_error_get
15922 *
15923 * Retrieves a number representing any error that occurred during the
15924 * last loading of the given image object's source image.
15925 *
15926 * @param[out] load_error out
15927 *
15928 * @see evas_object_image_load_error_get
15929 */
15930#define evas_obj_image_load_error_get(load_error) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_ERROR_GET), EO_TYPECHECK(Evas_Load_Error *, load_error)
15931
15932/**
15933 * @def evas_obj_image_data_convert
15934 *
15935 * Converts the raw image data of the given image object to the
15936 * specified colorspace.
15937 *
15938 * @param[in] cspace in
15939 * @param[out] data out
15940 *
15941 * @see evas_object_image_data_convert
15942 */
15943#define evas_obj_image_data_convert(to_cspace, data) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_DATA_CONVERT), EO_TYPECHECK(Evas_Colorspace, to_cspace), EO_TYPECHECK(void **, data)
15944
15945/**
15946 * @def evas_obj_image_data_set
15947 *
15948 * Sets the raw image data of the given image object.
15949 *
15950 * @param[in] data in
15951 *
15952 * @see evas_object_image_data_set
15953 */
15954#define evas_obj_image_data_set(data) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_DATA_SET), EO_TYPECHECK(void *, data)
15955
15956/**
15957 * @def evas_obj_image_data_get
15958 *
15959 * Get a pointer to the raw image data of the given image object.
15960 *
15961 * @param[in] for_writing in
15962 * @param[out] data out
15963 *
15964 * @see evas_object_image_data_get
15965 */
15966#define evas_obj_image_data_get(for_writing, data) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_DATA_GET), EO_TYPECHECK(Eina_Bool, for_writing), EO_TYPECHECK(void **, data)
15967
15968/**
15969 * @def evas_obj_image_data_copy_set
15970 *
15971 * Replaces the raw image data of the given image object.
15972 *
15973 * @param[in] data in
15974 *
15975 * @see evas_object_image_data_copy_set
15976 */
15977#define evas_obj_image_data_copy_set(data) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_DATA_COPY_SET), EO_TYPECHECK(void *, data)
15978
15979/**
15980 * @def evas_obj_image_data_update_add
15981 *
15982 * Mark a sub-region of the given image object to be redrawn.
15983 *
15984 * @param[in] x in
15985 * @param[in] y in
15986 * @param[in] r in
15987 * @param[in] h in
15988 *
15989 * @see evas_object_image_data_update_add
15990 */
15991#define evas_obj_image_data_update_add(x, y, w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_DATA_UPDATE_ADD), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
15992
15993/**
15994 * @def evas_obj_image_alpha_set
15995 *
15996 * Enable or disable alpha channel usage on the given image object.
15997 *
15998 * @param[in] alpha in
15999 *
16000 * @see evas_object_image_alpha_set
16001 */
16002#define evas_obj_image_alpha_set(alpha) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_ALPHA_SET), EO_TYPECHECK(Eina_Bool, alpha)
16003
16004/**
16005 * @def evas_obj_image_alpha_get
16006 *
16007 * Retrieve whether alpha channel data is being used on the given
16008 * image object.
16009 *
16010 * @param[out] alpha out
16011 *
16012 * @see evas_object_image_alpha_get
16013 */
16014#define evas_obj_image_alpha_get(alpha) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_ALPHA_GET), EO_TYPECHECK(Eina_Bool *, alpha)
16015
16016/**
16017 * @def evas_obj_image_smooth_scale_set
16018 *
16019 * Sets whether to use high-quality image scaling algorithm on the
16020 * given image object.
16021 *
16022 * @param[in] smooth_scale in
16023 *
16024 * @see evas_object_image_smooth_scale_set
16025 */
16026#define evas_obj_image_smooth_scale_set(smooth_scale) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_SET), EO_TYPECHECK(Eina_Bool, smooth_scale)
16027
16028/**
16029 * @def evas_obj_image_smooth_scale_get
16030 *
16031 * Retrieves whether the given image object is using high-quality
16032 * image scaling algorithm.
16033 *
16034 * @param[out] smooth_scale out
16035 *
16036 * @see evas_object_image_smooth_scale_get
16037 */
16038#define evas_obj_image_smooth_scale_get(smooth_scale) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_GET), EO_TYPECHECK(Eina_Bool *, smooth_scale)
16039
16040/**
16041 * @def evas_obj_image_preload
16042 *
16043 * Preload an image object's image data in the background
16044 *
16045 * @param[in] cancel in
16046 *
16047 * @see evas_object_image_preload
16048 */
16049#define evas_obj_image_preload(cancel) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_PRELOAD), EO_TYPECHECK(Eina_Bool, cancel)
16050
16051/**
16052 * @def evas_obj_image_reload
16053 *
16054 * Reload an image object's image data.
16055 *
16056 * @see evas_object_image_reload
16057 */
16058#define evas_obj_image_reload() EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_RELOAD)
16059
16060/**
16061 * @def evas_obj_image_save
16062 *
16063 * Save the given image object's contents to an (image) file.
16064 *
16065 * @param[in] file in
16066 * @param[in] key in
16067 * @param[in] flags in
16068 * @param[out] result out
16069 *
16070 * @see evas_object_image_save
16071 */
16072#define evas_obj_image_save(file, key, flags, result) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SAVE), EO_TYPECHECK(const char *, file), EO_TYPECHECK(const char *, key), EO_TYPECHECK(const char *, flags), EO_TYPECHECK(Eina_Bool *, result)
16073
16074/**
16075 * @def evas_obj_image_pixels_import
16076 *
16077 * Import pixels from given source to a given canvas image object.
16078 *
16079 * @param[in] pixels in
16080 * @param[out] result out
16081 *
16082 * @see evas_object_image_pixels_import
16083 */
16084#define evas_obj_image_pixels_import(pixels, result) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_PIXELS_IMPORT), EO_TYPECHECK(Evas_Pixel_Import_Source *, pixels), EO_TYPECHECK(Eina_Bool *, result)
16085
16086/**
16087 * @def evas_obj_image_pixels_get_callback_set
16088 *
16089 * Set the callback function to get pixels from a canvas' image.
16090 *
16091 * @param[in] func in
16092 * @param[in] data in
16093 *
16094 * @see evas_object_image_pixels_get_callback_set
16095 */
16096#define evas_obj_image_pixels_get_callback_set(func, data) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_PIXELS_GET_CALLBACK_SET), EO_TYPECHECK(Evas_Object_Image_Pixels_Get_Cb, func), EO_TYPECHECK(void *, data)
16097
16098/**
16099 * @def evas_obj_image_pixels_dirty_set
16100 *
16101 * Mark whether the given image object is dirty (needs to be redrawn).
16102 *
16103 * @param[in] dirty in
16104 *
16105 * @see evas_object_image_pixels_get_callback_set
16106 */
16107#define evas_obj_image_pixels_dirty_set(dirty) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_PIXELS_DIRTY_SET), EO_TYPECHECK(Eina_Bool, dirty)
16108
16109/**
16110 * @def evas_obj_image_pixels_dirty_get
16111 *
16112 * Retrieves whether the given image object is dirty (needs to be redrawn).
16113 *
16114 * @param[out] dirty out
16115 *
16116 * @see evas_object_image_pixels_dirty_get
16117 */
16118#define evas_obj_image_pixels_dirty_get(dirty) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_PIXELS_DIRTY_GET), EO_TYPECHECK(Eina_Bool *, dirty)
16119
16120/**
16121 * @def evas_obj_image_load_dpi_set
16122 *
16123 * Set the DPI resolution of an image object's source image.
16124 *
16125 * @param[in] dpi in
16126 *
16127 * @see evas_object_image_load_dpi_set
16128 */
16129#define evas_obj_image_load_dpi_set(dpi) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_DPI_SET), EO_TYPECHECK(double, dpi)
16130
16131/**
16132 * @def evas_obj_image_load_dpi_get
16133 *
16134 * Get the DPI resolution of a loaded image object in the canvas.
16135 *
16136 * @param[out] dpi out
16137 *
16138 * @see evas_object_image_load_dpi_get
16139 */
16140#define evas_obj_image_load_dpi_get(dpi) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_DPI_GET), EO_TYPECHECK(double *, dpi)
16141
16142/**
16143 * @def evas_obj_image_load_size_set
16144 *
16145 * Set the size of a given image object's source image, when loading
16146 * it.
16147 *
16148 * @param[in] w in
16149 * @param[in] h in
16150 *
16151 * @see evas_object_image_load_size_set
16152 */
16153#define evas_obj_image_load_size_set(w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_SIZE_SET), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
16154
16155/**
16156 * @def evas_obj_image_load_size_get
16157 *
16158 * Get the size of a given image object's source image, when loading
16159 * it.
16160 *
16161 * @param[out] w out
16162 * @param[out] h out
16163 *
16164 * @see evas_object_image_load_size_get
16165 */
16166#define evas_obj_image_load_size_get(w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_SIZE_GET), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h)
16167
16168/**
16169 * @def evas_obj_image_load_scale_down_set
16170 *
16171 * Set the scale down factor of a given image object's source image,
16172 * when loading it.
16173 *
16174 * @param[in] scale_down in
16175 *
16176 * @see evas_object_image_load_scale_down_set
16177 */
16178#define evas_obj_image_load_scale_down_set(scale_down) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_SCALE_DOWN_SET), EO_TYPECHECK(int, scale_down)
16179
16180/**
16181 * @def evas_obj_image_load_scale_down_get
16182 *
16183 * Get the scale down factor of a given image object's source image,
16184 * when loading it.
16185 *
16186 * @param[out] scale_down out
16187 *
16188 * @see evas_object_image_load_scale_down_get
16189 */
16190#define evas_obj_image_load_scale_down_get(scale_down) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_SCALE_DOWN_GET), EO_TYPECHECK(int *, scale_down)
16191
16192/**
16193 * @def evas_obj_image_load_region_set
16194 *
16195 * Inform a given image object to load a selective region of its
16196 * source image.
16197 *
16198 * @param[in] x in
16199 * @param[in] y in
16200 * @param[in] w in
16201 * @param[in] h in
16202 *
16203 * @see evas_object_image_load_region_set
16204 */
16205#define evas_obj_image_load_region_set(x, y, w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_REGION_SET), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(int, w), EO_TYPECHECK(int, h)
16206
16207/**
16208 * Retrieve the coordinates of a given image object's selective
16209 * (source image) load region.
16210 *
16211 * @param[out] x out
16212 * @param[out] y out
16213 * @param[out] w out
16214 * @param[out] h out
16215 *
16216 * @see evas_object_image_load_region_get
16217 */
16218#define evas_obj_image_load_region_get(x, y, w, h) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_REGION_GET), EO_TYPECHECK(int *, x), EO_TYPECHECK(int *, y), EO_TYPECHECK(int *, w), EO_TYPECHECK(int *, h)
16219
16220/**
16221 * @def evas_obj_image_load_orientation_set
16222 *
16223 * Define if the orientation information in the image file should be honored.
16224 *
16225 * @param[in] enable in
16226 *
16227 * @see evas_object_image_load_orientation_set
16228 */
16229#define evas_obj_image_load_orientation_set(enable) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_ORIENTATION_SET), EO_TYPECHECK(Eina_Bool, enable)
16230
16231/**
16232 * @def evas_obj_image_load_orientation_get
16233 *
16234 * Get if the orientation information in the image file should be honored.
16235 *
16236 * @param[out] enable out
16237 *
16238 * @see evas_object_image_load_orientation_get
16239 */
16240#define evas_obj_image_load_orientation_get(enable) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_LOAD_ORIENTATION_GET), EO_TYPECHECK(Eina_Bool *, enable)
16241
16242/**
16243 * @def evas_obj_image_colorspace_set
16244 *
16245 * Set the colorspace of a given image of the canvas.
16246 *
16247 * @param[in] cspace in
16248 *
16249 * @see evas_object_image_colorspace_set
16250 */
16251#define evas_obj_image_colorspace_set(cspace) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_COLORSPACE_SET), EO_TYPECHECK(Evas_Colorspace, cspace)
16252
16253/**
16254 * @def evas_obj_image_colorspace_get
16255 *
16256 * Get the colorspace of a given image of the canvas.
16257 *
16258 * @param[out] cspace out
16259 *
16260 * @see evas_object_image_colorspace_get
16261 */
16262#define evas_obj_image_colorspace_get(cspace) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_COLORSPACE_GET), EO_TYPECHECK(Evas_Colorspace *, cspace)
16263
16264/**
16265 * @def evas_obj_image_video_surface_set
16266 *
16267 * Set the video surface linked to a given image of the canvas
16268 *
16269 * @param[in] surf in
16270 *
16271 * @see evas_object_image_video_surface_set
16272 */
16273#define evas_obj_image_video_surface_set(surf) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_VIDEO_SURFACE_SET), EO_TYPECHECK(Evas_Video_Surface *, surf)
16274
16275/**
16276 * @def evas_obj_image_video_surface_get
16277 *
16278 * Get the video surface linked to a given image of the canvas
16279 *
16280 * @param[out] surf out
16281 *
16282 * @see evas_object_image_video_surface_get
16283 */
16284#define evas_obj_image_video_surface_get(surf) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_VIDEO_SURFACE_GET), EO_TYPECHECK(const Evas_Video_Surface **, surf)
16285
16286/**
16287 * @def evas_obj_image_native_surface_set
16288 *
16289 * Set the native surface of a given image of the canvas
16290 *
16291 * @param[in] surf in
16292 *
16293 * @see evas_object_image_native_surface_set
16294 */
16295#define evas_obj_image_native_surface_set(surf) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_NATIVE_SURFACE_SET), EO_TYPECHECK(Evas_Native_Surface *, surf)
16296
16297/**
16298 * @def evas_obj_image_native_surface_get
16299 *
16300 * Get the native surface of a given image of the canvas
16301 *
16302 * @param[out] surf out
16303 *
16304 * @see evas_object_image_native_surface_get
16305 */
16306#define evas_obj_image_native_surface_get(surf) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_NATIVE_SURFACE_GET), EO_TYPECHECK(Evas_Native_Surface **, surf)
16307
16308/**
16309 * @def evas_obj_image_scale_hint_set
16310 *
16311 * Set the scale hint of a given image of the canvas.
16312 *
16313 * @param[in] hint in
16314 *
16315 * @see evas_object_image_scale_hint_set
16316 */
16317#define evas_obj_image_scale_hint_set(hint) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SCALE_HINT_SET), EO_TYPECHECK(Evas_Image_Scale_Hint, hint)
16318
16319/**
16320 * @def evas_obj_image_scale_hint_get
16321 *
16322 * Get the scale hint of a given image of the canvas.
16323 *
16324 * @param[out] hint out
16325 *
16326 * @see evas_object_image_scale_hint_get
16327 */
16328#define evas_obj_image_scale_hint_get(hint) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SCALE_HINT_GET), EO_TYPECHECK(Evas_Image_Scale_Hint *, hint)
16329
16330/**
16331 * @def evas_obj_image_content_hint_set
16332 *
16333 * Set the content hint setting of a given image object of the canvas.
16334 *
16335 * @param[in] hint in
16336 *
16337 * @see evas_object_image_content_hint_set
16338 */
16339#define evas_obj_image_content_hint_set(hint) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_CONTENT_HINT_SET), EO_TYPECHECK(Evas_Image_Content_Hint, hint)
16340
16341/**
16342 * @def evas_obj_image_content_hint_get
16343 *
16344 * Get the content hint setting of a given image object of the canvas.
16345 *
16346 * @param[out] hint out
16347 *
16348 * @see evas_object_image_content_hint_get
16349 */
16350#define evas_obj_image_content_hint_get(hint) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_CONTENT_HINT_GET), EO_TYPECHECK(Evas_Image_Content_Hint *, hint)
16351
16352/**
16353 * @def evas_obj_image_region_support_get
16354 *
16355 * Get the support state of a given image
16356 *
16357 * @param[out] region out
16358 *
16359 * @see evas_object_image_region_support_get
16360 */
16361#define evas_obj_image_region_support_get(region) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_REGION_SUPPORT_GET), EO_TYPECHECK(Eina_Bool *, region)
16362
16363/**
16364 * @def evas_obj_image_animated_get
16365 *
16366 * Check if an image object can be animated (have multiple frames)
16367 *
16368 * @param[out] animated out
16369 *
16370 * @see evas_object_image_animated_get
16371 */
16372#define evas_obj_image_animated_get(animated) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_GET), EO_TYPECHECK(Eina_Bool *, animated)
16373
16374/**
16375 * @def evas_obj_image_animated_frame_count_get
16376 *
16377 * Get the total number of frames of the image object.
16378 *
16379 * @param[out] frame_count out
16380 *
16381 * @see evas_object_image_animated_frame_count_get
16382 */
16383#define evas_obj_image_animated_frame_count_get(frame_count) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_FRAME_COUNT_GET), EO_TYPECHECK(int *, frame_count)
16384
16385/**
16386 * @def evas_obj_image_animated_loop_type_get
16387 *
16388 * Get the kind of looping the image object does.
16389 *
16390 * @param[out] hint out
16391 *
16392 * @see evas_object_image_animated_loop_type_get
16393 */
16394#define evas_obj_image_animated_loop_type_get(hint) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_LOOP_TYPE_GET), EO_TYPECHECK(Evas_Image_Animated_Loop_Hint *, hint)
16395
16396/**
16397 * @def evas_obj_image_animated_loop_count_get
16398 *
16399 * Get the number times the animation of the object loops.
16400 *
16401 * @param[out] loop_count out
16402 *
16403 * @see evas_object_image_animated_loop_count_get
16404 */
16405#define evas_obj_image_animated_loop_count_get(loop_count) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_LOOP_COUNT_GET), EO_TYPECHECK(int *, loop_count)
16406
16407/**
16408 * @def evas_obj_image_animated_frame_duration_get
16409 *
16410 * Get the duration of a sequence of frames.
16411 *
16412 * @param[in] start_frame in
16413 * @param[in] frame_num in
16414 * @param[out] frame_duration out
16415 *
16416 * @see evas_object_image_animated_frame_duration_get
16417 */
16418#define evas_obj_image_animated_frame_duration_get(start_frame, frame_num, frame_duration) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_FRAME_DURATION_GET), EO_TYPECHECK(int, start_frame), EO_TYPECHECK(int, frame_num), EO_TYPECHECK(double *, frame_duration)
16419
16420/**
16421 * @def evas_obj_image_animated_frame_set
16422 *
16423 * Set the frame to current frame of an image object
16424 *
16425 * @param[in] frame_index in
16426 *
16427 * @see evas_object_image_animated_frame_set
16428 */
16429#define evas_obj_image_animated_frame_set(frame_index) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_ANIMATED_FRAME_SET), EO_TYPECHECK(int, frame_index)
16430
13218#ifdef __cplusplus 16431#ifdef __cplusplus
13219} 16432}
13220#endif 16433#endif
diff --git a/legacy/evas/src/lib/Makefile.am b/legacy/evas/src/lib/Makefile.am
index c6ceafb53c..fe44f3dcb0 100644
--- a/legacy/evas/src/lib/Makefile.am
+++ b/legacy/evas/src/lib/Makefile.am
@@ -171,6 +171,7 @@ AM_CPPFLAGS = \
171@EET_CFLAGS@ \ 171@EET_CFLAGS@ \
172@FONTCONFIG_CFLAGS@ \ 172@FONTCONFIG_CFLAGS@ \
173@pthread_cflags@ \ 173@pthread_cflags@ \
174@EO_CFLAGS@ \
174@PIXMAN_CFLAGS@ 175@PIXMAN_CFLAGS@
175 176
176lib_LTLIBRARIES = libevas.la 177lib_LTLIBRARIES = libevas.la
@@ -209,6 +210,7 @@ engines/common/libevas_engine_common.la \
209$(EVAS_STATIC_MODULE) \ 210$(EVAS_STATIC_MODULE) \
210$(EVAS_STATIC_LIBADD) \ 211$(EVAS_STATIC_LIBADD) \
211@PIXMAN_LIBS@ \ 212@PIXMAN_LIBS@ \
213@EO_LIBS@ \
212-lm 214-lm
213 215
214libevas_la_DEPENDENCIES = \ 216libevas_la_DEPENDENCIES = \
diff --git a/legacy/evas/src/lib/canvas/Makefile.am b/legacy/evas/src/lib/canvas/Makefile.am
index 2ed5c50ae4..b5c27408b8 100644
--- a/legacy/evas/src/lib/canvas/Makefile.am
+++ b/legacy/evas/src/lib/canvas/Makefile.am
@@ -20,8 +20,10 @@ AM_CPPFLAGS = \
20 20
21noinst_LTLIBRARIES = libevas_canvas.la 21noinst_LTLIBRARIES = libevas_canvas.la
22libevas_canvas_la_SOURCES = \ 22libevas_canvas_la_SOURCES = \
23common_interfaces.c \
23evas_callbacks.c \ 24evas_callbacks.c \
24evas_clip.c \ 25evas_clip.c \
26evas_common_interface.c \
25evas_data.c \ 27evas_data.c \
26evas_device.c \ 28evas_device.c \
27evas_events.c \ 29evas_events.c \
diff --git a/legacy/evas/src/lib/canvas/common_interfaces.c b/legacy/evas/src/lib/canvas/common_interfaces.c
new file mode 100644
index 0000000000..0246138f34
--- /dev/null
+++ b/legacy/evas/src/lib/canvas/common_interfaces.c
@@ -0,0 +1,271 @@
1#include "evas_common.h"
2#include "evas_private.h"
3
4#include "Eo.h"
5
6Eina_Hash* signals_hash_table = NULL;
7
8EAPI const Eo_Event_Description _CLICKED_EVENT =
9 EO_EVENT_DESCRIPTION("clicked", "");
10
11EAPI const Eo_Event_Description _CLICKED_DOUBLE_EVENT =
12 EO_EVENT_DESCRIPTION("clicked,double", "");
13
14EAPI const Eo_Event_Description _CLICKED_TRIPLE_EVENT =
15 EO_EVENT_DESCRIPTION("clicked,triple", "");
16
17EAPI const Eo_Event_Description _PRESSED_EVENT =
18 EO_EVENT_DESCRIPTION("pressed", "");
19
20EAPI const Eo_Event_Description _UNPRESSED_EVENT =
21 EO_EVENT_DESCRIPTION("unpressed", "");
22
23EAPI const Eo_Event_Description _LONGPRESSED_EVENT =
24 EO_EVENT_DESCRIPTION("longpressed", "");
25
26EAPI const Eo_Event_Description _REPEATED_EVENT =
27 EO_EVENT_DESCRIPTION("repeated", "");
28
29EAPI const Eo_Event_Description _SCROLL_EVENT =
30 EO_EVENT_DESCRIPTION("scroll", "");
31
32EAPI const Eo_Event_Description _SCROLL_ANIM_START_EVENT =
33 EO_EVENT_DESCRIPTION("scroll,anim,start", "");
34
35EAPI const Eo_Event_Description _SCROLL_ANIM_STOP_EVENT =
36 EO_EVENT_DESCRIPTION("scroll,anim,stop", "");
37
38EAPI const Eo_Event_Description _SCROLL_DRAG_START_EVENT =
39 EO_EVENT_DESCRIPTION("scroll,drag,start", "");
40
41EAPI const Eo_Event_Description _SCROLL_DRAG_STOP_EVENT =
42 EO_EVENT_DESCRIPTION("scroll,drag,stop", "");
43
44EAPI const Eo_Event_Description _ZOOM_START_EVENT =
45 EO_EVENT_DESCRIPTION("zoom,start", "");
46
47EAPI const Eo_Event_Description _ZOOM_STOP_EVENT =
48 EO_EVENT_DESCRIPTION("zoom,stop", "");
49
50EAPI const Eo_Event_Description _ZOOM_CHANGE_EVENT =
51 EO_EVENT_DESCRIPTION("zoom,changed", "");
52
53EAPI const Eo_Event_Description _SELECTED_EVENT =
54 EO_EVENT_DESCRIPTION("selected", "");
55
56EAPI const Eo_Event_Description _UNSELECTED_EVENT =
57 EO_EVENT_DESCRIPTION("unselected", "");
58
59EAPI const Eo_Event_Description _SELECTION_PASTE_EVENT =
60 EO_EVENT_DESCRIPTION("selection,paste", "");
61
62EAPI const Eo_Event_Description _SELECTION_COPY_EVENT =
63 EO_EVENT_DESCRIPTION("selection,copy", "");
64
65EAPI const Eo_Event_Description _SELECTION_CUT_EVENT =
66 EO_EVENT_DESCRIPTION("selection,cut", "");
67
68EAPI const Eo_Event_Description _SELECTION_START_EVENT =
69 EO_EVENT_DESCRIPTION("selection,start", "");
70
71EAPI const Eo_Event_Description _SELECTION_CHANGED_EVENT =
72 EO_EVENT_DESCRIPTION("selection,changed", "");
73
74EAPI const Eo_Event_Description _SELECTION_CLEARED_EVENT =
75 EO_EVENT_DESCRIPTION("selection,cleared", "");
76
77EAPI const Eo_Event_Description _DRAG_EVENT =
78 EO_EVENT_DESCRIPTION("drag", "");
79
80EAPI const Eo_Event_Description _DRAG_START_EVENT =
81 EO_EVENT_DESCRIPTION("drag,start", "");
82
83EAPI const Eo_Event_Description _DRAG_STOP_EVENT =
84 EO_EVENT_DESCRIPTION("drag,stop", "");
85
86EAPI const Eo_Event_Description _DRAG_END_EVENT =
87 EO_EVENT_DESCRIPTION("drag,end", "");
88
89EAPI const Eo_Event_Description _DRAG_START_UP_EVENT =
90 EO_EVENT_DESCRIPTION("drag,start,up", "");
91
92EAPI const Eo_Event_Description _DRAG_START_DOWN_EVENT =
93 EO_EVENT_DESCRIPTION("drag,start,down", "");
94
95EAPI const Eo_Event_Description _DRAG_START_RIGHT_EVENT =
96 EO_EVENT_DESCRIPTION("drag,start,right", "");
97
98EAPI const Eo_Event_Description _DRAG_START_LEFT_EVENT =
99 EO_EVENT_DESCRIPTION("drag,start,left", "");
100
101static const Eo_Event_Description *_clickable_events_desc[] = {
102 EVAS_SMART_CLICKED_EVENT,
103 EVAS_SMART_CLICKED_DOUBLE_EVENT,
104 EVAS_SMART_CLICKED_TRIPLE_EVENT,
105 EVAS_SMART_PRESSED_EVENT,
106 EVAS_SMART_UNPRESSED_EVENT,
107 EVAS_SMART_LONGPRESSED_EVENT,
108 EVAS_SMART_REPEATED_EVENT,
109 NULL
110};
111
112static const Eo_Event_Description *_scrollable_events_desc[] = {
113 EVAS_SMART_SCROLL_EVENT,
114 EVAS_SMART_SCROLL_ANIM_START_EVENT,
115 EVAS_SMART_SCROLL_ANIM_STOP_EVENT,
116 EVAS_SMART_SCROLL_DRAG_START_EVENT,
117 EVAS_SMART_SCROLL_DRAG_STOP_EVENT,
118 NULL
119};
120
121static const Eo_Event_Description *_zoomable_events_desc[] = {
122 EVAS_SMART_ZOOM_START_EVENT,
123 EVAS_SMART_ZOOM_STOP_EVENT,
124 EVAS_SMART_ZOOM_CHANGE_EVENT,