forked from enlightenment/efl
evas: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in evas and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D8107
This commit is contained in:
parent
598ce966d8
commit
5bfe2e89d2
|
@ -63,17 +63,6 @@ evas_gesture_eolian_pub_files = \
|
|||
lib/evas/gesture/efl_canvas_gesture_manager.eo \
|
||||
$(NULL)
|
||||
|
||||
evas_eolian_legacy_files = \
|
||||
lib/evas/canvas/evas_canvas.eo \
|
||||
lib/evas/canvas/evas_line.eo \
|
||||
lib/evas/canvas/evas_table.eo \
|
||||
lib/evas/canvas/evas_grid.eo \
|
||||
lib/evas/canvas/evas_box.eo\
|
||||
lib/evas/canvas/evas_text.eo \
|
||||
lib/evas/canvas/evas_textgrid.eo \
|
||||
lib/evas/canvas/evas_image.eo \
|
||||
$(NULL)
|
||||
|
||||
evas_canvas_eolian_priv_files = \
|
||||
lib/evas/include/evas_ector_buffer.eo
|
||||
|
||||
|
@ -89,8 +78,7 @@ evas_gesture_eolian_type_files = \
|
|||
lib/evas/gesture/efl_canvas_gesture_types.eot
|
||||
|
||||
evas_canvas_eolian_priv_c = $(evas_canvas_eolian_priv_files:%.eo=%.eo.c)
|
||||
evas_canvas_eolian_priv_h = $(evas_canvas_eolian_priv_files:%.eo=%.eo.h) \
|
||||
$(evas_eolian_legacy_files:%.eo=%.eo.h)
|
||||
evas_canvas_eolian_priv_h = $(evas_canvas_eolian_priv_files:%.eo=%.eo.h)
|
||||
|
||||
evas_gesture_eolian_priv_c = $(evas_gesture_eolian_priv_files:%.eo=%.eo.c)
|
||||
evas_gesture_eolian_priv_h = $(evas_gesture_eolian_priv_files:%.eo=%.eo.h)
|
||||
|
@ -105,25 +93,19 @@ evas_gesture_eolian_pub_h = $(evas_gesture_eolian_pub_files:%.eo=%.eo.h) \
|
|||
$(evas_gesture_eolian_pub_files:%.eo=%.eo.legacy.h) \
|
||||
$(evas_gesture_eolian_type_files:%.eot=%.eot.h)
|
||||
|
||||
evas_eolian_legacy_c = $(evas_eolian_legacy_files:%.eo=%.eo.c)
|
||||
evas_eolian_legacy_h = $(evas_eolian_legacy_files:%.eo=%.eo.legacy.h)
|
||||
|
||||
evas_eolian_files = $(evas_canvas_eolian_pub_files) \
|
||||
$(evas_canvas_eolian_type_files) \
|
||||
$(evas_gesture_eolian_pub_files) \
|
||||
$(evas_gesture_eolian_type_files)
|
||||
|
||||
evas_eolian_internal_files = $(evas_canvas_eolian_priv_files) \
|
||||
$(evas_gesture_eolian_priv_files) \
|
||||
$(evas_eolian_legacy_files)
|
||||
$(evas_gesture_eolian_priv_files)
|
||||
|
||||
evas_eolian_c = $(evas_canvas_eolian_pub_c) $(evas_canvas_eolian_priv_c) \
|
||||
$(evas_gesture_eolian_pub_c) $(evas_gesture_eolian_priv_c) \
|
||||
$(evas_eolian_legacy_c)
|
||||
$(evas_gesture_eolian_pub_c) $(evas_gesture_eolian_priv_c)
|
||||
|
||||
evas_eolian_h = $(evas_canvas_eolian_pub_h) $(evas_canvas_eolian_priv_h) \
|
||||
$(evas_gesture_eolian_pub_h) $(evas_gesture_eolian_priv_h) \
|
||||
$(evas_eolian_legacy_h)
|
||||
$(evas_gesture_eolian_pub_h) $(evas_gesture_eolian_priv_h)
|
||||
|
||||
BUILT_SOURCES += \
|
||||
$(evas_eolian_c) \
|
||||
|
@ -132,9 +114,60 @@ BUILT_SOURCES += \
|
|||
evaseolianfilesdir = $(datadir)/eolian/include/evas-@VMAJ@
|
||||
evaseolianfiles_DATA = $(evas_eolian_files)
|
||||
|
||||
|
||||
evas_legacy_eo_h = \
|
||||
lib/evas/canvas/efl_canvas_event_grabber_eo.legacy.h \
|
||||
lib/evas/canvas/efl_canvas_group_eo.legacy.h \
|
||||
lib/evas/canvas/efl_canvas_object_eo.legacy.h \
|
||||
lib/evas/canvas/efl_canvas_text_eo.legacy.h \
|
||||
lib/evas/canvas/efl_canvas_vg_container_eo.legacy.h \
|
||||
lib/evas/canvas/efl_canvas_vg_node_eo.legacy.h \
|
||||
lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h \
|
||||
lib/evas/canvas/efl_canvas_vg_shape_eo.legacy.h \
|
||||
lib/evas/canvas/evas_box_eo.legacy.h \
|
||||
lib/evas/canvas/evas_canvas_eo.legacy.h \
|
||||
lib/evas/canvas/evas_grid_eo.legacy.h \
|
||||
lib/evas/canvas/evas_image_eo.legacy.h
|
||||
|
||||
evas_legacy_eo_c = \
|
||||
lib/evas/canvas/efl_canvas_event_grabber_eo.legacy.c \
|
||||
lib/evas/canvas/efl_canvas_group_eo.legacy.c \
|
||||
lib/evas/canvas/efl_canvas_object_eo.legacy.c \
|
||||
lib/evas/canvas/efl_canvas_text_eo.legacy.c \
|
||||
lib/evas/canvas/efl_canvas_vg_container_eo.legacy.c \
|
||||
lib/evas/canvas/efl_canvas_vg_node_eo.legacy.c \
|
||||
lib/evas/canvas/efl_canvas_vg_object_eo.legacy.c \
|
||||
lib/evas/canvas/efl_canvas_vg_shape_eo.legacy.c \
|
||||
lib/evas/canvas/evas_box_eo.c \
|
||||
lib/evas/canvas/evas_box_eo.h \
|
||||
lib/evas/canvas/evas_box_eo.legacy.c \
|
||||
lib/evas/canvas/evas_canvas_eo.c \
|
||||
lib/evas/canvas/evas_canvas_eo.h \
|
||||
lib/evas/canvas/evas_canvas_eo.legacy.c \
|
||||
lib/evas/canvas/evas_grid_eo.c \
|
||||
lib/evas/canvas/evas_grid_eo.h \
|
||||
lib/evas/canvas/evas_grid_eo.legacy.c \
|
||||
lib/evas/canvas/evas_image_eo.c \
|
||||
lib/evas/canvas/evas_image_eo.h \
|
||||
lib/evas/canvas/evas_image_eo.legacy.c \
|
||||
lib/evas/canvas/evas_line_eo.c \
|
||||
lib/evas/canvas/evas_line_eo.h \
|
||||
lib/evas/canvas/evas_line_eo.legacy.c \
|
||||
lib/evas/canvas/evas_table_eo.c \
|
||||
lib/evas/canvas/evas_table_eo.h \
|
||||
lib/evas/canvas/evas_table_eo.legacy.c \
|
||||
lib/evas/canvas/evas_text_eo.c \
|
||||
lib/evas/canvas/evas_text_eo.h \
|
||||
lib/evas/canvas/evas_text_eo.legacy.c \
|
||||
lib/evas/canvas/evas_textgrid_eo.c \
|
||||
lib/evas/canvas/evas_textgrid_eo.h \
|
||||
lib/evas/canvas/evas_textgrid_eo.legacy.c
|
||||
|
||||
|
||||
EXTRA_DIST2 += \
|
||||
$(evaseolianfiles_DATA) \
|
||||
$(evas_eolian_internal_files)
|
||||
$(evas_eolian_internal_files) \
|
||||
$(evas_legacy_eo_c)
|
||||
|
||||
lib_LTLIBRARIES += lib/evas/libevas.la
|
||||
|
||||
|
@ -148,9 +181,9 @@ lib/evas/Evas_GL.h \
|
|||
lib/evas/Evas_Loader.h
|
||||
|
||||
installed_evascanvasheadersdir = $(includedir)/evas-@VMAJ@/canvas
|
||||
nodist_installed_evascanvasheaders_DATA = $(evas_canvas_eolian_pub_h) \
|
||||
$(evas_eolian_legacy_h)
|
||||
dist_installed_evascanvasheaders_DATA = lib/evas/canvas/evas_textblock_legacy.h
|
||||
nodist_installed_evascanvasheaders_DATA = $(evas_canvas_eolian_pub_h)
|
||||
dist_installed_evascanvasheaders_DATA = lib/evas/canvas/evas_textblock_legacy.h \
|
||||
$(evas_legacy_eo_h)
|
||||
|
||||
installed_evasgestureheadersdir = $(includedir)/evas-@VMAJ@/gesture
|
||||
nodist_installed_evasgestureheaders_DATA = $(evas_gesture_eolian_pub_h)
|
||||
|
@ -2325,10 +2358,8 @@ GENERATED_JS_BINDINGS += $(generated_evas_js_bindings)
|
|||
endif
|
||||
|
||||
if HAVE_CXX
|
||||
evas_canvas_eolian_cxx_hh = $(evas_canvas_eolian_pub_files:%.eo=%.eo.hh) \
|
||||
$(evas_eolian_legacy_files:%.eo=%.eo.hh)
|
||||
evas_canvas_eolian_cxx_impl_hh = $(evas_canvas_eolian_pub_files:%.eo=%.eo.impl.hh) \
|
||||
$(evas_eolian_legacy_files:%.eo=%.eo.impl.hh)
|
||||
evas_canvas_eolian_cxx_hh = $(evas_canvas_eolian_pub_files:%.eo=%.eo.hh)
|
||||
evas_canvas_eolian_cxx_impl_hh = $(evas_canvas_eolian_pub_files:%.eo=%.eo.impl.hh)
|
||||
evas_gesture_eolian_cxx_hh = $(evas_gesture_eolian_pub_files:%.eo=%.eo.hh)
|
||||
evas_gesture_eolian_cxx_impl_hh = $(evas_gesture_eolian_pub_files:%.eo=%.eo.impl.hh)
|
||||
endif
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
#include <Eina.hh>
|
||||
#include <Eo.hh>
|
||||
|
||||
#include "canvas/evas_canvas.eo.hh"
|
||||
#include "canvas/evas_image.eo.hh"
|
||||
#include "canvas/evas_canvas_eo.hh"
|
||||
#include "canvas/evas_image_eo.hh"
|
||||
#include "canvas/evas_rectangle.eo.hh"
|
||||
|
||||
#define WIDTH (320)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "edje_private.h"
|
||||
|
||||
#include "../evas/canvas/evas_box.eo.h"
|
||||
#include "../evas/canvas/evas_box_eo.h"
|
||||
|
||||
#include <Eo.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "edje_private.h"
|
||||
|
||||
#include "../evas/canvas/evas_table.eo.h"
|
||||
#include "../evas/canvas/evas_table_eo.h"
|
||||
|
||||
static void _edje_part_make_rtl(Edje_Part_Description_Common *desc);
|
||||
static Edje_Part_Description_Common *_edje_get_description_by_orientation(Edje *ed, Edje_Part_Description_Common *src, Edje_Part_Description_Common **dst, unsigned char type);
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "edje_private.h"
|
||||
|
||||
#include "canvas/evas_canvas.eo.h"
|
||||
#include "canvas/evas_canvas_eo.h"
|
||||
|
||||
#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT
|
||||
#include "Edje_Edit.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "efl_canvas_layout_part_box.eo.h"
|
||||
#define MY_CLASS EFL_CANVAS_LAYOUT_PART_BOX_CLASS
|
||||
|
||||
#include "../evas/canvas/evas_box.eo.h"
|
||||
#include "../evas/canvas/evas_box_eo.h"
|
||||
|
||||
PROXY_IMPLEMENTATION(box, MY_CLASS, EINA_FALSE)
|
||||
#undef PROXY_IMPLEMENTATION
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "efl_canvas_layout_part_table.eo.h"
|
||||
#define MY_CLASS EFL_CANVAS_LAYOUT_PART_TABLE_CLASS
|
||||
|
||||
#include "../evas/canvas/evas_table.eo.h"
|
||||
#include "../evas/canvas/evas_table_eo.h"
|
||||
|
||||
PROXY_IMPLEMENTATION(table, MY_CLASS, EINA_FALSE)
|
||||
#undef PROXY_IMPLEMENTATION
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "edje_private.h"
|
||||
|
||||
#include "canvas/evas_canvas.eo.h"
|
||||
#include "canvas/evas_canvas_eo.h"
|
||||
|
||||
#ifdef MY_CLASS
|
||||
# undef MY_CLASS
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "edje_private.h"
|
||||
#define _ELLIP_STR "\xE2\x80\xA6"
|
||||
|
||||
#include "../evas/canvas/evas_text.eo.h"
|
||||
#include "../evas/canvas/evas_text_eo.h"
|
||||
|
||||
/* returns with and height for this part.
|
||||
*
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "edje_private.h"
|
||||
|
||||
#include "../evas/canvas/evas_box.eo.h"
|
||||
#include "../evas/canvas/evas_line.eo.h"
|
||||
#include "../evas/canvas/evas_text.eo.h"
|
||||
#include "../evas/canvas/evas_box_eo.h"
|
||||
#include "../evas/canvas/evas_line_eo.h"
|
||||
#include "../evas/canvas/evas_text_eo.h"
|
||||
|
||||
typedef struct _Edje_Box_Layout Edje_Box_Layout;
|
||||
struct _Edje_Box_Layout
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "elm_priv.h"
|
||||
|
||||
// FIXME: stop using Evas.Box
|
||||
#include <../evas/canvas/evas_box.eo.h>
|
||||
#include <../evas/canvas/evas_box_eo.h>
|
||||
|
||||
// FIXME: stop using evas box
|
||||
void _efl_ui_box_custom_layout(Efl_Ui_Box *box, Evas_Object_Box_Data *priv);
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
#include "elm_widget_layout.h"
|
||||
#include "elm_part_helper.h"
|
||||
|
||||
#include "../evas/canvas/evas_box.eo.h"
|
||||
#include "../evas/canvas/evas_table.eo.h"
|
||||
#include "../evas/canvas/evas_box_eo.h"
|
||||
#include "../evas/canvas/evas_table_eo.h"
|
||||
|
||||
/* layout internals for box & table */
|
||||
Eina_Bool _efl_ui_layout_box_append(Eo *obj, Efl_Ui_Layout_Data *sd, const char *part, Evas_Object *child);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "efl_ui_table_private.h"
|
||||
|
||||
#include "../evas/canvas/evas_table.eo.h"
|
||||
#include "../evas/canvas/evas_table_eo.h"
|
||||
|
||||
#define MY_CLASS EFL_UI_TABLE_CLASS
|
||||
#define MY_CLASS_NAME "Efl.Ui.Table"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
# include "ecore_evas_wayland_private.h"
|
||||
#endif
|
||||
|
||||
#include "../evas/canvas/evas_box.eo.h"
|
||||
#include "../evas/canvas/evas_box_eo.h"
|
||||
|
||||
#define EFL_INTERNAL_UNSTABLE
|
||||
#include "interfaces/efl_common_internal.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "Emotion.h"
|
||||
#include "emotion_private.h"
|
||||
|
||||
#include "canvas/evas_canvas.eo.h"
|
||||
#include "canvas/evas_canvas_eo.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
# define FMT_UCHAR "%c"
|
||||
|
|
|
@ -102,7 +102,7 @@ EAPI Evas_Engine_Info *evas_engine_info_get(const Evas *obj);
|
|||
EAPI Eina_Bool evas_image_max_size_get(Eo *eo_e, int *w, int *h);
|
||||
|
||||
|
||||
#include "canvas/evas_canvas.eo.legacy.h"
|
||||
#include "canvas/evas_canvas_eo.legacy.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
@ -2295,7 +2295,7 @@ EAPI Eina_Bool evas_object_pointer_inside_get(const Evas_Object *obj) EINA_WARN_
|
|||
|
||||
EAPI Eina_Bool evas_object_pointer_coords_inside_get(const Evas_Object *eo_obj, int x, int y) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
#include "canvas/efl_canvas_object.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_object_eo.legacy.h"
|
||||
|
||||
/**
|
||||
* @brief Get the Evas to which this object belongs to
|
||||
|
@ -3615,9 +3615,9 @@ EAPI Evas_Object *evas_object_rectangle_add(Evas *e) EINA_WARN_UNUSED_RESULT EIN
|
|||
*/
|
||||
EAPI Evas_Object *evas_object_vg_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
|
||||
|
||||
#include "canvas/efl_canvas_vg_node.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_vg_object.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_vg_container.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_vg_node_eo.legacy.h"
|
||||
#include "canvas/efl_canvas_vg_object_eo.legacy.h"
|
||||
#include "canvas/efl_canvas_vg_container_eo.legacy.h"
|
||||
/**
|
||||
* Creates a new vector shape object.
|
||||
*
|
||||
|
@ -3810,7 +3810,7 @@ EAPI void evas_vg_node_raise(Eo *obj);
|
|||
*/
|
||||
EAPI void evas_vg_node_lower(Eo *obj);
|
||||
|
||||
#include "canvas/efl_canvas_vg_node.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_vg_node_eo.legacy.h"
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -4253,7 +4253,7 @@ EAPI void evas_vg_shape_stroke_fill_set(Eo *obj, Efl_VG *f);
|
|||
*/
|
||||
EAPI Efl_VG* evas_vg_shape_stroke_fill_get(const Eo *obj);
|
||||
|
||||
#include "canvas/efl_canvas_vg_shape.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_vg_shape_eo.legacy.h"
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -5938,7 +5938,7 @@ EAPI void evas_object_image_reload(Evas_Object *obj) EINA_DEPRECATED;
|
|||
*/
|
||||
EAPI void evas_object_image_alpha_mask_set(Evas_Object *obj, Eina_Bool ismask) EINA_ARG_NONNULL(1) EINA_DEPRECATED;
|
||||
|
||||
#include "canvas/evas_image.eo.legacy.h"
|
||||
#include "canvas/evas_image_eo.legacy.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
@ -6022,7 +6022,7 @@ typedef enum
|
|||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_RIGHT = 112 /* 7 >> 4 */ /**< shadow growing to the right */
|
||||
} Evas_Text_Style_Type;
|
||||
|
||||
#include "canvas/evas_text.eo.legacy.h"
|
||||
#include "canvas/evas_text_eo.legacy.h"
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -6108,7 +6108,7 @@ EAPI void evas_object_text_font_get(const Eo *obj, const char **font, Evas_Font_
|
|||
*/
|
||||
EAPI Evas_Object *evas_object_textgrid_add(Evas *e);
|
||||
|
||||
#include "canvas/evas_textgrid.eo.legacy.h"
|
||||
#include "canvas/evas_textgrid_eo.legacy.h"
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -6212,7 +6212,7 @@ EAPI void evas_object_textgrid_font_get(const Eo *obj, const char **font_name, E
|
|||
*/
|
||||
EAPI Evas_Object *evas_object_line_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
|
||||
|
||||
#include "canvas/evas_line.eo.legacy.h"
|
||||
#include "canvas/evas_line_eo.legacy.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
@ -6768,7 +6768,7 @@ EAPI void evas_object_smart_changed(Evas_Object *obj);
|
|||
*/
|
||||
EAPI void evas_object_smart_move_children_relative(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);
|
||||
|
||||
#include "canvas/efl_canvas_group.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_group_eo.legacy.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
@ -6904,7 +6904,7 @@ EAPI Eina_Bool evas_object_box_option_property_get(const Evas_O
|
|||
*/
|
||||
EAPI Eina_List *evas_object_box_children_get(const Evas_Object *o) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
|
||||
|
||||
#include "canvas/evas_box.eo.legacy.h"
|
||||
#include "canvas/evas_box_eo.legacy.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
@ -6951,7 +6951,7 @@ EAPI void evas_object_table_mirrored_set(Eo *obj, Eina_Bool mirrored);
|
|||
*/
|
||||
EAPI Eina_Bool evas_object_table_mirrored_get(const Eo *obj);
|
||||
|
||||
#include "canvas/evas_table.eo.legacy.h"
|
||||
#include "canvas/evas_table_eo.legacy.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
@ -7001,7 +7001,7 @@ EAPI void evas_object_grid_mirrored_set(Eo *obj, Eina_Bool mirrored);
|
|||
*/
|
||||
EAPI Eina_Bool evas_object_grid_mirrored_get(const Eo *obj);
|
||||
|
||||
#include "canvas/evas_grid.eo.legacy.h"
|
||||
#include "canvas/evas_grid_eo.legacy.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
@ -8170,7 +8170,7 @@ EAPI void evas_object_freeze_events_set(Efl_Canvas_Object *obj, Eina_Bool freeze
|
|||
*/
|
||||
EAPI Eina_Bool evas_object_freeze_events_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
#include "canvas/efl_canvas_event_grabber.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_event_grabber_eo.legacy.h"
|
||||
|
||||
#include "canvas/efl_canvas_animation_alpha.eo.legacy.h"
|
||||
#include "canvas/efl_canvas_animation.eo.legacy.h"
|
||||
|
|
|
@ -409,3 +409,4 @@ evas_object_event_grabber_add(Evas *eo_e)
|
|||
}
|
||||
|
||||
#include "efl_canvas_event_grabber.eo.c"
|
||||
#include "efl_canvas_event_grabber_eo.legacy.c"
|
||||
|
|
|
@ -19,7 +19,6 @@ class @beta Efl.Canvas.Event_Grabber extends Efl.Canvas.Group
|
|||
@since 1.20
|
||||
]]
|
||||
data: Efl_Object_Event_Grabber_Data;
|
||||
legacy_prefix: evas_object_event_grabber;
|
||||
methods {
|
||||
@property freeze_when_visible {
|
||||
[[Stops the grabber from updating its internal stacking order while visible]]
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
EAPI void
|
||||
evas_object_event_grabber_freeze_when_visible_set(Efl_Canvas_Event_Grabber *obj, Eina_Bool set)
|
||||
{
|
||||
efl_canvas_event_grabber_freeze_when_visible_set(obj, set);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_event_grabber_freeze_when_visible_get(const Efl_Canvas_Event_Grabber *obj)
|
||||
{
|
||||
return efl_canvas_event_grabber_freeze_when_visible_get(obj);
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
#ifndef _EFL_CANVAS_EVENT_GRABBER_EO_LEGACY_H_
|
||||
#define _EFL_CANVAS_EVENT_GRABBER_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EFL_CANVAS_EVENT_GRABBER_EO_CLASS_TYPE
|
||||
#define _EFL_CANVAS_EVENT_GRABBER_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Efl_Canvas_Event_Grabber;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EFL_CANVAS_EVENT_GRABBER_EO_TYPES
|
||||
#define _EFL_CANVAS_EVENT_GRABBER_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Stops the grabber from updating its internal stacking order while
|
||||
* visible
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] set If @c true, stop updating
|
||||
*
|
||||
* @since 1.20
|
||||
*
|
||||
* @ingroup Evas_Object_Event_Grabber_Group
|
||||
*/
|
||||
EAPI void evas_object_event_grabber_freeze_when_visible_set(Efl_Canvas_Event_Grabber *obj, Eina_Bool set);
|
||||
|
||||
/**
|
||||
* @brief Stops the grabber from updating its internal stacking order while
|
||||
* visible
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return If @c true, stop updating
|
||||
*
|
||||
* @since 1.20
|
||||
*
|
||||
* @ingroup Evas_Object_Event_Grabber_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_event_grabber_freeze_when_visible_get(const Efl_Canvas_Event_Grabber *obj);
|
||||
|
||||
#endif
|
|
@ -9,7 +9,6 @@ class @beta Efl.Canvas.Group extends Efl.Canvas.Object
|
|||
However it's still a group of low-level canvas objects (clipper, raw objects,
|
||||
etc.).
|
||||
]]
|
||||
legacy_prefix: evas_object_smart;
|
||||
data: Evas_Smart_Data;
|
||||
methods {
|
||||
@property group_need_recalculate {
|
||||
|
@ -27,10 +26,8 @@ class @beta Efl.Canvas.Group extends Efl.Canvas.Object
|
|||
See also @.group_calculate.
|
||||
]]
|
||||
set {
|
||||
legacy: evas_object_smart_need_recalculate_set;
|
||||
}
|
||||
get {
|
||||
legacy: evas_object_smart_need_recalculate_get;
|
||||
}
|
||||
values {
|
||||
value: bool; [[$true if the group layout needs to be recalculated, $false otherwise]]
|
||||
|
@ -43,14 +40,12 @@ class @beta Efl.Canvas.Group extends Efl.Canvas.Object
|
|||
recalculation. As an effect, on the next rendering cycle its
|
||||
@.group_calculate method will be called.
|
||||
]]
|
||||
legacy: evas_object_smart_changed;
|
||||
}
|
||||
group_calculate {
|
||||
[[Triggers an immediate recalculation of this object's geometry.
|
||||
|
||||
This will also reset the flag @.group_need_recalculate.
|
||||
]]
|
||||
legacy: evas_object_smart_calculate;
|
||||
}
|
||||
group_members_iterate @const {
|
||||
[[Returns an iterator over the children of this object, which are
|
||||
|
@ -62,7 +57,6 @@ class @beta Efl.Canvas.Group extends Efl.Canvas.Object
|
|||
]]
|
||||
return: iterator<Efl.Canvas.Object> @owned;
|
||||
[[Iterator to object children]]
|
||||
legacy: evas_object_smart_iterator_new;
|
||||
}
|
||||
group_member_add {
|
||||
[[Set a canvas object as a member of a given group (or smart object).
|
||||
|
@ -83,7 +77,6 @@ class @beta Efl.Canvas.Group extends Efl.Canvas.Object
|
|||
params {
|
||||
@in sub_obj: Efl.Canvas.Object @nonull; [[The member object.]]
|
||||
}
|
||||
legacy: null;
|
||||
}
|
||||
group_member_remove {
|
||||
[[Removes a member object from a given smart object.
|
||||
|
@ -98,7 +91,6 @@ class @beta Efl.Canvas.Group extends Efl.Canvas.Object
|
|||
params {
|
||||
@in sub_obj: Efl.Canvas.Object; [[The member object to remove.]]
|
||||
}
|
||||
legacy: null;
|
||||
}
|
||||
group_member_is @const {
|
||||
[[Finds out if a given object is a member of this group.]]
|
||||
|
@ -106,7 +98,6 @@ class @beta Efl.Canvas.Group extends Efl.Canvas.Object
|
|||
@in sub_obj: const(Efl.Canvas.Object); [[A potential sub object.]]
|
||||
}
|
||||
return: bool; [[$true if $sub_obj is a member of this group.]]
|
||||
legacy: null;
|
||||
}
|
||||
@property group_clipper @protected {
|
||||
[[The internal clipper object used by this group.
|
||||
|
@ -119,7 +110,6 @@ class @beta Efl.Canvas.Group extends Efl.Canvas.Object
|
|||
}
|
||||
get {
|
||||
[[Get the internal clipper.]]
|
||||
legacy: null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
EAPI void
|
||||
evas_object_smart_need_recalculate_set(Efl_Canvas_Group *obj, Eina_Bool value)
|
||||
{
|
||||
efl_canvas_group_need_recalculate_set(obj, value);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_smart_need_recalculate_get(const Efl_Canvas_Group *obj)
|
||||
{
|
||||
return efl_canvas_group_need_recalculate_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_smart_changed(Efl_Canvas_Group *obj)
|
||||
{
|
||||
efl_canvas_group_change(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_smart_calculate(Efl_Canvas_Group *obj)
|
||||
{
|
||||
efl_canvas_group_calculate(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Iterator *
|
||||
evas_object_smart_iterator_new(const Efl_Canvas_Group *obj)
|
||||
{
|
||||
return efl_canvas_group_members_iterate(obj);
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
#ifndef _EFL_CANVAS_GROUP_EO_LEGACY_H_
|
||||
#define _EFL_CANVAS_GROUP_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EFL_CANVAS_GROUP_EO_CLASS_TYPE
|
||||
#define _EFL_CANVAS_GROUP_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Efl_Canvas_Group;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EFL_CANVAS_GROUP_EO_TYPES
|
||||
#define _EFL_CANVAS_GROUP_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Indicates that the group's layout needs to be recalculated.
|
||||
*
|
||||
* If this flag is set, then the @ref evas_object_smart_calculate function will
|
||||
* be called, during rendering phase of the canvas. After that, this flag will
|
||||
* be automatically unset.
|
||||
*
|
||||
* @note setting this flag alone will not make the canvas' whole scene dirty.
|
||||
* Using evas_render() will have no effect. To force this, use
|
||||
* @ref evas_object_smart_changed, which will also call this function
|
||||
* automatically, with the parameter set to @c true.
|
||||
*
|
||||
* See also @ref evas_object_smart_calculate.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] value @c true if the group layout needs to be recalculated,
|
||||
* @c false otherwise
|
||||
*
|
||||
* @ingroup Evas_Object_Smart_Group
|
||||
*/
|
||||
EAPI void evas_object_smart_need_recalculate_set(Efl_Canvas_Group *obj, Eina_Bool value);
|
||||
|
||||
/**
|
||||
* @brief Indicates that the group's layout needs to be recalculated.
|
||||
*
|
||||
* If this flag is set, then the @ref evas_object_smart_calculate function will
|
||||
* be called, during rendering phase of the canvas. After that, this flag will
|
||||
* be automatically unset.
|
||||
*
|
||||
* @note setting this flag alone will not make the canvas' whole scene dirty.
|
||||
* Using evas_render() will have no effect. To force this, use
|
||||
* @ref evas_object_smart_changed, which will also call this function
|
||||
* automatically, with the parameter set to @c true.
|
||||
*
|
||||
* See also @ref evas_object_smart_calculate.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return @c true if the group layout needs to be recalculated, @c false
|
||||
* otherwise
|
||||
*
|
||||
* @ingroup Evas_Object_Smart_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Efl_Canvas_Group *obj);
|
||||
|
||||
/**
|
||||
* @brief Marks the object as dirty.
|
||||
*
|
||||
* This also forcefully marks the given object as needing recalculation. As an
|
||||
* effect, on the next rendering cycle its @ref evas_object_smart_calculate
|
||||
* method will be called.
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @ingroup Evas_Object_Smart_Group
|
||||
*/
|
||||
EAPI void evas_object_smart_changed(Efl_Canvas_Group *obj);
|
||||
|
||||
/**
|
||||
* @brief Triggers an immediate recalculation of this object's geometry.
|
||||
*
|
||||
* This will also reset the flag @ref evas_object_smart_need_recalculate_get.
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @ingroup Evas_Object_Smart_Group
|
||||
*/
|
||||
EAPI void evas_object_smart_calculate(Efl_Canvas_Group *obj);
|
||||
|
||||
/**
|
||||
* @brief Returns an iterator over the children of this object, which are
|
||||
* canvas objects.
|
||||
*
|
||||
* This returns the list of "smart" children. This might be different from both
|
||||
* the @ref Efl_Object children list as well as the @ref Efl_Container content
|
||||
* list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Iterator to object children
|
||||
*
|
||||
* @ingroup Evas_Object_Smart_Group
|
||||
*/
|
||||
EAPI Eina_Iterator *evas_object_smart_iterator_new(const Efl_Canvas_Group *obj);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
|
@ -11,7 +11,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
Efl.Gfx.Mapping, Efl.Ui.I18n, Efl.Canvas.Pointer
|
||||
{
|
||||
[[Efl canvas object abstract class]]
|
||||
legacy_prefix: evas_object;
|
||||
data: Evas_Object_Protected_Data;
|
||||
methods {
|
||||
@property pointer_mode_by_device {
|
||||
|
@ -27,10 +26,8 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
}
|
||||
set {
|
||||
return: bool; [[$true if pointer mode was set, $false otherwise]]
|
||||
legacy: null;
|
||||
}
|
||||
get {
|
||||
legacy: null;
|
||||
}
|
||||
}
|
||||
@property pointer_mode {
|
||||
|
@ -77,10 +74,8 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
transparent background inside a buffer canvas).
|
||||
]]
|
||||
set {
|
||||
legacy: null;
|
||||
}
|
||||
get {
|
||||
legacy: null;
|
||||
}
|
||||
values {
|
||||
render_op: Efl.Gfx.Render_Op; [[Blend or copy.]]
|
||||
|
@ -128,7 +123,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
Note: Only rectangle and image (masks) objects can be used
|
||||
as clippers. Anything else will result in undefined behaviour.
|
||||
]]
|
||||
legacy: evas_object_clip_set;
|
||||
}
|
||||
get {
|
||||
[[Get the object clipping $obj (if any).
|
||||
|
@ -137,7 +131,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
not being clipped at all, $null is returned. The object $obj
|
||||
must be a valid Evas_Object.
|
||||
]]
|
||||
legacy: evas_object_clip_get;
|
||||
}
|
||||
values {
|
||||
clipper: Efl.Canvas.Object @nonull; [[The object to clip $obj by.]]
|
||||
|
@ -184,10 +177,8 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
@.seat_focus_add, @.seat_focus_del.
|
||||
]]
|
||||
set {
|
||||
legacy: evas_object_focus_set;
|
||||
}
|
||||
get {
|
||||
legacy: evas_object_focus_get;
|
||||
}
|
||||
values {
|
||||
focus: bool; [[$true when set as focused or $false otherwise.]]
|
||||
|
@ -199,7 +190,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
@since 1.19
|
||||
]]
|
||||
get {
|
||||
legacy: null;
|
||||
}
|
||||
values {
|
||||
focus: bool; [[$true if focused by at least one seat or $false otherwise.]]
|
||||
|
@ -210,7 +200,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
params {
|
||||
@in seat: Efl.Input.Device; [[The seat to check if the object is focused. Use $null for the default seat.]]
|
||||
}
|
||||
legacy: null;
|
||||
return: bool; [[$true if focused or $false otherwise.]]
|
||||
}
|
||||
seat_focus_add {
|
||||
|
@ -227,7 +216,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
params {
|
||||
@in seat: Efl.Input.Device; [[The seat that should be added to the focus list. Use $null for the default seat.]]
|
||||
}
|
||||
legacy: null;
|
||||
return: bool; [[$true if the focus has been set or $false otherwise.]]
|
||||
}
|
||||
seat_focus_del {
|
||||
|
@ -238,7 +226,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
params {
|
||||
@in seat: Efl.Input.Device; [[The seat that should be removed from the focus list. Use $null for the default seat.]]
|
||||
}
|
||||
legacy: null;
|
||||
return: bool; [[$true if the seat was removed from the focus list or $false otherwise.]]
|
||||
}
|
||||
@property precise_is_inside {
|
||||
|
@ -367,7 +354,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
|
||||
See also @.clipper.
|
||||
]]
|
||||
legacy: null;
|
||||
return: iterator<Efl.Canvas.Object> @warn_unused; [[An iterator over the
|
||||
list of objects clipped by $obj.]]
|
||||
}
|
||||
|
@ -382,7 +368,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
@since 1.18
|
||||
]]
|
||||
get {
|
||||
legacy: evas_object_smart_parent_get;
|
||||
}
|
||||
values {
|
||||
parent: Efl.Canvas.Object; [[The parent smart object of $obj or $null.]]
|
||||
|
@ -401,7 +386,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
clipped_objects_count @const {
|
||||
[[Returns the number of objects clipped by $obj
|
||||
]]
|
||||
legacy: null;
|
||||
return: uint @warn_unused; [[The number of objects clipped by $obj]]
|
||||
}
|
||||
key_grab {
|
||||
|
@ -439,7 +423,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
@in exclusive: bool; [[Request that the $obj is the only object
|
||||
receiving the $keyname events.]]
|
||||
}
|
||||
legacy: null;
|
||||
}
|
||||
key_ungrab {
|
||||
[[Removes the grab on $keyname key events by $obj.
|
||||
|
@ -458,7 +441,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
not not be present to trigger
|
||||
the event.]]
|
||||
}
|
||||
legacy: null;
|
||||
}
|
||||
@property no_render {
|
||||
get {
|
||||
|
@ -470,7 +452,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
|
||||
@since 1.15
|
||||
]]
|
||||
legacy: null;
|
||||
}
|
||||
set {
|
||||
[[Disable all rendering on the canvas.
|
||||
|
@ -491,7 +472,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
|
||||
@since 1.15
|
||||
]]
|
||||
legacy: null;
|
||||
}
|
||||
values {
|
||||
enable: bool; [[Enable "no-render" mode.]]
|
||||
|
@ -512,7 +492,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
|
|||
|
||||
If $e is not a valid object, the return value is undefined.
|
||||
]]
|
||||
legacy: null;
|
||||
}
|
||||
keys {
|
||||
pos: Eina.Position2D; [[The position in pixels.]]
|
||||
|
|
|
@ -0,0 +1,114 @@
|
|||
|
||||
EAPI Eina_Bool
|
||||
evas_object_pointer_mode_set(Efl_Canvas_Object *obj, Efl_Input_Object_Pointer_Mode pointer_mode)
|
||||
{
|
||||
return efl_canvas_object_pointer_mode_set(obj, pointer_mode);
|
||||
}
|
||||
|
||||
EAPI Efl_Input_Object_Pointer_Mode
|
||||
evas_object_pointer_mode_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_pointer_mode_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_clip_set(Efl_Canvas_Object *obj, Efl_Canvas_Object *clipper)
|
||||
{
|
||||
efl_canvas_object_clipper_set(obj, clipper);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_object_clip_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_clipper_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_repeat_events_set(Efl_Canvas_Object *obj, Eina_Bool repeat)
|
||||
{
|
||||
efl_canvas_object_repeat_events_set(obj, repeat);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_repeat_events_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_repeat_events_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_focus_set(Efl_Canvas_Object *obj, Eina_Bool focus)
|
||||
{
|
||||
efl_canvas_object_key_focus_set(obj, focus);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_focus_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_key_focus_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_precise_is_inside_set(Efl_Canvas_Object *obj, Eina_Bool precise)
|
||||
{
|
||||
efl_canvas_object_precise_is_inside_set(obj, precise);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_precise_is_inside_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_precise_is_inside_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_propagate_events_set(Efl_Canvas_Object *obj, Eina_Bool propagate)
|
||||
{
|
||||
efl_canvas_object_propagate_events_set(obj, propagate);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_propagate_events_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_propagate_events_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_pass_events_set(Efl_Canvas_Object *obj, Eina_Bool pass)
|
||||
{
|
||||
efl_canvas_object_pass_events_set(obj, pass);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_pass_events_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_pass_events_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_anti_alias_set(Efl_Canvas_Object *obj, Eina_Bool anti_alias)
|
||||
{
|
||||
efl_canvas_object_anti_alias_set(obj, anti_alias);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_anti_alias_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_anti_alias_get(obj);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_object_smart_parent_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_render_parent_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_paragraph_direction_set(Efl_Canvas_Object *obj, Efl_Text_Bidirectional_Type dir)
|
||||
{
|
||||
efl_canvas_object_paragraph_direction_set(obj, dir);
|
||||
}
|
||||
|
||||
EAPI Efl_Text_Bidirectional_Type
|
||||
evas_object_paragraph_direction_get(const Efl_Canvas_Object *obj)
|
||||
{
|
||||
return efl_canvas_object_paragraph_direction_get(obj);
|
||||
}
|
|
@ -0,0 +1,410 @@
|
|||
#ifndef _EFL_CANVAS_OBJECT_EO_LEGACY_H_
|
||||
#define _EFL_CANVAS_OBJECT_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EFL_CANVAS_OBJECT_EO_CLASS_TYPE
|
||||
#define _EFL_CANVAS_OBJECT_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Efl_Canvas_Object;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EFL_CANVAS_OBJECT_EO_TYPES
|
||||
#define _EFL_CANVAS_OBJECT_EO_TYPES
|
||||
|
||||
/** Information of animation events
|
||||
*
|
||||
* @ingroup Efl_Canvas
|
||||
*/
|
||||
typedef struct _Efl_Canvas_Object_Animation_Event Efl_Canvas_Object_Animation_Event;
|
||||
|
||||
/** EFL event animator tick data structure
|
||||
*
|
||||
* @ingroup Efl
|
||||
*/
|
||||
typedef struct _Efl_Event_Animator_Tick
|
||||
{
|
||||
Eina_Rect update_area; /**< Area of the canvas that will be pushed to screen.
|
||||
*/
|
||||
} Efl_Event_Animator_Tick;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Low-level pointer behaviour.
|
||||
*
|
||||
* This function has a direct effect on event callbacks related to pointers
|
||||
* (mouse, ...).
|
||||
*
|
||||
* If the value is @ref EFL_INPUT_OBJECT_POINTER_MODE_AUTO_GRAB (default), then
|
||||
* when mouse is pressed down over this object, events will be restricted to it
|
||||
* as source, mouse moves, for example, will be emitted even when the pointer
|
||||
* goes outside this objects geometry.
|
||||
*
|
||||
* If the value is @ref EFL_INPUT_OBJECT_POINTER_MODE_NO_GRAB, then events will
|
||||
* be emitted just when inside this object area.
|
||||
*
|
||||
* The default value is @ref EFL_INPUT_OBJECT_POINTER_MODE_AUTO_GRAB. See also:
|
||||
* @ref Efl.Canvas.Object.pointer_mode_by_device.get and
|
||||
* @ref Efl.Canvas.Object.pointer_mode_by_device.set Note: This function will
|
||||
* only set/get the mode for the default pointer.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] pointer_mode Input pointer mode
|
||||
*
|
||||
* @return @c true if pointer behaviour was set, @c false otherwise
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_pointer_mode_set(Efl_Canvas_Object *obj, Efl_Input_Object_Pointer_Mode pointer_mode);
|
||||
|
||||
/**
|
||||
* @brief Low-level pointer behaviour.
|
||||
*
|
||||
* This function has a direct effect on event callbacks related to pointers
|
||||
* (mouse, ...).
|
||||
*
|
||||
* If the value is @ref EFL_INPUT_OBJECT_POINTER_MODE_AUTO_GRAB (default), then
|
||||
* when mouse is pressed down over this object, events will be restricted to it
|
||||
* as source, mouse moves, for example, will be emitted even when the pointer
|
||||
* goes outside this objects geometry.
|
||||
*
|
||||
* If the value is @ref EFL_INPUT_OBJECT_POINTER_MODE_NO_GRAB, then events will
|
||||
* be emitted just when inside this object area.
|
||||
*
|
||||
* The default value is @ref EFL_INPUT_OBJECT_POINTER_MODE_AUTO_GRAB. See also:
|
||||
* @ref Efl.Canvas.Object.pointer_mode_by_device.get and
|
||||
* @ref Efl.Canvas.Object.pointer_mode_by_device.set Note: This function will
|
||||
* only set/get the mode for the default pointer.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Input pointer mode
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Efl_Input_Object_Pointer_Mode evas_object_pointer_mode_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Clip one object to another.
|
||||
*
|
||||
* This function will clip the object @c obj to the area occupied by the object
|
||||
* @c clip. This means the object @c obj will only be visible within the area
|
||||
* occupied by the clipping object ($clip).
|
||||
*
|
||||
* The color of the object being clipped will be multiplied by the color of the
|
||||
* clipping one, so the resulting color for the former will be "RESULT = (OBJ *
|
||||
* CLIP) / (255 * 255)", per color element (red, green, blue and alpha).
|
||||
*
|
||||
* Clipping is recursive, so clipping objects may be clipped by others, and
|
||||
* their color will in term be multiplied. You may not set up circular clipping
|
||||
* lists (i.e. object 1 clips object 2, which clips object 1): the behavior of
|
||||
* Evas is undefined in this case.
|
||||
*
|
||||
* Objects which do not clip others are visible in the canvas as normal; those
|
||||
* that clip one or more objects become invisible themselves, only affecting
|
||||
* what they clip. If an object ceases to have other objects being clipped by
|
||||
* it, it will become visible again.
|
||||
*
|
||||
* The visibility of an object affects the objects that are clipped by it, so
|
||||
* if the object clipping others is not shown (as in
|
||||
* @ref Efl.Gfx.Entity.visible), the objects clipped by it will not be shown
|
||||
* either.
|
||||
*
|
||||
* If @c obj was being clipped by another object when this function is called,
|
||||
* it gets implicitly removed from the old clipper's domain and is made now to
|
||||
* be clipped by its new clipper.
|
||||
*
|
||||
* If @c clip is @c null, this call will disable clipping for the object i.e.
|
||||
* its visibility and color get detached from the previous clipper. If it
|
||||
* wasn't, this has no effect.
|
||||
*
|
||||
* @note Only rectangle and image (masks) objects can be used as clippers.
|
||||
* Anything else will result in undefined behaviour.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] clip The object to clip @c obj by.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI void evas_object_clip_set(Efl_Canvas_Object *obj, Efl_Canvas_Object *clip) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Get the object clipping @c obj (if any).
|
||||
*
|
||||
* This function returns the object clipping @c obj. If @c obj is not being
|
||||
* clipped at all, @c null is returned. The object @c obj must be a valid
|
||||
* Evas_Object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return The object to clip @c obj by.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Object *evas_object_clip_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Set whether an Evas object is to repeat events.
|
||||
*
|
||||
* If @c repeat is @c true, it will make events on @c obj to also be repeated
|
||||
* for the next lower object in the objects' stack (see see
|
||||
* @ref Efl.Gfx.Stack.below).
|
||||
*
|
||||
* If @c repeat is @c false, events occurring on @c obj will be processed only
|
||||
* on it.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] repeat Whether @c obj is to repeat events ($true) or not
|
||||
* ($false).
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI void evas_object_repeat_events_set(Efl_Canvas_Object *obj, Eina_Bool repeat);
|
||||
|
||||
/**
|
||||
* @brief Determine whether an object is set to repeat events.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Whether @c obj is to repeat events ($true) or not ($false).
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_repeat_events_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Indicates that this object is the keyboard event receiver on its
|
||||
* canvas.
|
||||
*
|
||||
* Changing focus only affects where (key) input events go. There can be only
|
||||
* one object focused at any time. If @c focus is @c true, @c obj will be set
|
||||
* as the currently focused object and it will receive all keyboard events that
|
||||
* are not exclusive key grabs on other objects. See also
|
||||
* @ref Efl.Canvas.Object.seat_focus_check,
|
||||
* @ref Efl.Canvas.Object.seat_focus_add,
|
||||
* @ref Efl.Canvas.Object.seat_focus_del.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] focus @c true when set as focused or @c false otherwise.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI void evas_object_focus_set(Efl_Canvas_Object *obj, Eina_Bool focus);
|
||||
|
||||
/**
|
||||
* @brief Indicates that this object is the keyboard event receiver on its
|
||||
* canvas.
|
||||
*
|
||||
* Changing focus only affects where (key) input events go. There can be only
|
||||
* one object focused at any time. If @c focus is @c true, @c obj will be set
|
||||
* as the currently focused object and it will receive all keyboard events that
|
||||
* are not exclusive key grabs on other objects. See also
|
||||
* @ref Efl.Canvas.Object.seat_focus_check,
|
||||
* @ref Efl.Canvas.Object.seat_focus_add,
|
||||
* @ref Efl.Canvas.Object.seat_focus_del.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return @c true when set as focused or @c false otherwise.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_focus_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Set whether to use precise (usually expensive) point collision
|
||||
* detection for a given Evas object.
|
||||
*
|
||||
* Use this function to make Evas treat objects' transparent areas as not
|
||||
* belonging to it with regard to mouse pointer events. By default, all of the
|
||||
* object's boundary rectangle will be taken in account for them.
|
||||
*
|
||||
* @warning By using precise point collision detection you'll be making Evas
|
||||
* more resource intensive.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] precise Whether to use precise point collision detection or not.
|
||||
* The default value is false.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI void evas_object_precise_is_inside_set(Efl_Canvas_Object *obj, Eina_Bool precise);
|
||||
|
||||
/**
|
||||
* @brief Determine whether an object is set to use precise point collision
|
||||
* detection.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Whether to use precise point collision detection or not. The default
|
||||
* value is false.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_precise_is_inside_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Set whether events on a smart object's member should be propagated up
|
||||
* to its parent.
|
||||
*
|
||||
* This function has no effect if @c obj is not a member of a smart object.
|
||||
*
|
||||
* If @c prop is @c true, events occurring on this object will be propagated on
|
||||
* to the smart object of which @c obj is a member. If @c prop is @c false,
|
||||
* events occurring on this object will not be propagated on to the smart
|
||||
* object of which @c obj is a member. The default value is @c true.
|
||||
*
|
||||
* See also @ref evas_object_repeat_events_set,
|
||||
* @ref evas_object_pass_events_set.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] propagate Whether to propagate events ($true) or not ($false).
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI void evas_object_propagate_events_set(Efl_Canvas_Object *obj, Eina_Bool propagate);
|
||||
|
||||
/**
|
||||
* @brief Retrieve whether an Evas object is set to propagate events.
|
||||
*
|
||||
* See also @ref evas_object_repeat_events_get,
|
||||
* @ref evas_object_pass_events_get.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Whether to propagate events ($true) or not ($false).
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_propagate_events_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Set whether an Evas object is to pass (ignore) events.
|
||||
*
|
||||
* If @c pass is @c true, it will make events on @c obj to be ignored. They
|
||||
* will be triggered on the next lower object (that is not set to pass events),
|
||||
* instead (see @ref Efl.Gfx.Stack.below).
|
||||
*
|
||||
* If @c pass is @c false events will be processed on that object as normal.
|
||||
*
|
||||
* See also @ref evas_object_repeat_events_set,
|
||||
* @ref evas_object_propagate_events_set
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] pass Whether @c obj is to pass events ($true) or not ($false).
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI void evas_object_pass_events_set(Efl_Canvas_Object *obj, Eina_Bool pass);
|
||||
|
||||
/**
|
||||
* @brief Determine whether an object is set to pass (ignore) events.
|
||||
*
|
||||
* See also @ref evas_object_repeat_events_get,
|
||||
* @ref evas_object_propagate_events_get.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Whether @c obj is to pass events ($true) or not ($false).
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_pass_events_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Sets whether or not the given Evas object is to be drawn
|
||||
* anti-aliased.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] anti_alias @c true if the object is to be anti_aliased, @c false
|
||||
* otherwise.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI void evas_object_anti_alias_set(Efl_Canvas_Object *obj, Eina_Bool anti_alias);
|
||||
|
||||
/**
|
||||
* @brief Retrieves whether or not the given Evas object is to be drawn
|
||||
* anti_aliased.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return @c true if the object is to be anti_aliased, @c false otherwise.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_anti_alias_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Gets the parent smart object of a given Evas object, if it has one.
|
||||
*
|
||||
* This can be different from @ref Efl.Object.parent because this one is used
|
||||
* internally for rendering and the normal parent is what the user expects to
|
||||
* be the parent.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return The parent smart object of @c obj or @c null.
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Object *evas_object_smart_parent_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief This handles text paragraph direction of the given object. Even if
|
||||
* the given object is not textblock or text, its smart child objects can
|
||||
* inherit the paragraph direction from the given object. The default paragraph
|
||||
* direction is @c inherit.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] dir Paragraph direction for the given object.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI void evas_object_paragraph_direction_set(Efl_Canvas_Object *obj, Efl_Text_Bidirectional_Type dir);
|
||||
|
||||
/**
|
||||
* @brief This handles text paragraph direction of the given object. Even if
|
||||
* the given object is not textblock or text, its smart child objects can
|
||||
* inherit the paragraph direction from the given object. The default paragraph
|
||||
* direction is @c inherit.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Paragraph direction for the given object.
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Efl_Text_Bidirectional_Type evas_object_paragraph_direction_get(const Efl_Canvas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Test if any object is clipped by @c obj.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return @c true if any object is clipped by @c obj, @c false otherwise
|
||||
*
|
||||
* @since 1.8
|
||||
*
|
||||
* @ingroup Evas_Object_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_clipees_has(const Efl_Canvas_Object *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
|
@ -8,7 +8,6 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
|
|||
Efl.Text_Annotate, Efl.Text_Markup, Efl.Text_Markup_Interactive, Efl.Ui.I18n
|
||||
{
|
||||
[[Efl canvas text class]]
|
||||
legacy_prefix: evas_object_textblock;
|
||||
methods {
|
||||
@property is_empty {
|
||||
[[Whether the object is empty (no text) or not
|
||||
|
@ -16,7 +15,6 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
|
|||
@since 1.18
|
||||
]]
|
||||
get {
|
||||
legacy: null;
|
||||
}
|
||||
values {
|
||||
is_empty: bool; [[$true if empty, $false otherwise]]
|
||||
|
@ -91,10 +89,8 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
|
|||
@since 1.18
|
||||
]]
|
||||
set {
|
||||
legacy: null;
|
||||
}
|
||||
get {
|
||||
legacy: null;
|
||||
}
|
||||
keys {
|
||||
key: string; [[The name to the style. $NULL is the default style]]
|
||||
|
@ -160,7 +156,6 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
|
|||
|
||||
@since 1.18
|
||||
]]
|
||||
legacy: null;
|
||||
return: mstring @owned; [[The text in the given range]]
|
||||
params {
|
||||
@cref cur1: Efl.Text_Cursor_Cursor; [[Start of range]]
|
||||
|
@ -175,7 +170,6 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
|
|||
|
||||
@since 1.19
|
||||
]]
|
||||
legacy: null;
|
||||
params {
|
||||
@cref cur1: Efl.Text_Cursor_Cursor; [[Start of range]]
|
||||
@cref cur2: Efl.Text_Cursor_Cursor; [[End of range]]
|
||||
|
@ -193,7 +187,6 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
|
|||
|
||||
@since 1.19
|
||||
]]
|
||||
legacy: null;
|
||||
params {
|
||||
@cref cur1: Efl.Text_Cursor_Cursor; [[Start of range]]
|
||||
@cref cur2: Efl.Text_Cursor_Cursor; [[End of range]]
|
||||
|
@ -207,7 +200,6 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
|
|||
|
||||
This removes all the text in given range [$start,$end].
|
||||
]]
|
||||
legacy: null;
|
||||
params {
|
||||
@in cur1: ptr(Efl.Text_Cursor_Cursor); [[Range start position]]
|
||||
@in cur2: ptr(Efl.Text_Cursor_Cursor); [[Range end position]]
|
||||
|
@ -262,7 +254,6 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
|
|||
|
||||
@since 1.21
|
||||
]]
|
||||
legacy: null;
|
||||
return: future<Eina.Rect> @owned; [[Future for layout result]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
|
||||
EAPI Eina_Bool
|
||||
evas_object_textblock_visible_range_get(Efl_Canvas_Text *obj, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end)
|
||||
{
|
||||
return efl_canvas_text_visible_range_get(obj, start, end);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_textblock_style_insets_get(const Efl_Canvas_Text *obj, int *l, int *r, int *t, int *b)
|
||||
{
|
||||
efl_canvas_text_style_insets_get(obj, l, r, t, b);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_textblock_bidi_delimiters_set(Efl_Canvas_Text *obj, const char *delim)
|
||||
{
|
||||
efl_canvas_text_bidi_delimiters_set(obj, delim);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
evas_object_textblock_bidi_delimiters_get(const Efl_Canvas_Text *obj)
|
||||
{
|
||||
return efl_canvas_text_bidi_delimiters_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_textblock_legacy_newline_set(Efl_Canvas_Text *obj, Eina_Bool mode)
|
||||
{
|
||||
efl_canvas_text_legacy_newline_set(obj, mode);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_textblock_legacy_newline_get(const Efl_Canvas_Text *obj)
|
||||
{
|
||||
return efl_canvas_text_legacy_newline_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_textblock_size_formatted_get(const Efl_Canvas_Text *obj, int *w, int *h)
|
||||
{
|
||||
efl_canvas_text_size_formatted_get(obj, w, h);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_textblock_size_native_get(const Efl_Canvas_Text *obj, int *w, int *h)
|
||||
{
|
||||
efl_canvas_text_size_native_get(obj, w, h);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_textblock_obstacle_add(Efl_Canvas_Text *obj, Efl_Canvas_Object *eo_obs)
|
||||
{
|
||||
return efl_canvas_text_obstacle_add(obj, eo_obs);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_textblock_obstacle_del(Efl_Canvas_Text *obj, Efl_Canvas_Object *eo_obs)
|
||||
{
|
||||
return efl_canvas_text_obstacle_del(obj, eo_obs);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_textblock_obstacles_update(Efl_Canvas_Text *obj)
|
||||
{
|
||||
efl_canvas_text_obstacles_update(obj);
|
||||
}
|
|
@ -0,0 +1,228 @@
|
|||
#ifndef _EFL_CANVAS_TEXT_EO_LEGACY_H_
|
||||
#define _EFL_CANVAS_TEXT_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EFL_CANVAS_TEXT_EO_CLASS_TYPE
|
||||
#define _EFL_CANVAS_TEXT_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Efl_Canvas_Text;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EFL_CANVAS_TEXT_EO_TYPES
|
||||
#define _EFL_CANVAS_TEXT_EO_TYPES
|
||||
|
||||
/** EFL text style data structure
|
||||
*
|
||||
* @ingroup Efl_Canvas
|
||||
*/
|
||||
typedef struct _Efl_Canvas_Text_Style Efl_Canvas_Text_Style;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* @brief Returns the currently visible range.
|
||||
*
|
||||
* The given @c start and @c end cursor act like out-variables here, as they
|
||||
* are set to the positions of the start and the end of the visible range in
|
||||
* the text, respectively.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] start Range start position
|
||||
* @param[in] end Range end position
|
||||
*
|
||||
* @return @c true on success, @c false otherwise
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_textblock_visible_range_get(Efl_Canvas_Text *obj, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end);
|
||||
|
||||
/**
|
||||
* @brief Gets the left, right, top and bottom insets of the text.
|
||||
*
|
||||
* The inset is any applied padding on the text.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] l Left padding
|
||||
* @param[out] r Right padding
|
||||
* @param[out] t Top padding
|
||||
* @param[out] b Bottom padding
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI void evas_object_textblock_style_insets_get(const Efl_Canvas_Text *obj, int *l, int *r, int *t, int *b);
|
||||
|
||||
/**
|
||||
* @brief BiDi delimiters are used for in-paragraph separation of bidi
|
||||
* segments. This is useful, for example, in the recipient fields of e-mail
|
||||
* clients where bidi oddities can occur when mixing RTL and LTR.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] delim A null terminated string of delimiters, e.g ",|" or @c null
|
||||
* if empty
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI void evas_object_textblock_bidi_delimiters_set(Efl_Canvas_Text *obj, const char *delim);
|
||||
|
||||
/**
|
||||
* @brief BiDi delimiters are used for in-paragraph separation of bidi
|
||||
* segments. This is useful, for example, in the recipient fields of e-mail
|
||||
* clients where bidi oddities can occur when mixing RTL and LTR.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return A null terminated string of delimiters, e.g ",|" or @c null if empty
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI const char *evas_object_textblock_bidi_delimiters_get(const Efl_Canvas_Text *obj);
|
||||
|
||||
/**
|
||||
* @brief When @c true, newline character will behave as a paragraph separator.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] mode @c true for legacy mode, @c false otherwise
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI void evas_object_textblock_legacy_newline_set(Efl_Canvas_Text *obj, Eina_Bool mode);
|
||||
|
||||
/**
|
||||
* @brief When @c true, newline character will behave as a paragraph separator.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return @c true for legacy mode, @c false otherwise
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_textblock_legacy_newline_get(const Efl_Canvas_Text *obj);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief The formatted width and height.
|
||||
*
|
||||
* This calculates the actual size after restricting the textblock to the
|
||||
* current size of the object.
|
||||
*
|
||||
* The main difference between this and
|
||||
* @ref evas_object_textblock_size_native_get is that the "native" function
|
||||
* does not wrapping into account it just calculates the real width of the
|
||||
* object if it was placed on an infinite canvas, while this function gives the
|
||||
* size after wrapping according to the size restrictions of the object.
|
||||
*
|
||||
* For example for a textblock containing the text: "You shall not pass!" with
|
||||
* no margins or padding and assuming a monospace font and a size of 7x10 char
|
||||
* widths (for simplicity) has a native size of 19x1 and a formatted size of
|
||||
* 5x4.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] w The width of the object.
|
||||
* @param[out] h The height of the object.
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI void evas_object_textblock_size_formatted_get(const Efl_Canvas_Text *obj, int *w, int *h);
|
||||
|
||||
/**
|
||||
* @brief The native width and height.
|
||||
*
|
||||
* This calculates the actual size without taking account the current size of
|
||||
* the object.
|
||||
*
|
||||
* The main difference between this and
|
||||
* @ref evas_object_textblock_size_formatted_get is that the "native" function
|
||||
* does not take wrapping into account it just calculates the real width of the
|
||||
* object if it was placed on an infinite canvas, while the "formatted"
|
||||
* function gives the size after wrapping text according to the size
|
||||
* restrictions of the object.
|
||||
*
|
||||
* For example for a textblock containing the text: "You shall not pass!" with
|
||||
* no margins or padding and assuming a monospace font and a size of 7x10 char
|
||||
* widths (for simplicity) has a native size of 19x1 and a formatted size of
|
||||
* 5x4.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] w The width returned.
|
||||
* @param[out] h The height returned.
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI void evas_object_textblock_size_native_get(const Efl_Canvas_Text *obj, int *w, int *h);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Add obstacle evas object @c eo_obs to be observed during layout of
|
||||
* text.
|
||||
*
|
||||
* The textblock does the layout of the text according to the position of the
|
||||
* obstacle.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] eo_obs Obstacle object
|
||||
*
|
||||
* @return @c true on success, @c false otherwise.
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_textblock_obstacle_add(Efl_Canvas_Text *obj, Efl_Canvas_Object *eo_obs);
|
||||
|
||||
/**
|
||||
* @brief Removes @c eo_obs from observation during text layout.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] eo_obs Obstacle object
|
||||
*
|
||||
* @return @c true on success, @c false otherwise.
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_textblock_obstacle_del(Efl_Canvas_Text *obj, Efl_Canvas_Object *eo_obs);
|
||||
|
||||
/**
|
||||
* @brief Triggers for relayout due to obstacles' state change.
|
||||
*
|
||||
* The obstacles alone don't affect the layout, until this is called. Use this
|
||||
* after doing changes (moving, positioning etc.) in the obstacles that you
|
||||
* would like to be considered in the layout.
|
||||
*
|
||||
* For example: if you have just repositioned the obstacles to differrent
|
||||
* coordinates relative to the textblock, you need to call this so it will
|
||||
* consider this new state and will relayout the text.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @since 1.18
|
||||
*
|
||||
* @ingroup Evas_Object_Textblock_Group
|
||||
*/
|
||||
EAPI void evas_object_textblock_obstacles_update(Efl_Canvas_Text *obj);
|
||||
|
||||
|
||||
#endif
|
|
@ -408,3 +408,4 @@ evas_vg_container_add(Efl_VG *parent)
|
|||
}
|
||||
|
||||
#include "efl_canvas_vg_container.eo.c"
|
||||
#include "efl_canvas_vg_container_eo.legacy.c"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class @beta Efl.Canvas.Vg.Container extends Efl.Canvas.Vg.Node
|
||||
{
|
||||
[[Efl vector graphics container class]]
|
||||
legacy_prefix: evas_vg_container;
|
||||
methods {
|
||||
child_get {
|
||||
[[Get child of container]]
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
EAPI Efl_Canvas_Vg_Node *
|
||||
evas_vg_container_child_get(Efl_Canvas_Vg_Container *obj, const char *name)
|
||||
{
|
||||
return efl_canvas_vg_container_child_get(obj, name);
|
||||
}
|
||||
|
||||
EAPI Eina_Iterator *
|
||||
evas_vg_container_children_get(Efl_Canvas_Vg_Container *obj)
|
||||
{
|
||||
return efl_canvas_vg_container_children_get(obj);
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
#ifndef _EFL_CANVAS_VG_CONTAINER_EO_LEGACY_H_
|
||||
#define _EFL_CANVAS_VG_CONTAINER_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EFL_CANVAS_VG_CONTAINER_EO_CLASS_TYPE
|
||||
#define _EFL_CANVAS_VG_CONTAINER_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Efl_Canvas_Vg_Container;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EFL_CANVAS_VG_CONTAINER_EO_TYPES
|
||||
#define _EFL_CANVAS_VG_CONTAINER_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Get child of container
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] name Child node name
|
||||
*
|
||||
* @return Child object
|
||||
*
|
||||
* @ingroup Evas_Vg_Container_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Vg_Node *evas_vg_container_child_get(Efl_Canvas_Vg_Container *obj, const char *name);
|
||||
|
||||
/**
|
||||
* @brief Get all children of container
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Iterator to children
|
||||
*
|
||||
* @ingroup Evas_Vg_Container_Group
|
||||
*/
|
||||
EAPI Eina_Iterator *evas_vg_container_children_get(Efl_Canvas_Vg_Container *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
#endif
|
|
@ -1,7 +1,6 @@
|
|||
abstract @beta Efl.Canvas.Vg.Gradient extends Efl.Canvas.Vg.Node implements Efl.Gfx.Gradient
|
||||
{
|
||||
[[Efl vectopr graphics gradient abstract class]]
|
||||
legacy_prefix: evas_vg_gradient;
|
||||
implements {
|
||||
Efl.Gfx.Gradient.stop { get; set; }
|
||||
Efl.Gfx.Gradient.spread { get; set; }
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class @beta Efl.Canvas.Vg.Gradient_Linear extends Efl.Canvas.Vg.Gradient implements Efl.Gfx.Gradient_Linear
|
||||
{
|
||||
[[Efl vector graphics gradient linear class]]
|
||||
legacy_prefix: evas_vg_gradient_linear;
|
||||
implements {
|
||||
Efl.Gfx.Gradient_Linear.start { get; set; }
|
||||
Efl.Gfx.Gradient_Linear.end { get; set; }
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class @beta Efl.Canvas.Vg.Gradient_Radial extends Efl.Canvas.Vg.Gradient implements Efl.Gfx.Gradient_Radial
|
||||
{
|
||||
[[Efl vector graphics gradient radial class]]
|
||||
legacy_prefix: evas_vg_gradient_radial;
|
||||
implements {
|
||||
Efl.Gfx.Gradient_Radial.center { get; set; }
|
||||
Efl.Gfx.Gradient_Radial.radius { get; set; }
|
||||
|
|
|
@ -843,3 +843,4 @@ evas_vg_node_lower(Eo *obj)
|
|||
}
|
||||
|
||||
#include "efl_canvas_vg_node.eo.c"
|
||||
#include "efl_canvas_vg_node_eo.legacy.c"
|
||||
|
|
|
@ -3,8 +3,6 @@ import eina_types;
|
|||
abstract @beta Efl.Canvas.Vg.Node extends Efl.Object implements Efl.Gfx.Entity, Efl.Gfx.Color, Efl.Gfx.Stack, Efl.Duplicate, Efl.Gfx.Path
|
||||
{
|
||||
[[Efl vector graphics abstract class]]
|
||||
eo_prefix: efl_canvas_vg_node;
|
||||
legacy_prefix: evas_vg_node;
|
||||
methods {
|
||||
@property transformation {
|
||||
set {
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
EAPI void
|
||||
evas_vg_node_transformation_set(Efl_Canvas_Vg_Node *obj, const Eina_Matrix3 *m)
|
||||
{
|
||||
efl_canvas_vg_node_transformation_set(obj, m);
|
||||
}
|
||||
|
||||
EAPI const Eina_Matrix3 *
|
||||
evas_vg_node_transformation_get(const Efl_Canvas_Vg_Node *obj)
|
||||
{
|
||||
return efl_canvas_vg_node_transformation_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_vg_node_origin_set(Efl_Canvas_Vg_Node *obj, double x, double y)
|
||||
{
|
||||
efl_canvas_vg_node_origin_set(obj, x, y);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_vg_node_origin_get(const Efl_Canvas_Vg_Node *obj, double *x, double *y)
|
||||
{
|
||||
efl_canvas_vg_node_origin_get(obj, x, y);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_vg_node_mask_set(Efl_Canvas_Vg_Node *obj, Efl_Canvas_Vg_Node *mask, int op)
|
||||
{
|
||||
efl_canvas_vg_node_mask_set(obj, mask, op);
|
||||
}
|
|
@ -0,0 +1,83 @@
|
|||
#ifndef _EFL_CANVAS_VG_NODE_EO_LEGACY_H_
|
||||
#define _EFL_CANVAS_VG_NODE_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EFL_CANVAS_VG_NODE_EO_CLASS_TYPE
|
||||
#define _EFL_CANVAS_VG_NODE_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Efl_Canvas_Vg_Node;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EFL_CANVAS_VG_NODE_EO_TYPES
|
||||
#define _EFL_CANVAS_VG_NODE_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Sets the transformation matrix to be used for this node object.
|
||||
*
|
||||
* @note Pass @c null to cancel the applied transformation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] m Transformation matrix.
|
||||
*
|
||||
* @since 1.14
|
||||
*
|
||||
* @ingroup Evas_Vg_Node_Group
|
||||
*/
|
||||
EAPI void evas_vg_node_transformation_set(Efl_Canvas_Vg_Node *obj, const Eina_Matrix3 *m);
|
||||
|
||||
/**
|
||||
* @brief Gets the transformation matrix used for this node object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Transformation matrix.
|
||||
*
|
||||
* @since 1.14
|
||||
*
|
||||
* @ingroup Evas_Vg_Node_Group
|
||||
*/
|
||||
EAPI const Eina_Matrix3 *evas_vg_node_transformation_get(const Efl_Canvas_Vg_Node *obj);
|
||||
|
||||
/**
|
||||
* @brief Sets the origin position of the node object.
|
||||
*
|
||||
* This origin position affects node transformation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] x @c origin x position.
|
||||
* @param[in] y @c origin y position.
|
||||
*
|
||||
* @since 1.14
|
||||
*
|
||||
* @ingroup Evas_Vg_Node_Group
|
||||
*/
|
||||
EAPI void evas_vg_node_origin_set(Efl_Canvas_Vg_Node *obj, double x, double y);
|
||||
|
||||
/**
|
||||
* @brief Gets the origin position of the node object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] x @c origin x position.
|
||||
* @param[out] y @c origin y position.
|
||||
*
|
||||
* @since 1.14
|
||||
*
|
||||
* @ingroup Evas_Vg_Node_Group
|
||||
*/
|
||||
EAPI void evas_vg_node_origin_get(const Efl_Canvas_Vg_Node *obj, double *x, double *y);
|
||||
|
||||
/**
|
||||
* @brief Set Mask Node to this renderer
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] mask Mask object
|
||||
* @param[in] op Masking Option. Reserved
|
||||
*
|
||||
* @ingroup Evas_Vg_Node_Group
|
||||
*/
|
||||
EAPI void evas_vg_node_mask_set(Efl_Canvas_Vg_Node *obj, Efl_Canvas_Vg_Node *mask, int op);
|
||||
|
||||
#endif
|
|
@ -752,3 +752,4 @@ evas_object_vg_add(Evas *e)
|
|||
}
|
||||
|
||||
#include "efl_canvas_vg_object.eo.c"
|
||||
#include "efl_canvas_vg_object_eo.legacy.c"
|
||||
|
|
|
@ -24,7 +24,6 @@ enum Efl.Canvas.Vg.Fill_Mode
|
|||
class @beta Efl.Canvas.Vg.Object extends Efl.Canvas.Object implements Efl.File, Efl.File_Save
|
||||
{
|
||||
[[Efl vector graphics class]]
|
||||
legacy_prefix: evas_object_vg;
|
||||
methods {
|
||||
@property fill_mode {
|
||||
[[Control how the viewbox is mapped to the vg canvas's viewport.]]
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
|
||||
EAPI void
|
||||
evas_object_vg_fill_mode_set(Efl_Canvas_Vg_Object *obj, Efl_Canvas_Vg_Fill_Mode fill_mode)
|
||||
{
|
||||
efl_canvas_vg_object_fill_mode_set(obj, fill_mode);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Vg_Fill_Mode
|
||||
evas_object_vg_fill_mode_get(const Efl_Canvas_Vg_Object *obj)
|
||||
{
|
||||
return efl_canvas_vg_object_fill_mode_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_vg_viewbox_set(Efl_Canvas_Vg_Object *obj, Eina_Rect viewbox)
|
||||
{
|
||||
efl_canvas_vg_object_viewbox_set(obj, viewbox);
|
||||
}
|
||||
|
||||
EAPI Eina_Rect
|
||||
evas_object_vg_viewbox_get(const Efl_Canvas_Vg_Object *obj)
|
||||
{
|
||||
return efl_canvas_vg_object_viewbox_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_vg_viewbox_align_set(Efl_Canvas_Vg_Object *obj, double align_x, double align_y)
|
||||
{
|
||||
efl_canvas_vg_object_viewbox_align_set(obj, align_x, align_y);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_vg_viewbox_align_get(const Efl_Canvas_Vg_Object *obj, double *align_x, double *align_y)
|
||||
{
|
||||
efl_canvas_vg_object_viewbox_align_get(obj, align_x, align_y);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_vg_root_node_set(Efl_Canvas_Vg_Object *obj, Efl_Canvas_Vg_Node *root)
|
||||
{
|
||||
efl_canvas_vg_object_root_node_set(obj, root);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Vg_Node *
|
||||
evas_object_vg_root_node_get(const Efl_Canvas_Vg_Object *obj)
|
||||
{
|
||||
return efl_canvas_vg_object_root_node_get(obj);
|
||||
}
|
|
@ -0,0 +1,135 @@
|
|||
#ifndef _EFL_CANVAS_VG_OBJECT_EO_LEGACY_H_
|
||||
#define _EFL_CANVAS_VG_OBJECT_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EFL_CANVAS_VG_OBJECT_EO_CLASS_TYPE
|
||||
#define _EFL_CANVAS_VG_OBJECT_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Efl_Canvas_Vg_Object;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EFL_CANVAS_VG_OBJECT_EO_TYPES
|
||||
#define _EFL_CANVAS_VG_OBJECT_EO_TYPES
|
||||
|
||||
/** Enumeration that defines how viewbox will be filled int the vg canvs's
|
||||
* viewport. default Fill_Mode is @c none
|
||||
*
|
||||
* @ingroup Efl_Canvas_Vg
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
EFL_CANVAS_VG_FILL_MODE_NONE = 0, /**< Don't scale the viewbox. Placed it
|
||||
* inside viewport taking align property
|
||||
* into account */
|
||||
EFL_CANVAS_VG_FILL_MODE_STRETCH, /**< Scale the viewbox so that it matches the
|
||||
* canvas viewport. Aaspect ratio might be
|
||||
* changed. */
|
||||
EFL_CANVAS_VG_FILL_MODE_MEET, /**< Scale the viewbox so that it fits inside
|
||||
* canvas viewport while maintaining the aspect
|
||||
* ratio. At least one of the dimensions of the
|
||||
* viewbox should be equal to the corresponding
|
||||
* dimension of the viewport. */
|
||||
EFL_CANVAS_VG_FILL_MODE_SLICE /**< Scale the viewbox so that it covers the
|
||||
* entire canvas viewport while maintaining the
|
||||
* aspect ratio. At least one of the dimensions
|
||||
* of the viewbox should be equal to the
|
||||
* corresponding dimension of the viewport. */
|
||||
} Efl_Canvas_Vg_Fill_Mode;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Control how the viewbox is mapped to the vg canvas's viewport.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] fill_mode Fill mode type
|
||||
*
|
||||
* @ingroup Evas_Object_Vg_Group
|
||||
*/
|
||||
EAPI void evas_object_vg_fill_mode_set(Efl_Canvas_Vg_Object *obj, Efl_Canvas_Vg_Fill_Mode fill_mode);
|
||||
|
||||
/**
|
||||
* @brief Control how the viewbox is mapped to the vg canvas's viewport.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Fill mode type
|
||||
*
|
||||
* @ingroup Evas_Object_Vg_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Vg_Fill_Mode evas_object_vg_fill_mode_get(const Efl_Canvas_Vg_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Sets the viewbox for the evas vg canvas. viewbox if set should be
|
||||
* mapped to the canvas geometry when rendering the vg tree.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] viewbox viewbox for the vg canvas
|
||||
*
|
||||
* @ingroup Evas_Object_Vg_Group
|
||||
*/
|
||||
EAPI void evas_object_vg_viewbox_set(Efl_Canvas_Vg_Object *obj, Eina_Rect viewbox);
|
||||
|
||||
/**
|
||||
* @brief Get the current viewbox from the evas_object_vg
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return viewbox for the vg canvas
|
||||
*
|
||||
* @ingroup Evas_Object_Vg_Group
|
||||
*/
|
||||
EAPI Eina_Rect evas_object_vg_viewbox_get(const Efl_Canvas_Vg_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Control how the viewbox is positioned inside the viewport.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] align_x Alignment in the horizontal axis (0 <= align_x <= 1).
|
||||
* @param[in] align_y Alignment in the vertical axis (0 <= align_y <= 1).
|
||||
*
|
||||
* @ingroup Evas_Object_Vg_Group
|
||||
*/
|
||||
EAPI void evas_object_vg_viewbox_align_set(Efl_Canvas_Vg_Object *obj, double align_x, double align_y);
|
||||
|
||||
/**
|
||||
* @brief Control how the viewbox is positioned inside the viewport.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] align_x Alignment in the horizontal axis (0 <= align_x <= 1).
|
||||
* @param[out] align_y Alignment in the vertical axis (0 <= align_y <= 1).
|
||||
*
|
||||
* @ingroup Evas_Object_Vg_Group
|
||||
*/
|
||||
EAPI void evas_object_vg_viewbox_align_get(const Efl_Canvas_Vg_Object *obj, double *align_x, double *align_y);
|
||||
|
||||
/**
|
||||
* @brief Set the root node of the evas_object_vg.
|
||||
*
|
||||
* @note To manually create the shape object and show in the Vg object canvas
|
||||
* you must create the hierarchy and set as root node.
|
||||
*
|
||||
* It takes the ownership of the root node.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] root Root node of the VG canvas.
|
||||
*
|
||||
* @ingroup Evas_Object_Vg_Group
|
||||
*/
|
||||
EAPI void evas_object_vg_root_node_set(Efl_Canvas_Vg_Object *obj, Efl_Canvas_Vg_Node *root);
|
||||
|
||||
/**
|
||||
* @brief Get the root node of the evas_object_vg.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Root node of the VG canvas.
|
||||
*
|
||||
* @since 1.14
|
||||
*
|
||||
* @ingroup Evas_Object_Vg_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Vg_Node *evas_object_vg_root_node_get(const Efl_Canvas_Vg_Object *obj);
|
||||
|
||||
#endif
|
|
@ -471,3 +471,4 @@ evas_vg_shape_add(Efl_Canvas_Vg_Node *parent)
|
|||
}
|
||||
|
||||
#include "efl_canvas_vg_shape.eo.c"
|
||||
#include "efl_canvas_vg_shape_eo.legacy.c"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class @beta Efl.Canvas.Vg.Shape extends Efl.Canvas.Vg.Node implements Efl.Gfx.Shape
|
||||
{
|
||||
[[Efl vector graphics shape class]]
|
||||
legacy_prefix: evas_vg_shape;
|
||||
methods {
|
||||
@property fill {
|
||||
[[Fill of the shape object]]
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
|
||||
EAPI void
|
||||
evas_vg_shape_fill_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *f)
|
||||
{
|
||||
efl_canvas_vg_shape_fill_set(obj, f);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Vg_Node *
|
||||
evas_vg_shape_fill_get(const Efl_Canvas_Vg_Shape *obj)
|
||||
{
|
||||
return efl_canvas_vg_shape_fill_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_vg_shape_stroke_fill_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *f)
|
||||
{
|
||||
efl_canvas_vg_shape_stroke_fill_set(obj, f);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Vg_Node *
|
||||
evas_vg_shape_stroke_fill_get(const Efl_Canvas_Vg_Shape *obj)
|
||||
{
|
||||
return efl_canvas_vg_shape_stroke_fill_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_vg_shape_stroke_marker_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *m)
|
||||
{
|
||||
efl_canvas_vg_shape_stroke_marker_set(obj, m);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Vg_Node *
|
||||
evas_vg_shape_stroke_marker_get(const Efl_Canvas_Vg_Shape *obj)
|
||||
{
|
||||
return efl_canvas_vg_shape_stroke_marker_get(obj);
|
||||
}
|
|
@ -0,0 +1,80 @@
|
|||
#ifndef _EFL_CANVAS_VG_SHAPE_EO_LEGACY_H_
|
||||
#define _EFL_CANVAS_VG_SHAPE_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EFL_CANVAS_VG_SHAPE_EO_CLASS_TYPE
|
||||
#define _EFL_CANVAS_VG_SHAPE_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Efl_Canvas_Vg_Shape;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EFL_CANVAS_VG_SHAPE_EO_TYPES
|
||||
#define _EFL_CANVAS_VG_SHAPE_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Fill of the shape object
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] f Fill object
|
||||
*
|
||||
* @ingroup Evas_Vg_Shape_Group
|
||||
*/
|
||||
EAPI void evas_vg_shape_fill_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *f);
|
||||
|
||||
/**
|
||||
* @brief Fill of the shape object
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Fill object
|
||||
*
|
||||
* @ingroup Evas_Vg_Shape_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Vg_Node *evas_vg_shape_fill_get(const Efl_Canvas_Vg_Shape *obj);
|
||||
|
||||
/**
|
||||
* @brief Stroke fill of the shape object
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] f Stroke fill object
|
||||
*
|
||||
* @ingroup Evas_Vg_Shape_Group
|
||||
*/
|
||||
EAPI void evas_vg_shape_stroke_fill_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *f);
|
||||
|
||||
/**
|
||||
* @brief Stroke fill of the shape object
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Stroke fill object
|
||||
*
|
||||
* @ingroup Evas_Vg_Shape_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Vg_Node *evas_vg_shape_stroke_fill_get(const Efl_Canvas_Vg_Shape *obj);
|
||||
|
||||
/**
|
||||
* @brief Stroke marker of the shape object
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] m Stroke marker object
|
||||
*
|
||||
* @ingroup Evas_Vg_Shape_Group
|
||||
*/
|
||||
EAPI void evas_vg_shape_stroke_marker_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *m);
|
||||
|
||||
/**
|
||||
* @brief Stroke marker of the shape object
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Stroke marker object
|
||||
*
|
||||
* @ingroup Evas_Vg_Shape_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Vg_Node *evas_vg_shape_stroke_marker_get(const Efl_Canvas_Vg_Shape *obj);
|
||||
|
||||
#endif
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <Evas.h>
|
||||
#include <Evas_Internal.h>
|
||||
#include "canvas/evas_canvas.eo.h"
|
||||
#include "canvas/evas_canvas_eo.h"
|
||||
|
||||
#define EFL_INTERNAL_UNSTABLE
|
||||
#include "interfaces/efl_common_internal.h"
|
||||
|
|
|
@ -1,669 +0,0 @@
|
|||
type @extern Evas_Object_Box_Data: __undefined_type; [[Evas object box data type]] /* FIXME: Not implemented because annonymous structs are not supported */
|
||||
type @extern Evas_Object_Box_Option: __undefined_type; [[Evas object box option type]] /* FIXME: Not implemented because bitfields are not supported. */
|
||||
type @extern Evas_Object_Box_Layout: __undefined_type; [[Evas object box layout type]] /* FIXME: Function pointers are not supported */
|
||||
type @extern Eina_Free_Cb: __undefined_type; [[Eina free callback type]] /* FIXME: Function pointers are not supported */
|
||||
type @extern va_list: __undefined_type; [[va_list type]] /* FIXME: va_list is not supported */
|
||||
|
||||
class Evas.Box extends Efl.Canvas.Group
|
||||
{
|
||||
[[Evas box class]]
|
||||
legacy_prefix: evas_object_box;
|
||||
eo_prefix: evas_obj_box;
|
||||
event_prefix: evas_box;
|
||||
data: Evas_Object_Box_Data;
|
||||
methods {
|
||||
@property align {
|
||||
set {
|
||||
[[Set the alignment of the whole bounding box of contents, for a
|
||||
given box object.
|
||||
|
||||
This will influence how a box object is to align its bounding box
|
||||
of contents within its own area. The values must be in the range
|
||||
$0.0 - $1.0, or undefined behavior is expected. For horizontal
|
||||
alignment, $0.0 means to the left, with $1.0 meaning to the
|
||||
right. For vertical alignment, $0.0 means to the top, with $1.0
|
||||
meaning to the bottom.
|
||||
|
||||
Note: The default values for both alignments is $0.5.
|
||||
|
||||
See also @.align.get.]]
|
||||
}
|
||||
get {
|
||||
[[Get the alignment of the whole bounding box of contents, for a
|
||||
given box object.
|
||||
|
||||
See also @.align.set for more information.]]
|
||||
}
|
||||
values {
|
||||
horizontal: double; [[The horizontal alignment, in pixels.]]
|
||||
vertical: double; [[The vertical alignment, in pixels.]]
|
||||
}
|
||||
}
|
||||
@property padding {
|
||||
set {
|
||||
[[Set the (space) padding between cells set for a given box object.
|
||||
|
||||
Note: The default values for both padding components is $0.
|
||||
|
||||
See also @.padding.get.]]
|
||||
}
|
||||
get {
|
||||
[[Get the (space) padding between cells set for a given box object.
|
||||
|
||||
See also @.padding.set.]]
|
||||
}
|
||||
values {
|
||||
horizontal: int; [[The horizontal padding, in pixels.]]
|
||||
vertical: int; [[The vertical padding, in pixels.]]
|
||||
}
|
||||
}
|
||||
@property layout {
|
||||
set {
|
||||
[[Set a new layouting function to a given box object
|
||||
|
||||
A box layout function affects how a box object displays child
|
||||
elements within its area. The list of pre-defined box layouts
|
||||
available in Evas are @.layout_horizontal, @.layout_vertical,
|
||||
@.layout_homogeneous_horizontal, @.layout_homogeneous_vertical,
|
||||
@.layout_homogeneous_max_size_horizontal, @.layout_homogeneous_max_size_vertical,
|
||||
@.layout_flow_horizontal, @.layout_flow_vertical and @.layout_stack
|
||||
|
||||
Refer to each of their documentation texts for details on them.
|
||||
|
||||
Note: A box layouting function will be triggered by the
|
||||
$'calculate' smart callback of the box's smart class.]]
|
||||
}
|
||||
values {
|
||||
cb: Evas_Object_Box_Layout @nonull; [[The new layout function to set on $o.]]
|
||||
data: const(void_ptr); [[Data pointer to be passed to $cb.]]
|
||||
free_data: Eina_Free_Cb; [[Function to free $data, if need be.]]
|
||||
}
|
||||
}
|
||||
layout_horizontal {
|
||||
[[Layout function which sets the box o to a (basic) horizontal box
|
||||
|
||||
In this layout, the box object's overall behavior is controlled by
|
||||
its padding/alignment properties, which are set by the
|
||||
evas_object_box_{h,v}_{align,padding}_set family of
|
||||
functions. The size hints of the elements in the box -- set by the
|
||||
evas_object_size_hint_{align,padding,weight}_set functions
|
||||
-- also control the way this function works.
|
||||
|
||||
Box's properties:
|
||||
$align_h controls the horizontal alignment of the child objects
|
||||
relative to the containing box. When set to $0.0, children are
|
||||
aligned to the left. A value of $1.0 makes them aligned to the
|
||||
right border. Values in between align them proportionally. Note
|
||||
that if the size required by the children, which is given by their
|
||||
widths and the $padding_h property of the box, is bigger than the
|
||||
their container's width, the children will be displayed out of the
|
||||
box's bounds. A negative value of $align_h makes the box to
|
||||
justify its children. The padding between them, in this case, is
|
||||
corrected so that the leftmost one touches the left border and the
|
||||
rightmost one touches the right border (even if they must
|
||||
overlap). The $align_v and $padding_v properties of the box
|
||||
don't contribute to its behaviour when this layout is chosen.
|
||||
|
||||
Child element's properties:
|
||||
$align_x does not influence the box's behavior. $padding_l
|
||||
and $padding_r sum up to the container's horizontal padding
|
||||
between elements. The child's $padding_t, $padding_b and
|
||||
$align_y properties apply for padding/alignment relative to the
|
||||
overall height of the box. Finally, there is the $weight_x
|
||||
property, which, if set to a non-zero value, tells the container
|
||||
that the child width is not pre-defined. If the container can't
|
||||
accommodate all its children, it sets the widths of the ones
|
||||
with weights to sizes as small as they can all fit into
|
||||
it. If the size required by the children is less than the
|
||||
available, the box increases its childrens' (which have weights)
|
||||
widths as to fit the remaining space. The $weight_x property,
|
||||
besides telling the element is resizable, gives a weight for the
|
||||
resizing process. The parent box will try to distribute (or take
|
||||
off) widths accordingly to the normalized list of weights: most
|
||||
weighted children remain/get larger in this process than the least
|
||||
ones. $weight_y does not influence the layout.
|
||||
|
||||
If one desires that, besides having weights, child elements must be
|
||||
resized bounded to a minimum or maximum size, those size hints must
|
||||
be set, by the evas_object_size_hint_{min,max}_set
|
||||
functions.]]
|
||||
params {
|
||||
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
}
|
||||
layout_vertical {
|
||||
[[Layout function which sets the box o to a (basic) vertical box
|
||||
|
||||
This function behaves analogously to
|
||||
evas_object_box_layout_horizontal. The description of its
|
||||
behaviour can be derived from that function's documentation.]]
|
||||
params {
|
||||
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
}
|
||||
layout_homogeneous_max_size_horizontal {
|
||||
[[Layout function which sets the box o to a maximum size,
|
||||
homogeneous horizontal box
|
||||
|
||||
In a maximum size, homogeneous horizontal box, besides having cells
|
||||
of equal size reserved for the child objects, this size will
|
||||
be defined by the size of the largest child in the box (in
|
||||
width). The box's overall behavior is controlled by its properties,
|
||||
which are set by the
|
||||
evas_object_box_{h,v}_{align,padding}_set family of
|
||||
functions. The size hints of the elements in the box -- set by the
|
||||
evas_object_size_hint_{align,padding,weight}_set functions
|
||||
-- also control the way this function works.
|
||||
|
||||
Box's properties:
|
||||
$padding_h tells the box to draw empty spaces of that size, in
|
||||
pixels, between the child objects' cells. $align_h controls the
|
||||
horizontal alignment of the child objects, relative to the
|
||||
containing box. When set to $0.0, children are aligned to the
|
||||
left. A value of $1.0 lets them aligned to the right
|
||||
border. Values in between align them proportionally. A negative
|
||||
value of $align_h makes the box to justify its children
|
||||
cells. The padding between them, in this case, is corrected so that
|
||||
the leftmost one touches the left border and the rightmost one
|
||||
touches the right border (even if they must overlap). The
|
||||
$align_v and $padding_v properties of the box don't contribute to
|
||||
its behaviour when this layout is chosen.
|
||||
|
||||
Child element's properties:
|
||||
$padding_l and $padding_r sum up to the required width of the
|
||||
child element. The $align_x property tells the relative position
|
||||
of this overall child width in its allocated cell ($0.0 to
|
||||
extreme left, $1.0 to extreme right). A value of $-1.0 to
|
||||
$align_x makes the box try to resize this child element to the exact
|
||||
width of its cell (respecting the minimum and maximum size hints on
|
||||
the child's width and accounting for its horizontal padding
|
||||
hints). The child's $padding_t, $padding_b and $align_y
|
||||
properties apply for padding/alignment relative to the overall
|
||||
height of the box. A value of $-1.0 to $align_y makes the box
|
||||
try to resize this child element to the exact height of its parent
|
||||
(respecting the max hint on the child's height).]]
|
||||
params {
|
||||
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
|
||||
}
|
||||
internal_remove {
|
||||
[[No description supplied by the EAPI.]]
|
||||
return: Efl.Canvas.Object; [[New object with child removed]]
|
||||
legacy: null;
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[Child object to be removed]]
|
||||
}
|
||||
}
|
||||
layout_flow_vertical {
|
||||
[[Layout function which sets the box o to a flow vertical box.
|
||||
|
||||
This function behaves analogously to
|
||||
evas_object_box_layout_flow_horizontal. The description of its
|
||||
behaviour can be derived from that function's documentation.]]
|
||||
params {
|
||||
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
}
|
||||
internal_option_free {
|
||||
[[No description supplied by the EAPI.]]
|
||||
legacy: null;
|
||||
params {
|
||||
@in opt: ptr(Evas_Object_Box_Option); [[Box option to be freed]]
|
||||
}
|
||||
}
|
||||
insert_after {
|
||||
[[Insert a new child object after another existing one, in
|
||||
a given box object o.
|
||||
|
||||
On success, the $"child,added" smart event will take place.
|
||||
|
||||
Note: This function will fail if $reference is not a member of $o.
|
||||
|
||||
Note: The actual placing of the item relative to $o's area will
|
||||
depend on the layout set to it.
|
||||
|
||||
Note: This call will trigger the box's
|
||||
_Evas_Object_Box_Api.insert_after smart function.]]
|
||||
|
||||
return: ptr(Evas_Object_Box_Option); [[A box option bound to the recently added box item or
|
||||
$null, on errors]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[A child Evas object to be made a member of $o.]]
|
||||
@in reference: const(Efl.Canvas.Object) @nonull; [[The child object to place this new one after.]]
|
||||
}
|
||||
}
|
||||
remove_all {
|
||||
[[Remove all child objects from a box object, unparenting them again.
|
||||
|
||||
This has the same effect of calling evas_object_box_remove on
|
||||
each of $o's child objects, in sequence. If, and only if, all
|
||||
those calls succeed, so does this one.]]
|
||||
|
||||
return: bool; [[$true on success, $false otherwise.]]
|
||||
params {
|
||||
@in clear: bool; [[If $true, it will delete just removed children.]]
|
||||
}
|
||||
}
|
||||
iterator_new @const {
|
||||
[[Get an iterator to walk the list of children of a given box object.
|
||||
|
||||
Note: Do not remove or delete objects while walking the list.]]
|
||||
return: iterator<Efl.Canvas.Object> @owned
|
||||
@warn_unused; [[An iterator on $o's child objects, on success, or $null, on errors.]]
|
||||
}
|
||||
add_to {
|
||||
[[Add a new box as a child of a given smart object.
|
||||
|
||||
This is a helper function that has the same effect of putting a new
|
||||
box object into $parent by use of evas_object_smart_member_add.]]
|
||||
|
||||
return: Efl.Canvas.Object @warn_unused; [[$null on error, a pointer to a new box object on
|
||||
success.]]
|
||||
}
|
||||
append {
|
||||
[[Append a new child object to the given box object o.
|
||||
|
||||
On success, the $"child,added" smart event will take place.
|
||||
|
||||
Note: The actual placing of the item relative to $o's area will
|
||||
depend on the layout set to it. For example, on horizontal layouts
|
||||
an item in the end of the box's list of children will appear on its
|
||||
right.
|
||||
|
||||
Note: This call will trigger the box's _Evas_Object_Box_Api.append
|
||||
smart function.]]
|
||||
|
||||
return: ptr(Evas_Object_Box_Option); [[A box option bound to the recently added box item or
|
||||
$null, on errors.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[A child Evas object to be made a member of $o.]]
|
||||
}
|
||||
}
|
||||
option_property_id_get @const {
|
||||
[[Get the numerical identifier of the property of the child elements
|
||||
of the box o which have name as name string
|
||||
|
||||
Note: This call won't do anything for a canonical Evas box. Only
|
||||
users which have subclassed it, setting custom box items options
|
||||
(see #Evas_Object_Box_Option) on it, would benefit from this
|
||||
function. They'd have to implement it and set it to be the
|
||||
_Evas_Object_Box_Api.property_id_get smart class function of the
|
||||
box, which is originally set to $null.]]
|
||||
return: int @warn_unused; [[The numerical ID of the given property or $-1, on
|
||||
errors.]]
|
||||
params {
|
||||
@in name: string @nonull; [[The name string of the option being searched, for
|
||||
its ID.]]
|
||||
}
|
||||
}
|
||||
prepend {
|
||||
[[Prepend a new child object to the given box object o.
|
||||
|
||||
On success, the $"child,added" smart event will take place.
|
||||
|
||||
Note: The actual placing of the item relative to $o's area will
|
||||
depend on the layout set to it. For example, on horizontal layouts
|
||||
an item in the beginning of the box's list of children will appear
|
||||
on its left.
|
||||
|
||||
Note: This call will trigger the box's
|
||||
_Evas_Object_Box_Api.prepend smart function.]]
|
||||
|
||||
return: ptr(Evas_Object_Box_Option); [[A box option bound to the recently added box item or
|
||||
$null, on errors.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[A child Evas object to be made a member of $o.]]
|
||||
}
|
||||
}
|
||||
accessor_new @const {
|
||||
[[Get an accessor (a structure providing random items access) to the
|
||||
list of children of a given box object.
|
||||
|
||||
Note: Do not remove or delete objects while walking the list.]]
|
||||
return: accessor<Efl.Canvas.Object> @owned
|
||||
@warn_unused; [[An accessor on $o's child objects, on success, or $null,
|
||||
on errors.]]
|
||||
}
|
||||
internal_append {
|
||||
[[No description supplied by the EAPI.]]
|
||||
legacy: null;
|
||||
return: ptr(Evas_Object_Box_Option); [[Box option]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[Child object to be appended]]
|
||||
}
|
||||
}
|
||||
option_property_vset {
|
||||
[[Set a property value (by its given numerical identifier), on a
|
||||
given box child element -- by a variable argument list
|
||||
|
||||
This is a variable argument list variant of the
|
||||
evas_object_box_option_property_set. See its documentation for
|
||||
more details.]]
|
||||
|
||||
return: bool; [[$true on success, $false on failure.]]
|
||||
params {
|
||||
@in opt: ptr(Evas_Object_Box_Option) @nonull; [[The box option structure bound to the child box element
|
||||
to set a property on.]]
|
||||
@in property: int; [[The numerical ID of the given property.]]
|
||||
@in args: ptr(va_list); [[The variable argument list implementing the value to
|
||||
be set for this property. It must be of the same type the user has
|
||||
defined for it.]]
|
||||
}
|
||||
legacy: null;
|
||||
}
|
||||
internal_remove_at {
|
||||
[[No description supplied by the EAPI.]]
|
||||
legacy: null;
|
||||
return: Efl.Canvas.Object; [[Canvas object]]
|
||||
params {
|
||||
@in pos: uint; [[Position of object to be removed]]
|
||||
}
|
||||
}
|
||||
remove_at {
|
||||
[[Remove an object, bound to a given position in a box object,
|
||||
unparenting it again.
|
||||
|
||||
On removal, you'll get an unparented object again, just as it was
|
||||
before you inserted it in the box. The $option_free box smart
|
||||
callback will be called automatically for you and, also, the
|
||||
$"child,removed" smart event will take place.
|
||||
|
||||
Note: This function will fail if the given position is invalid,
|
||||
given $o's internal list of elements.
|
||||
|
||||
Note: This call will trigger the box's
|
||||
_Evas_Object_Box_Api.remove_at smart function.]]
|
||||
|
||||
return: bool; [[$true on success, $false on failure.]]
|
||||
params {
|
||||
@in pos: uint; [[The numeric position (starting from $0) of the child
|
||||
object to be removed.]]
|
||||
}
|
||||
}
|
||||
option_property_vget @const {
|
||||
[[Get a property's value (by its given numerical identifier), on a
|
||||
given box child element -- by a variable argument list
|
||||
|
||||
This is a variable argument list variant of the
|
||||
evas_object_box_option_property_get. See its documentation for
|
||||
more details.]]
|
||||
return: bool; [[$true on success, $false on failure.]]
|
||||
params {
|
||||
@in opt: ptr(Evas_Object_Box_Option) @nonull; [[The box option structure bound to the child box element
|
||||
to get a property from.]]
|
||||
@in property: int; [[The numerical ID of the given property.]]
|
||||
@in args: ptr(va_list); [[The variable argument list with pointers to where to
|
||||
store the values of this property. They must point to variables
|
||||
of the same type the user has defined for them.]]
|
||||
}
|
||||
legacy: null;
|
||||
}
|
||||
internal_insert_at {
|
||||
[[No description supplied by the EAPI.]]
|
||||
legacy: null;
|
||||
return: ptr(Evas_Object_Box_Option); [[Box option]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[Child object to be inserted]]
|
||||
@in pos: uint; [[Position where the object will be inserted]]
|
||||
}
|
||||
}
|
||||
insert_before {
|
||||
[[Insert a new child object before another existing one, in
|
||||
a given box object o.
|
||||
|
||||
On success, the $"child,added" smart event will take place.
|
||||
|
||||
Note: This function will fail if $reference is not a member of $o.
|
||||
|
||||
Note: The actual placing of the item relative to $o's area will
|
||||
depend on the layout set to it.
|
||||
|
||||
Note: This call will trigger the box's
|
||||
_Evas_Object_Box_Api.insert_before smart function.]]
|
||||
|
||||
return: ptr(Evas_Object_Box_Option); [[A box option bound to the recently added box item or
|
||||
$null, on errors.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[A child Evas object to be made a member of $o.]]
|
||||
@in reference: const(Efl.Canvas.Object) @nonull; [[The child object to place this new one before.]]
|
||||
}
|
||||
}
|
||||
option_property_name_get @const {
|
||||
[[Get the name of the property of the child elements of the box o
|
||||
which have id as identifier
|
||||
|
||||
Note: This call won't do anything for a canonical Evas box. Only
|
||||
users which have subclassed it, setting custom box items options
|
||||
(see #Evas_Object_Box_Option) on it, would benefit from this
|
||||
function. They'd have to implement it and set it to be the
|
||||
_Evas_Object_Box_Api.property_name_get smart class function of the
|
||||
box, which is originally set to $null.]]
|
||||
return: string @warn_unused; [[The name of the given property or $null, on errors.]]
|
||||
params {
|
||||
@in property: int; [[The numerical identifier of the option being searched,
|
||||
for its name.]]
|
||||
}
|
||||
}
|
||||
internal_insert_before {
|
||||
[[No description supplied by the EAPI.]]
|
||||
legacy: null;
|
||||
return: ptr(Evas_Object_Box_Option); [[Box option]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[Object to be inserted]]
|
||||
@in reference: const(Efl.Canvas.Object); [[Reference where the object will be inserted]]
|
||||
}
|
||||
}
|
||||
layout_homogeneous_horizontal {
|
||||
[[Layout function which sets the box o to a homogeneous
|
||||
horizontal box
|
||||
|
||||
In a homogeneous horizontal box, its width is divided equally
|
||||
between the contained objects. The box's overall behavior is
|
||||
controlled by its padding/alignment properties, which are set by
|
||||
the evas_object_box_{h,v}_{align,padding}_set family of
|
||||
functions. The size hints the elements in the box -- set by the
|
||||
evas_object_size_hint_{align,padding,weight}_set functions
|
||||
-- also control the way this function works.
|
||||
|
||||
Box's properties:
|
||||
$align_h has no influence on the box for this layout.
|
||||
$padding_h tells the box to draw empty spaces of that size, in
|
||||
pixels, between the (equal) child objects' cells. The $align_v
|
||||
and $padding_v properties of the box don't contribute to its
|
||||
behaviour when this layout is chosen.
|
||||
|
||||
Child element's properties:
|
||||
$padding_l and $padding_r sum up to the required width of the
|
||||
child element. The $align_x property tells the relative position
|
||||
of this overall child width in its allocated cell ($0.0 to
|
||||
extreme left, $1.0 to extreme right). A value of $-1.0 to
|
||||
$align_x makes the box try to resize this child element to the exact
|
||||
width of its cell (respecting the minimum and maximum size hints on
|
||||
the child's width and accounting for its horizontal padding
|
||||
hints). The child's $padding_t, $padding_b and $align_y
|
||||
properties apply for padding/alignment relative to the overall
|
||||
height of the box. A value of $-1.0 to $align_y makes the box
|
||||
try to resize this child element to the exact height of its parent
|
||||
(respecting the maximum size hint on the child's height).]]
|
||||
params {
|
||||
@in priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
@in data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
}
|
||||
internal_option_new {
|
||||
[[No description supplied by the EAPI.]]
|
||||
legacy: null;
|
||||
return: ptr(Evas_Object_Box_Option); [[Box option]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[New box object]]
|
||||
}
|
||||
}
|
||||
layout_homogeneous_max_size_vertical {
|
||||
[[Layout function which sets the box o to a maximum size,
|
||||
homogeneous vertical box
|
||||
|
||||
This function behaves analogously to
|
||||
evas_object_box_layout_homogeneous_max_size_horizontal. The
|
||||
description of its behaviour can be derived from that function's
|
||||
documentation.]]
|
||||
params {
|
||||
@in priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
@in data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
}
|
||||
internal_insert_after {
|
||||
[[No description supplied by the EAPI.]]
|
||||
legacy: null;
|
||||
return: ptr(Evas_Object_Box_Option); [[Box option]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[Object to be inserted]]
|
||||
@in reference: const(Efl.Canvas.Object); [[Reference where the object will be inserted]]
|
||||
}
|
||||
}
|
||||
insert_at {
|
||||
[[Insert a new child object at a given position, in a given
|
||||
box object $o.
|
||||
|
||||
On success, the $"child,added" smart event will take place.
|
||||
|
||||
Note: This function will fail if the given position is invalid,
|
||||
given $o's internal list of elements.
|
||||
|
||||
Note: The actual placing of the item relative to $o's area will
|
||||
depend on the layout set to it.
|
||||
|
||||
Note: This call will trigger the box's
|
||||
_Evas_Object_Box_Api.insert_at smart function.]]
|
||||
|
||||
return: ptr(Evas_Object_Box_Option); [[A box option bound to the recently added box item or
|
||||
$null, on errors.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[A child Evas object to be made a member of $o.]]
|
||||
@in pos: uint; [[The numeric position (starting from $0) to place the
|
||||
new child object at.]]
|
||||
}
|
||||
}
|
||||
internal_prepend {
|
||||
[[No description supplied by the EAPI.]]
|
||||
legacy: null;
|
||||
return: ptr(Evas_Object_Box_Option); [[Box option]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[Object to be prepended]]
|
||||
}
|
||||
}
|
||||
remove {
|
||||
[[Remove a given object from a box object, unparenting it again.
|
||||
|
||||
On removal, you'll get an unparented object again, just as it was
|
||||
before you inserted it in the box. The
|
||||
_Evas_Object_Box_Api.option_free box smart callback will be called
|
||||
automatically for you and, also, the $"child,removed" smart event
|
||||
will take place.
|
||||
|
||||
Note: This call will trigger the box's _Evas_Object_Box_Api.remove
|
||||
smart function.]]
|
||||
|
||||
return: bool; [[$true on success, $false otherwise.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[The handle to the child object to be removed.]]
|
||||
}
|
||||
}
|
||||
layout_stack {
|
||||
[[Layout function which sets the box o to a stacking box
|
||||
|
||||
In a stacking box, all children will be given the same size -- the
|
||||
box's own size -- and they will be stacked one above the other, so
|
||||
that the first object in $o's internal list of child elements
|
||||
will be the bottommost in the stack.
|
||||
|
||||
Box's properties:
|
||||
No box properties are used.
|
||||
|
||||
Child element's properties:
|
||||
$padding_l and $padding_r sum up to the required width of the
|
||||
child element. The $align_x property tells the relative position
|
||||
of this overall child width in its allocated cell ($0.0 to
|
||||
extreme left, $1.0 to extreme right). A value of $-1.0 to
|
||||
$align_x makes the box try to resize this child element to the exact
|
||||
width of its cell (respecting the min and max hints on the child's
|
||||
width and accounting for its horizontal padding properties). The
|
||||
same applies to the vertical axis.]]
|
||||
params {
|
||||
@in priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
@in data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
}
|
||||
layout_homogeneous_vertical {
|
||||
[[Layout function which sets the box o to a homogeneous
|
||||
vertical box.
|
||||
|
||||
This function behaves analogously to
|
||||
evas_object_box_layout_homogeneous_horizontal. The description
|
||||
of its behaviour can be derived from that function's documentation.]]
|
||||
params {
|
||||
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
}
|
||||
layout_flow_horizontal {
|
||||
[[Layout function which sets the box o to a flow horizontal
|
||||
box.
|
||||
|
||||
In a flow horizontal box, the box's child elements are placed in
|
||||
rows (think of text as an analogy). A row has as many elements as
|
||||
can fit into the box's width. The box's overall behavior is
|
||||
controlled by its properties, which are set by the
|
||||
evas_object_box_{h,v}_{align,padding}_set family of
|
||||
functions. The size hints of the elements in the box -- set by the
|
||||
evas_object_size_hint_{align,padding,weight}_set functions
|
||||
-- also control the way this function works.
|
||||
|
||||
Box's properties:
|
||||
$padding_h tells the box to draw empty spaces of that size, in
|
||||
pixels, between the child objects' cells. $align_h dictates the
|
||||
horizontal alignment of the rows ($0.0 to left align them, $1.0
|
||||
to right align). A value of $-1.0 to $align_h lets the rows
|
||||
justified horizontally. $align_v controls the vertical alignment
|
||||
of the entire set of rows ($0.0 to top, $1.0 to bottom). A
|
||||
value of $-1.0 to $align_v makes the box to justify the rows
|
||||
vertically. The padding between them in this case is corrected so
|
||||
that the first row touches the top border and the last one touches
|
||||
the bottom border (even if they must overlap). $padding_v has no
|
||||
influence on the layout.
|
||||
|
||||
Child element's properties:
|
||||
$padding_l and $padding_r sum up to the required width of the
|
||||
child element. The $align_x property has no influence on the
|
||||
layout. The child's $padding_t and $padding_b sum up to the
|
||||
required height of the child element and is the only means (besides
|
||||
row justifying) of setting space between rows. Note, however, that
|
||||
$align_y dictates positioning relative to the largest
|
||||
height required by a child object in the actual row.]]
|
||||
params {
|
||||
priv: ptr(Evas_Object_Box_Data); [[Private data pointer]]
|
||||
data: void_ptr; [[Data pointer]]
|
||||
}
|
||||
}
|
||||
count {
|
||||
[[Returns the number of items in the box.]]
|
||||
legacy: null;
|
||||
return: int; [[Number of items in the box]]
|
||||
}
|
||||
}
|
||||
implements {
|
||||
class.constructor;
|
||||
Efl.Object.constructor;
|
||||
Efl.Gfx.Entity.size { set; }
|
||||
Efl.Gfx.Entity.position { set; }
|
||||
Efl.Canvas.Group.group_calculate;
|
||||
}
|
||||
events {
|
||||
child,added: ptr(Evas_Object_Box_Option); [[Called when a child object was added to the box]]
|
||||
child,removed: Efl.Canvas.Object; [[Called when a child object was removed from the box]]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,248 @@
|
|||
EWAPI const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_ADDED =
|
||||
EFL_EVENT_DESCRIPTION("child,added");
|
||||
EWAPI const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_REMOVED =
|
||||
EFL_EVENT_DESCRIPTION("child,removed");
|
||||
|
||||
void _evas_box_align_set(Eo *obj, Evas_Object_Box_Data *pd, double horizontal, double vertical);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_align_set, EFL_FUNC_CALL(horizontal, vertical), double horizontal, double vertical);
|
||||
|
||||
void _evas_box_align_get(const Eo *obj, Evas_Object_Box_Data *pd, double *horizontal, double *vertical);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_box_align_get, EFL_FUNC_CALL(horizontal, vertical), double *horizontal, double *vertical);
|
||||
|
||||
void _evas_box_padding_set(Eo *obj, Evas_Object_Box_Data *pd, int horizontal, int vertical);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_padding_set, EFL_FUNC_CALL(horizontal, vertical), int horizontal, int vertical);
|
||||
|
||||
void _evas_box_padding_get(const Eo *obj, Evas_Object_Box_Data *pd, int *horizontal, int *vertical);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_box_padding_get, EFL_FUNC_CALL(horizontal, vertical), int *horizontal, int *vertical);
|
||||
|
||||
void _evas_box_layout_set(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_set, EFL_FUNC_CALL(cb, data, free_data), Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data);
|
||||
|
||||
void _evas_box_layout_horizontal(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
void _evas_box_layout_vertical(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
void _evas_box_layout_homogeneous_max_size_horizontal(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_max_size_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
Efl_Canvas_Object *_evas_box_internal_remove(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_remove, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
void _evas_box_layout_flow_vertical(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_flow_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
void _evas_box_internal_option_free(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Option *opt);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_internal_option_free, EFL_FUNC_CALL(opt), Evas_Object_Box_Option *opt);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_insert_after(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_insert_after, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
Eina_Bool _evas_box_remove_all(Eo *obj, Evas_Object_Box_Data *pd, Eina_Bool clear);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_remove_all, Eina_Bool, 0, EFL_FUNC_CALL(clear), Eina_Bool clear);
|
||||
|
||||
Eina_Iterator *_evas_box_iterator_new(const Eo *obj, Evas_Object_Box_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_box_iterator_new, Eina_Iterator *, NULL);
|
||||
|
||||
Efl_Canvas_Object *_evas_box_add_to(Eo *obj, Evas_Object_Box_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY(evas_obj_box_add_to, Efl_Canvas_Object *, NULL);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_append(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_append, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
int _evas_box_option_property_id_get(const Eo *obj, Evas_Object_Box_Data *pd, const char *name);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_id_get, int, 0, EFL_FUNC_CALL(name), const char *name);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_prepend(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_prepend, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
Eina_Accessor *_evas_box_accessor_new(const Eo *obj, Evas_Object_Box_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_box_accessor_new, Eina_Accessor *, NULL);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_internal_append(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_append, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
Eina_Bool _evas_box_option_property_vset(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Option *opt, int property, va_list *args);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_option_property_vset, Eina_Bool, 0, EFL_FUNC_CALL(opt, property, args), Evas_Object_Box_Option *opt, int property, va_list *args);
|
||||
|
||||
Efl_Canvas_Object *_evas_box_internal_remove_at(Eo *obj, Evas_Object_Box_Data *pd, unsigned int pos);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_remove_at, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(pos), unsigned int pos);
|
||||
|
||||
Eina_Bool _evas_box_remove_at(Eo *obj, Evas_Object_Box_Data *pd, unsigned int pos);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_remove_at, Eina_Bool, 0, EFL_FUNC_CALL(pos), unsigned int pos);
|
||||
|
||||
Eina_Bool _evas_box_option_property_vget(const Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Option *opt, int property, va_list *args);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_vget, Eina_Bool, 0, EFL_FUNC_CALL(opt, property, args), Evas_Object_Box_Option *opt, int property, va_list *args);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_internal_insert_at(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, unsigned int pos);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_insert_at, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, pos), Efl_Canvas_Object *child, unsigned int pos);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_insert_before(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_insert_before, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
const char *_evas_box_option_property_name_get(const Eo *obj, Evas_Object_Box_Data *pd, int property);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_name_get, const char *, NULL, EFL_FUNC_CALL(property), int property);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_internal_insert_before(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_insert_before, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
void _evas_box_layout_homogeneous_horizontal(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_internal_option_new(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_option_new, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
void _evas_box_layout_homogeneous_max_size_vertical(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_max_size_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_internal_insert_after(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_insert_after, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_insert_at(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, unsigned int pos);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_insert_at, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, pos), Efl_Canvas_Object *child, unsigned int pos);
|
||||
|
||||
Evas_Object_Box_Option *_evas_box_internal_prepend(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_prepend, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
Eina_Bool _evas_box_remove(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_box_remove, Eina_Bool, 0, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
void _evas_box_layout_stack(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_stack, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
void _evas_box_layout_homogeneous_vertical(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
void _evas_box_layout_flow_horizontal(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_flow_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
int _evas_box_count(Eo *obj, Evas_Object_Box_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY(evas_obj_box_count, int, 0);
|
||||
|
||||
Efl_Object *_evas_box_efl_object_constructor(Eo *obj, Evas_Object_Box_Data *pd);
|
||||
|
||||
|
||||
void _evas_box_efl_gfx_entity_size_set(Eo *obj, Evas_Object_Box_Data *pd, Eina_Size2D size);
|
||||
|
||||
|
||||
void _evas_box_efl_gfx_entity_position_set(Eo *obj, Evas_Object_Box_Data *pd, Eina_Position2D pos);
|
||||
|
||||
|
||||
void _evas_box_efl_canvas_group_group_calculate(Eo *obj, Evas_Object_Box_Data *pd);
|
||||
|
||||
|
||||
static Eina_Bool
|
||||
_evas_box_class_initializer(Efl_Class *klass)
|
||||
{
|
||||
const Efl_Object_Ops *opsp = NULL;
|
||||
|
||||
const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
|
||||
|
||||
#ifndef EVAS_BOX_EXTRA_OPS
|
||||
#define EVAS_BOX_EXTRA_OPS
|
||||
#endif
|
||||
|
||||
EFL_OPS_DEFINE(ops,
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_align_set, _evas_box_align_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_align_get, _evas_box_align_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_padding_set, _evas_box_padding_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_padding_get, _evas_box_padding_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_set, _evas_box_layout_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_horizontal, _evas_box_layout_horizontal),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_vertical, _evas_box_layout_vertical),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_homogeneous_max_size_horizontal, _evas_box_layout_homogeneous_max_size_horizontal),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_remove, _evas_box_internal_remove),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_flow_vertical, _evas_box_layout_flow_vertical),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_option_free, _evas_box_internal_option_free),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_insert_after, _evas_box_insert_after),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_remove_all, _evas_box_remove_all),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_iterator_new, _evas_box_iterator_new),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_add_to, _evas_box_add_to),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_append, _evas_box_append),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_option_property_id_get, _evas_box_option_property_id_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_prepend, _evas_box_prepend),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_accessor_new, _evas_box_accessor_new),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_append, _evas_box_internal_append),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_option_property_vset, _evas_box_option_property_vset),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_remove_at, _evas_box_internal_remove_at),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_remove_at, _evas_box_remove_at),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_option_property_vget, _evas_box_option_property_vget),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_insert_at, _evas_box_internal_insert_at),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_insert_before, _evas_box_insert_before),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_option_property_name_get, _evas_box_option_property_name_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_insert_before, _evas_box_internal_insert_before),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_homogeneous_horizontal, _evas_box_layout_homogeneous_horizontal),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_option_new, _evas_box_internal_option_new),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_homogeneous_max_size_vertical, _evas_box_layout_homogeneous_max_size_vertical),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_insert_after, _evas_box_internal_insert_after),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_insert_at, _evas_box_insert_at),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_internal_prepend, _evas_box_internal_prepend),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_remove, _evas_box_remove),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_stack, _evas_box_layout_stack),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_homogeneous_vertical, _evas_box_layout_homogeneous_vertical),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_layout_flow_horizontal, _evas_box_layout_flow_horizontal),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_box_count, _evas_box_count),
|
||||
EFL_OBJECT_OP_FUNC(efl_constructor, _evas_box_efl_object_constructor),
|
||||
EFL_OBJECT_OP_FUNC(efl_gfx_entity_size_set, _evas_box_efl_gfx_entity_size_set),
|
||||
EFL_OBJECT_OP_FUNC(efl_gfx_entity_position_set, _evas_box_efl_gfx_entity_position_set),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_group_calculate, _evas_box_efl_canvas_group_group_calculate),
|
||||
EVAS_BOX_EXTRA_OPS
|
||||
);
|
||||
opsp = &ops;
|
||||
|
||||
return efl_class_functions_set(klass, opsp, ropsp);
|
||||
}
|
||||
|
||||
static const Efl_Class_Description _evas_box_class_desc = {
|
||||
EO_VERSION,
|
||||
"Evas.Box",
|
||||
EFL_CLASS_TYPE_REGULAR,
|
||||
sizeof(Evas_Object_Box_Data),
|
||||
_evas_box_class_initializer,
|
||||
_evas_box_class_constructor,
|
||||
NULL
|
||||
};
|
||||
|
||||
EFL_DEFINE_CLASS(evas_box_class_get, &_evas_box_class_desc, EFL_CANVAS_GROUP_CLASS, NULL);
|
||||
|
||||
#include "evas_box_eo.legacy.c"
|
|
@ -0,0 +1,818 @@
|
|||
#ifndef _EVAS_BOX_EO_H_
|
||||
#define _EVAS_BOX_EO_H_
|
||||
|
||||
#ifndef _EVAS_BOX_EO_CLASS_TYPE
|
||||
#define _EVAS_BOX_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Box;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_BOX_EO_TYPES
|
||||
#define _EVAS_BOX_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
/** Evas box class
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
#define EVAS_BOX_CLASS evas_box_class_get()
|
||||
|
||||
EWAPI const Efl_Class *evas_box_class_get(void);
|
||||
|
||||
/**
|
||||
* @brief Set the alignment of the whole bounding box of contents, for a given
|
||||
* box object.
|
||||
*
|
||||
* This will influence how a box object is to align its bounding box of
|
||||
* contents within its own area. The values must be in the range $0.0 - $1.0,
|
||||
* or undefined behavior is expected. For horizontal alignment, $0.0 means to
|
||||
* the left, with $1.0 meaning to the right. For vertical alignment, $0.0 means
|
||||
* to the top, with $1.0 meaning to the bottom.
|
||||
*
|
||||
* @note The default values for both alignments is $0.5.
|
||||
*
|
||||
* See also @ref evas_obj_box_align_get.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] horizontal The horizontal alignment, in pixels.
|
||||
* @param[in] vertical The vertical alignment, in pixels.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_align_set(Eo *obj, double horizontal, double vertical);
|
||||
|
||||
/**
|
||||
* @brief Get the alignment of the whole bounding box of contents, for a given
|
||||
* box object.
|
||||
*
|
||||
* See also @ref evas_obj_box_align_set for more information.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] horizontal The horizontal alignment, in pixels.
|
||||
* @param[out] vertical The vertical alignment, in pixels.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_align_get(const Eo *obj, double *horizontal, double *vertical);
|
||||
|
||||
/**
|
||||
* @brief Set the (space) padding between cells set for a given box object.
|
||||
*
|
||||
* @note The default values for both padding components is $0.
|
||||
*
|
||||
* See also @ref evas_obj_box_padding_get.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] horizontal The horizontal padding, in pixels.
|
||||
* @param[in] vertical The vertical padding, in pixels.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_padding_set(Eo *obj, int horizontal, int vertical);
|
||||
|
||||
/**
|
||||
* @brief Get the (space) padding between cells set for a given box object.
|
||||
*
|
||||
* See also @ref evas_obj_box_padding_set.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] horizontal The horizontal padding, in pixels.
|
||||
* @param[out] vertical The vertical padding, in pixels.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_padding_get(const Eo *obj, int *horizontal, int *vertical);
|
||||
|
||||
/**
|
||||
* @brief Set a new layouting function to a given box object
|
||||
*
|
||||
* A box layout function affects how a box object displays child elements
|
||||
* within its area. The list of pre-defined box layouts available in Evas are
|
||||
* @ref evas_obj_box_layout_horizontal, @ref evas_obj_box_layout_vertical,
|
||||
* @ref evas_obj_box_layout_homogeneous_horizontal,
|
||||
* @ref evas_obj_box_layout_homogeneous_vertical,
|
||||
* @ref evas_obj_box_layout_homogeneous_max_size_horizontal,
|
||||
* @ref evas_obj_box_layout_homogeneous_max_size_vertical,
|
||||
* @ref evas_obj_box_layout_flow_horizontal,
|
||||
* @ref evas_obj_box_layout_flow_vertical and @ref evas_obj_box_layout_stack
|
||||
*
|
||||
* Refer to each of their documentation texts for details on them.
|
||||
*
|
||||
* @note A box layouting function will be triggered by the $'calculate' smart
|
||||
* callback of the box's smart class.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] cb The new layout function to set on @c o.
|
||||
* @param[in] data Data pointer to be passed to @c cb.
|
||||
* @param[in] free_data Function to free @c data, if need be.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_set(Eo *obj, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a (basic) horizontal box
|
||||
*
|
||||
* In this layout, the box object's overall behavior is controlled by its
|
||||
* padding/alignment properties, which are set by the
|
||||
* evas_object_box_{h,v}_{align,padding}_set family of functions. The size
|
||||
* hints of the elements in the box -- set by the
|
||||
* evas_object_size_hint_{align,padding,weight}_set functions -- also control
|
||||
* the way this function works.
|
||||
*
|
||||
* Box's properties: @c align_h controls the horizontal alignment of the child
|
||||
* objects relative to the containing box. When set to $0.0, children are
|
||||
* aligned to the left. A value of $1.0 makes them aligned to the right border.
|
||||
* Values in between align them proportionally. Note that if the size required
|
||||
* by the children, which is given by their widths and the @c padding_h
|
||||
* property of the box, is bigger than the their container's width, the
|
||||
* children will be displayed out of the box's bounds. A negative value of
|
||||
* @c align_h makes the box to justify its children. The padding between them,
|
||||
* in this case, is corrected so that the leftmost one touches the left border
|
||||
* and the rightmost one touches the right border (even if they must overlap).
|
||||
* The @c align_v and @c padding_v properties of the box don't contribute to
|
||||
* its behaviour when this layout is chosen.
|
||||
*
|
||||
* Child element's properties: @c align_x does not influence the box's
|
||||
* behavior. @c padding_l and @c padding_r sum up to the container's horizontal
|
||||
* padding between elements. The child's @c padding_t, @c padding_b and
|
||||
* @c align_y properties apply for padding/alignment relative to the overall
|
||||
* height of the box. Finally, there is the @c weight_x property, which, if set
|
||||
* to a non-zero value, tells the container that the child width is not
|
||||
* pre-defined. If the container can't accommodate all its children, it sets
|
||||
* the widths of the ones with weights to sizes as small as they can all fit
|
||||
* into it. If the size required by the children is less than the available,
|
||||
* the box increases its childrens' (which have weights) widths as to fit the
|
||||
* remaining space. The @c weight_x property, besides telling the element is
|
||||
* resizable, gives a weight for the resizing process. The parent box will try
|
||||
* to distribute (or take off) widths accordingly to the normalized list of
|
||||
* weights: most weighted children remain/get larger in this process than the
|
||||
* least ones. @c weight_y does not influence the layout.
|
||||
*
|
||||
* If one desires that, besides having weights, child elements must be resized
|
||||
* bounded to a minimum or maximum size, those size hints must be set, by the
|
||||
* evas_object_size_hint_{min,max}_set functions.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a (basic) vertical box
|
||||
*
|
||||
* This function behaves analogously to evas_object_box_layout_horizontal. The
|
||||
* description of its behaviour can be derived from that function's
|
||||
* documentation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a maximum size, homogeneous
|
||||
* horizontal box
|
||||
*
|
||||
* In a maximum size, homogeneous horizontal box, besides having cells of equal
|
||||
* size reserved for the child objects, this size will be defined by the size
|
||||
* of the largest child in the box (in width). The box's overall behavior is
|
||||
* controlled by its properties, which are set by the
|
||||
* evas_object_box_{h,v}_{align,padding}_set family of functions. The size
|
||||
* hints of the elements in the box -- set by the
|
||||
* evas_object_size_hint_{align,padding,weight}_set functions -- also control
|
||||
* the way this function works.
|
||||
*
|
||||
* Box's properties: @c padding_h tells the box to draw empty spaces of that
|
||||
* size, in pixels, between the child objects' cells. @c align_h controls the
|
||||
* horizontal alignment of the child objects, relative to the containing box.
|
||||
* When set to $0.0, children are aligned to the left. A value of $1.0 lets
|
||||
* them aligned to the right border. Values in between align them
|
||||
* proportionally. A negative value of @c align_h makes the box to justify its
|
||||
* children cells. The padding between them, in this case, is corrected so that
|
||||
* the leftmost one touches the left border and the rightmost one touches the
|
||||
* right border (even if they must overlap). The @c align_v and @c padding_v
|
||||
* properties of the box don't contribute to its behaviour when this layout is
|
||||
* chosen.
|
||||
*
|
||||
* Child element's properties: @c padding_l and @c padding_r sum up to the
|
||||
* required width of the child element. The @c align_x property tells the
|
||||
* relative position of this overall child width in its allocated cell ($0.0 to
|
||||
* extreme left, $1.0 to extreme right). A value of $-1.0 to @c align_x makes
|
||||
* the box try to resize this child element to the exact width of its cell
|
||||
* (respecting the minimum and maximum size hints on the child's width and
|
||||
* accounting for its horizontal padding hints). The child's @c padding_t,
|
||||
* @c padding_b and @c align_y properties apply for padding/alignment relative
|
||||
* to the overall height of the box. A value of $-1.0 to @c align_y makes the
|
||||
* box try to resize this child element to the exact height of its parent
|
||||
* (respecting the max hint on the child's height).
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_homogeneous_max_size_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Child object to be removed
|
||||
*
|
||||
* @return New object with child removed
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Efl_Canvas_Object *evas_obj_box_internal_remove(Eo *obj, Efl_Canvas_Object *child);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a flow vertical box.
|
||||
*
|
||||
* This function behaves analogously to evas_object_box_layout_flow_horizontal.
|
||||
* The description of its behaviour can be derived from that function's
|
||||
* documentation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_flow_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] opt Box option to be freed
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_internal_option_free(Eo *obj, Evas_Object_Box_Option *opt);
|
||||
|
||||
/**
|
||||
* @brief Insert a new child object after another existing one, in a given box
|
||||
* object o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note This function will fail if @c reference is not a member of @c o.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.insert_after
|
||||
* smart function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
* @param[in] reference The child object to place this new one after.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_insert_after(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
|
||||
|
||||
/**
|
||||
* @brief Remove all child objects from a box object, unparenting them again.
|
||||
*
|
||||
* This has the same effect of calling evas_object_box_remove on each of @c o's
|
||||
* child objects, in sequence. If, and only if, all those calls succeed, so
|
||||
* does this one.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] clear If @c true, it will delete just removed children.
|
||||
*
|
||||
* @return @c true on success, @c false otherwise.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_box_remove_all(Eo *obj, Eina_Bool clear);
|
||||
|
||||
/**
|
||||
* @brief Get an iterator to walk the list of children of a given box object.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return An iterator on @c o's child objects, on success, or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Eina_Iterator *evas_obj_box_iterator_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Add a new box as a child of a given smart object.
|
||||
*
|
||||
* This is a helper function that has the same effect of putting a new box
|
||||
* object into @c parent by use of evas_object_smart_member_add.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return @c null on error, a pointer to a new box object on success.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Efl_Canvas_Object *evas_obj_box_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Append a new child object to the given box object o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it. For example, on horizontal layouts an item in the end
|
||||
* of the box's list of children will appear on its right.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.append smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_append(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Get the numerical identifier of the property of the child elements of
|
||||
* the box o which have name as name string
|
||||
*
|
||||
* @note This call won't do anything for a canonical Evas box. Only users which
|
||||
* have subclassed it, setting custom box items options (see
|
||||
* #Evas_Object_Box_Option) on it, would benefit from this function. They'd
|
||||
* have to implement it and set it to be the
|
||||
* _Evas_Object_Box_Api.property_id_get smart class function of the box, which
|
||||
* is originally set to @c null.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] name The name string of the option being searched, for its ID.
|
||||
*
|
||||
* @return The numerical ID of the given property or $-1, on errors.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI int evas_obj_box_option_property_id_get(const Eo *obj, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Prepend a new child object to the given box object o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it. For example, on horizontal layouts an item in the
|
||||
* beginning of the box's list of children will appear on its left.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.prepend smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_prepend(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Get an accessor (a structure providing random items access) to the
|
||||
* list of children of a given box object.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return An accessor on @c o's child objects, on success, or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Eina_Accessor *evas_obj_box_accessor_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Child object to be appended
|
||||
*
|
||||
* @return Box option
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_append(Eo *obj, Efl_Canvas_Object *child);
|
||||
|
||||
/**
|
||||
* @brief Set a property value (by its given numerical identifier), on a given
|
||||
* box child element -- by a variable argument list
|
||||
*
|
||||
* This is a variable argument list variant of the
|
||||
* evas_object_box_option_property_set. See its documentation for more details.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] opt The box option structure bound to the child box element to
|
||||
* set a property on.
|
||||
* @param[in] property The numerical ID of the given property.
|
||||
* @param[in] args The variable argument list implementing the value to be set
|
||||
* for this property. It must be of the same type the user has defined for it.
|
||||
*
|
||||
* @return @c true on success, @c false on failure.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_box_option_property_vset(Eo *obj, Evas_Object_Box_Option *opt, int property, va_list *args) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] pos Position of object to be removed
|
||||
*
|
||||
* @return Canvas object
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Efl_Canvas_Object *evas_obj_box_internal_remove_at(Eo *obj, unsigned int pos);
|
||||
|
||||
/**
|
||||
* @brief Remove an object, bound to a given position in a box object,
|
||||
* unparenting it again.
|
||||
*
|
||||
* On removal, you'll get an unparented object again, just as it was before you
|
||||
* inserted it in the box. The @c option_free box smart callback will be called
|
||||
* automatically for you and, also, the $"child,removed" smart event will take
|
||||
* place.
|
||||
*
|
||||
* @note This function will fail if the given position is invalid, given @c o's
|
||||
* internal list of elements.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.remove_at smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] pos The numeric position (starting from $0) of the child object
|
||||
* to be removed.
|
||||
*
|
||||
* @return @c true on success, @c false on failure.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_box_remove_at(Eo *obj, unsigned int pos);
|
||||
|
||||
/**
|
||||
* @brief Get a property's value (by its given numerical identifier), on a
|
||||
* given box child element -- by a variable argument list
|
||||
*
|
||||
* This is a variable argument list variant of the
|
||||
* evas_object_box_option_property_get. See its documentation for more details.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] opt The box option structure bound to the child box element to
|
||||
* get a property from.
|
||||
* @param[in] property The numerical ID of the given property.
|
||||
* @param[in] args The variable argument list with pointers to where to store
|
||||
* the values of this property. They must point to variables of the same type
|
||||
* the user has defined for them.
|
||||
*
|
||||
* @return @c true on success, @c false on failure.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_box_option_property_vget(const Eo *obj, Evas_Object_Box_Option *opt, int property, va_list *args) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Child object to be inserted
|
||||
* @param[in] pos Position where the object will be inserted
|
||||
*
|
||||
* @return Box option
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_at(Eo *obj, Efl_Canvas_Object *child, unsigned int pos);
|
||||
|
||||
/**
|
||||
* @brief Insert a new child object before another existing one, in a given box
|
||||
* object o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note This function will fail if @c reference is not a member of @c o.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.insert_before
|
||||
* smart function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
* @param[in] reference The child object to place this new one before.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_insert_before(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
|
||||
|
||||
/**
|
||||
* @brief Get the name of the property of the child elements of the box o which
|
||||
* have id as identifier
|
||||
*
|
||||
* @note This call won't do anything for a canonical Evas box. Only users which
|
||||
* have subclassed it, setting custom box items options (see
|
||||
* #Evas_Object_Box_Option) on it, would benefit from this function. They'd
|
||||
* have to implement it and set it to be the
|
||||
* _Evas_Object_Box_Api.property_name_get smart class function of the box,
|
||||
* which is originally set to @c null.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] property The numerical identifier of the option being searched,
|
||||
* for its name.
|
||||
*
|
||||
* @return The name of the given property or @c null, on errors.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI const char *evas_obj_box_option_property_name_get(const Eo *obj, int property) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Object to be inserted
|
||||
* @param[in] reference Reference where the object will be inserted
|
||||
*
|
||||
* @return Box option
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_before(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a homogeneous horizontal box
|
||||
*
|
||||
* In a homogeneous horizontal box, its width is divided equally between the
|
||||
* contained objects. The box's overall behavior is controlled by its
|
||||
* padding/alignment properties, which are set by the
|
||||
* evas_object_box_{h,v}_{align,padding}_set family of functions. The size
|
||||
* hints the elements in the box -- set by the
|
||||
* evas_object_size_hint_{align,padding,weight}_set functions -- also control
|
||||
* the way this function works.
|
||||
*
|
||||
* Box's properties: @c align_h has no influence on the box for this layout.
|
||||
* @c padding_h tells the box to draw empty spaces of that size, in pixels,
|
||||
* between the (equal) child objects' cells. The @c align_v and @c padding_v
|
||||
* properties of the box don't contribute to its behaviour when this layout is
|
||||
* chosen.
|
||||
*
|
||||
* Child element's properties: @c padding_l and @c padding_r sum up to the
|
||||
* required width of the child element. The @c align_x property tells the
|
||||
* relative position of this overall child width in its allocated cell ($0.0 to
|
||||
* extreme left, $1.0 to extreme right). A value of $-1.0 to @c align_x makes
|
||||
* the box try to resize this child element to the exact width of its cell
|
||||
* (respecting the minimum and maximum size hints on the child's width and
|
||||
* accounting for its horizontal padding hints). The child's @c padding_t,
|
||||
* @c padding_b and @c align_y properties apply for padding/alignment relative
|
||||
* to the overall height of the box. A value of $-1.0 to @c align_y makes the
|
||||
* box try to resize this child element to the exact height of its parent
|
||||
* (respecting the maximum size hint on the child's height).
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_homogeneous_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child New box object
|
||||
*
|
||||
* @return Box option
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_option_new(Eo *obj, Efl_Canvas_Object *child);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a maximum size, homogeneous
|
||||
* vertical box
|
||||
*
|
||||
* This function behaves analogously to
|
||||
* evas_object_box_layout_homogeneous_max_size_horizontal. The description of
|
||||
* its behaviour can be derived from that function's documentation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_homogeneous_max_size_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Object to be inserted
|
||||
* @param[in] reference Reference where the object will be inserted
|
||||
*
|
||||
* @return Box option
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_after(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
|
||||
|
||||
/**
|
||||
* @brief Insert a new child object at a given position, in a given box object
|
||||
* @c o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note This function will fail if the given position is invalid, given @c o's
|
||||
* internal list of elements.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.insert_at smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
* @param[in] pos The numeric position (starting from $0) to place the new
|
||||
* child object at.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_insert_at(Eo *obj, Efl_Canvas_Object *child, unsigned int pos) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief No description supplied by the EAPI.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Object to be prepended
|
||||
*
|
||||
* @return Box option
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_prepend(Eo *obj, Efl_Canvas_Object *child);
|
||||
|
||||
/**
|
||||
* @brief Remove a given object from a box object, unparenting it again.
|
||||
*
|
||||
* On removal, you'll get an unparented object again, just as it was before you
|
||||
* inserted it in the box. The _Evas_Object_Box_Api.option_free box smart
|
||||
* callback will be called automatically for you and, also, the
|
||||
* $"child,removed" smart event will take place.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.remove smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child The handle to the child object to be removed.
|
||||
*
|
||||
* @return @c true on success, @c false otherwise.
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_box_remove(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a stacking box
|
||||
*
|
||||
* In a stacking box, all children will be given the same size -- the box's own
|
||||
* size -- and they will be stacked one above the other, so that the first
|
||||
* object in @c o's internal list of child elements will be the bottommost in
|
||||
* the stack.
|
||||
*
|
||||
* Box's properties: No box properties are used.
|
||||
*
|
||||
* Child element's properties: @c padding_l and @c padding_r sum up to the
|
||||
* required width of the child element. The @c align_x property tells the
|
||||
* relative position of this overall child width in its allocated cell ($0.0 to
|
||||
* extreme left, $1.0 to extreme right). A value of $-1.0 to @c align_x makes
|
||||
* the box try to resize this child element to the exact width of its cell
|
||||
* (respecting the min and max hints on the child's width and accounting for
|
||||
* its horizontal padding properties). The same applies to the vertical axis.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_stack(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a homogeneous vertical box.
|
||||
*
|
||||
* This function behaves analogously to
|
||||
* evas_object_box_layout_homogeneous_horizontal. The description of its
|
||||
* behaviour can be derived from that function's documentation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_homogeneous_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a flow horizontal box.
|
||||
*
|
||||
* In a flow horizontal box, the box's child elements are placed in rows (think
|
||||
* of text as an analogy). A row has as many elements as can fit into the box's
|
||||
* width. The box's overall behavior is controlled by its properties, which are
|
||||
* set by the evas_object_box_{h,v}_{align,padding}_set family of functions.
|
||||
* The size hints of the elements in the box -- set by the
|
||||
* evas_object_size_hint_{align,padding,weight}_set functions -- also control
|
||||
* the way this function works.
|
||||
*
|
||||
* Box's properties: @c padding_h tells the box to draw empty spaces of that
|
||||
* size, in pixels, between the child objects' cells. @c align_h dictates the
|
||||
* horizontal alignment of the rows ($0.0 to left align them, $1.0 to right
|
||||
* align). A value of $-1.0 to @c align_h lets the rows justified horizontally.
|
||||
* @c align_v controls the vertical alignment of the entire set of rows ($0.0
|
||||
* to top, $1.0 to bottom). A value of $-1.0 to @c align_v makes the box to
|
||||
* justify the rows vertically. The padding between them in this case is
|
||||
* corrected so that the first row touches the top border and the last one
|
||||
* touches the bottom border (even if they must overlap). @c padding_v has no
|
||||
* influence on the layout.
|
||||
*
|
||||
* Child element's properties: @c padding_l and @c padding_r sum up to the
|
||||
* required width of the child element. The @c align_x property has no
|
||||
* influence on the layout. The child's @c padding_t and @c padding_b sum up to
|
||||
* the required height of the child element and is the only means (besides row
|
||||
* justifying) of setting space between rows. Note, however, that @c align_y
|
||||
* dictates positioning relative to the largest height required by a child
|
||||
* object in the actual row.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI void evas_obj_box_layout_flow_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Returns the number of items in the box.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Number of items in the box
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
EOAPI int evas_obj_box_count(Eo *obj);
|
||||
|
||||
EWAPI extern const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_ADDED;
|
||||
|
||||
/** Called when a child object was added to the box
|
||||
* @return Evas_Object_Box_Option *
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
#define EVAS_BOX_EVENT_CHILD_ADDED (&(_EVAS_BOX_EVENT_CHILD_ADDED))
|
||||
|
||||
EWAPI extern const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_REMOVED;
|
||||
|
||||
/** Called when a child object was removed from the box
|
||||
* @return Efl_Canvas_Object *
|
||||
*
|
||||
* @ingroup Evas_Box
|
||||
*/
|
||||
#define EVAS_BOX_EVENT_CHILD_REMOVED (&(_EVAS_BOX_EVENT_CHILD_REMOVED))
|
||||
|
||||
#endif
|
|
@ -0,0 +1,460 @@
|
|||
#ifndef EVAS_BOX_EO_HH
|
||||
#define EVAS_BOX_EO_HH
|
||||
#include <Eo.h>
|
||||
|
||||
extern "C" {
|
||||
#include "efl_canvas_group.eo.h"
|
||||
#include "efl_canvas_object.eo.h"
|
||||
#include "efl_canvas_pointer.eo.h"
|
||||
#include "efl_class.eo.h"
|
||||
#include "efl_gfx_color.eo.h"
|
||||
#include "efl_gfx_entity.eo.h"
|
||||
#include "efl_gfx_hint.eo.h"
|
||||
#include "efl_gfx_mapping.eo.h"
|
||||
#include "efl_gfx_stack.eo.h"
|
||||
#include "efl_input_device.eo.h"
|
||||
#include "efl_input_focus.eo.h"
|
||||
#include "efl_input_hold.eo.h"
|
||||
#include "efl_input_interface.eo.h"
|
||||
#include "efl_input_key.eo.h"
|
||||
#include "efl_input_pointer.eo.h"
|
||||
#include "efl_loop.eo.h"
|
||||
#include "efl_loop_consumer.eo.h"
|
||||
#include "efl_object.eo.h"
|
||||
#include "efl_ui_i18n.eo.h"
|
||||
#include "evas_box_eo.h"
|
||||
}
|
||||
#include <Eina.hh>
|
||||
#include <Eo.hh>
|
||||
#include "efl_canvas_group.eo.hh"
|
||||
#include "efl_canvas_object.eo.hh"
|
||||
#include "efl_canvas_pointer.eo.hh"
|
||||
#include "efl_class.eo.hh"
|
||||
#include "efl_gfx_color.eo.hh"
|
||||
#include "efl_gfx_entity.eo.hh"
|
||||
#include "efl_gfx_hint.eo.hh"
|
||||
#include "efl_gfx_mapping.eo.hh"
|
||||
#include "efl_gfx_stack.eo.hh"
|
||||
#include "efl_input_device.eo.hh"
|
||||
#include "efl_input_focus.eo.hh"
|
||||
#include "efl_input_hold.eo.hh"
|
||||
#include "efl_input_interface.eo.hh"
|
||||
#include "efl_input_key.eo.hh"
|
||||
#include "efl_input_pointer.eo.hh"
|
||||
#include "efl_loop.eo.hh"
|
||||
#include "efl_loop_consumer.eo.hh"
|
||||
#include "efl_object.eo.hh"
|
||||
#include "efl_ui_i18n.eo.hh"
|
||||
#ifndef EVAS_BOX_FWD_GUARD
|
||||
#define EVAS_BOX_FWD_GUARD
|
||||
namespace evas {
|
||||
struct Box;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Box> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Box&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Box const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Box const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CLASS_FWD_GUARD
|
||||
#define EFL_CLASS_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Class;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_COLOR_FWD_GUARD
|
||||
#define EFL_GFX_COLOR_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Color;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_DEVICE_FWD_GUARD
|
||||
#define EFL_INPUT_DEVICE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Device;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_ENTITY_FWD_GUARD
|
||||
#define EFL_GFX_ENTITY_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Entity;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_HINT_FWD_GUARD
|
||||
#define EFL_GFX_HINT_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Hint;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_FOCUS_FWD_GUARD
|
||||
#define EFL_INPUT_FOCUS_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Focus;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_HOLD_FWD_GUARD
|
||||
#define EFL_INPUT_HOLD_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Hold;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_UI_I18N_FWD_GUARD
|
||||
#define EFL_UI_I18N_FWD_GUARD
|
||||
namespace efl { namespace ui {
|
||||
struct I18n;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
#define EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Interface;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_KEY_FWD_GUARD
|
||||
#define EFL_INPUT_KEY_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Key;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_FWD_GUARD
|
||||
#define EFL_LOOP_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
#define EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop_Consumer;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_OBJECT_FWD_GUARD
|
||||
#define EFL_OBJECT_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Object;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_GROUP_FWD_GUARD
|
||||
#define EFL_CANVAS_GROUP_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Group;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_MAPPING_FWD_GUARD
|
||||
#define EFL_GFX_MAPPING_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Mapping;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
#define EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Object;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_POINTER_FWD_GUARD
|
||||
#define EFL_CANVAS_POINTER_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_POINTER_FWD_GUARD
|
||||
#define EFL_INPUT_POINTER_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_STACK_FWD_GUARD
|
||||
#define EFL_GFX_STACK_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Stack;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
struct Box {
|
||||
::efl::eolian::return_traits<void>::type align_get( ::efl::eolian::out_traits<double>::type horizontal, ::efl::eolian::out_traits<double>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type align_set( ::efl::eolian::in_traits<double>::type horizontal, ::efl::eolian::in_traits<double>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type padding_get( ::efl::eolian::out_traits<int>::type horizontal, ::efl::eolian::out_traits<int>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type padding_set( ::efl::eolian::in_traits<int>::type horizontal, ::efl::eolian::in_traits<int>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type layout_set( ::efl::eolian::in_traits<Evas_Object_Box_Layout>::type cb, ::efl::eolian::in_traits<void const*>::type data, ::efl::eolian::in_traits<Eina_Free_Cb>::type free_data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_homogeneous_max_size_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type internal_remove( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<void>::type layout_flow_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type internal_option_free( ::efl::eolian::in_traits<Evas_Object_Box_Option const*>::type opt) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type insert_after( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const;
|
||||
::efl::eolian::return_traits<bool>::type remove_all( ::efl::eolian::in_traits<bool>::type clear) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type iterator_new() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type add_to() const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type append( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<int>::type option_property_id_get( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type prepend( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type accessor_new() const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_append( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type internal_remove_at( ::efl::eolian::in_traits< unsigned int>::type pos) const;
|
||||
::efl::eolian::return_traits<bool>::type remove_at( ::efl::eolian::in_traits< unsigned int>::type pos) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_insert_at( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned int>::type pos) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type insert_before( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::string_view>::type option_property_name_get( ::efl::eolian::in_traits<int>::type property) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_insert_before( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const;
|
||||
::efl::eolian::return_traits<void>::type layout_homogeneous_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_option_new( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<void>::type layout_homogeneous_max_size_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_insert_after( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type insert_at( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned int>::type pos) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_prepend( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<bool>::type remove( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<void>::type layout_stack( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_homogeneous_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_flow_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<int>::type count() const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_BOX_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Box *>(this))); }
|
||||
operator ::evas::Box() const;
|
||||
operator ::evas::Box&();
|
||||
operator ::evas::Box const&() const;
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Box, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Group, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Box const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Group const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
};
|
||||
}
|
||||
}
|
||||
namespace evas {
|
||||
struct Box : private ::efl::eo::concrete
|
||||
, EO_CXX_INHERIT(::efl::Loop_Consumer)
|
||||
, EO_CXX_INHERIT(::efl::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Group)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Pointer)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Color)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Entity)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Hint)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Mapping)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Stack)
|
||||
, EO_CXX_INHERIT(::efl::input::Interface)
|
||||
, EO_CXX_INHERIT(::efl::ui::I18n)
|
||||
{
|
||||
explicit Box( ::Eo* eo)
|
||||
: ::efl::eo::concrete(eo) {}
|
||||
Box(std::nullptr_t)
|
||||
: ::efl::eo::concrete(nullptr) {}
|
||||
explicit Box() = default;
|
||||
Box(Box const&) = default;
|
||||
Box(Box&&) = default;
|
||||
Box& operator=(Box const&) = default;
|
||||
Box& operator=(Box&&) = default;
|
||||
template <typename Derived>
|
||||
Box(Derived&& derived
|
||||
, typename std::enable_if<
|
||||
::efl::eo::is_eolian_object<Derived>::value
|
||||
&& std::is_base_of< Box, Derived>::value>::type* = 0)
|
||||
: ::efl::eo::concrete(derived._eo_ptr()) {}
|
||||
|
||||
Box( ::efl::eo::instantiate_t)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
|
||||
}
|
||||
template <typename T>
|
||||
explicit Box( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
|
||||
}
|
||||
template <typename F> Box( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Box >::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
template <typename T, typename F> Box( ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Box >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
|
||||
::efl::eolian::return_traits<void>::type align_get( ::efl::eolian::out_traits<double>::type horizontal, ::efl::eolian::out_traits<double>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type align_set( ::efl::eolian::in_traits<double>::type horizontal, ::efl::eolian::in_traits<double>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type padding_get( ::efl::eolian::out_traits<int>::type horizontal, ::efl::eolian::out_traits<int>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type padding_set( ::efl::eolian::in_traits<int>::type horizontal, ::efl::eolian::in_traits<int>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type layout_set( ::efl::eolian::in_traits<Evas_Object_Box_Layout>::type cb, ::efl::eolian::in_traits<void const*>::type data, ::efl::eolian::in_traits<Eina_Free_Cb>::type free_data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_homogeneous_max_size_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type internal_remove( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<void>::type layout_flow_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type internal_option_free( ::efl::eolian::in_traits<Evas_Object_Box_Option const*>::type opt) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type insert_after( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const;
|
||||
::efl::eolian::return_traits<bool>::type remove_all( ::efl::eolian::in_traits<bool>::type clear) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type iterator_new() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type add_to() const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type append( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<int>::type option_property_id_get( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type prepend( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type accessor_new() const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_append( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type internal_remove_at( ::efl::eolian::in_traits< unsigned int>::type pos) const;
|
||||
::efl::eolian::return_traits<bool>::type remove_at( ::efl::eolian::in_traits< unsigned int>::type pos) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_insert_at( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned int>::type pos) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type insert_before( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::string_view>::type option_property_name_get( ::efl::eolian::in_traits<int>::type property) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_insert_before( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const;
|
||||
::efl::eolian::return_traits<void>::type layout_homogeneous_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_option_new( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<void>::type layout_homogeneous_max_size_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_insert_after( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type insert_at( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned int>::type pos) const;
|
||||
::efl::eolian::return_traits<Evas_Object_Box_Option*>::type internal_prepend( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<bool>::type remove( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<void>::type layout_stack( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_homogeneous_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<void>::type layout_flow_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits<int>::type count() const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_BOX_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Box *>(this))); }
|
||||
static struct child_added_event
|
||||
{
|
||||
static Efl_Event_Description const* description()
|
||||
{ return EVAS_BOX_EVENT_CHILD_ADDED; }
|
||||
typedef Evas_Object_Box_Option const* parameter_type;
|
||||
} const child_added_event;
|
||||
#ifdef EFL_CXXPERIMENTAL
|
||||
template <typename F>
|
||||
typename std::enable_if<std::is_bind_expression<F>::value, ::efl::eolian::signal_connection>::type
|
||||
child_added_event_cb_add(F function)
|
||||
{
|
||||
return ::efl::eolian::event_add(child_added_event, *this, function);
|
||||
}
|
||||
template <typename F>
|
||||
typename std::enable_if<!std::is_bind_expression<F>::value, ::efl::eolian::signal_connection>::type
|
||||
child_added_event_cb_add(F function)
|
||||
{
|
||||
return ::efl::eolian::event_add(child_added_event, *this, std::bind(function));
|
||||
}
|
||||
#endif
|
||||
static struct child_removed_event
|
||||
{
|
||||
static Efl_Event_Description const* description()
|
||||
{ return EVAS_BOX_EVENT_CHILD_REMOVED; }
|
||||
typedef ::efl::canvas::Object parameter_type;
|
||||
} const child_removed_event;
|
||||
#ifdef EFL_CXXPERIMENTAL
|
||||
template <typename F>
|
||||
typename std::enable_if<std::is_bind_expression<F>::value, ::efl::eolian::signal_connection>::type
|
||||
child_removed_event_cb_add(F function)
|
||||
{
|
||||
return ::efl::eolian::event_add(child_removed_event, *this, function);
|
||||
}
|
||||
template <typename F>
|
||||
typename std::enable_if<!std::is_bind_expression<F>::value, ::efl::eolian::signal_connection>::type
|
||||
child_removed_event_cb_add(F function)
|
||||
{
|
||||
return ::efl::eolian::event_add(child_removed_event, *this, std::bind(function));
|
||||
}
|
||||
#endif
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Box, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Group, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Box const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Group const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
::efl::eo::wref<Box> _get_wref() const { return ::efl::eo::wref<Box>(*this); }
|
||||
::efl::eo::concrete const& _get_concrete() const { return *this; }
|
||||
::efl::eo::concrete& _get_concrete() { return *this; }
|
||||
using ::efl::eo::concrete::_eo_ptr;
|
||||
using ::efl::eo::concrete::_release;
|
||||
using ::efl::eo::concrete::_reset;
|
||||
using ::efl::eo::concrete::_delete;
|
||||
using ::efl::eo::concrete::operator bool;
|
||||
#ifdef EFL_CXXPERIMENTAL
|
||||
const Box* operator->() const { return this; }
|
||||
Box* operator->() { return this; }
|
||||
operator Eo*() const { return _eo_ptr(); }
|
||||
#endif
|
||||
friend bool operator==(Box const& lhs, Box const& rhs)
|
||||
{ return lhs._get_concrete() == rhs._get_concrete(); }
|
||||
friend bool operator!=(Box const& lhs, Box const& rhs)
|
||||
{ return !(lhs == rhs); }
|
||||
};
|
||||
static_assert(sizeof(Box) == sizeof(Eo*), "");
|
||||
static_assert(std::is_standard_layout<Box>::value, "");
|
||||
}
|
||||
#endif
|
|
@ -0,0 +1,478 @@
|
|||
#ifndef EVAS_BOX_IMPL_HH
|
||||
#define EVAS_BOX_IMPL_HH
|
||||
|
||||
#include "evas_box_eo.hh"
|
||||
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<void>::type Box::align_get( ::efl::eolian::out_traits<double>::type horizontal, ::efl::eolian::out_traits<double>::type vertical) const
|
||||
{
|
||||
double __out_param_horizontal = {};
|
||||
double __out_param_vertical = {};
|
||||
::evas_obj_box_align_get(_eo_ptr(),
|
||||
& __out_param_horizontal,
|
||||
& __out_param_vertical);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(horizontal, __out_param_horizontal);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(vertical, __out_param_vertical);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::align_set( ::efl::eolian::in_traits<double>::type horizontal, ::efl::eolian::in_traits<double>::type vertical) const
|
||||
{
|
||||
::evas_obj_box_align_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<double, ::efl::eolian::in_traits<double>::type>(horizontal),
|
||||
::efl::eolian::convert_to_c<double, ::efl::eolian::in_traits<double>::type>(vertical));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::padding_get( ::efl::eolian::out_traits<int>::type horizontal, ::efl::eolian::out_traits<int>::type vertical) const
|
||||
{
|
||||
int __out_param_horizontal = {};
|
||||
int __out_param_vertical = {};
|
||||
::evas_obj_box_padding_get(_eo_ptr(),
|
||||
& __out_param_horizontal,
|
||||
& __out_param_vertical);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(horizontal, __out_param_horizontal);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(vertical, __out_param_vertical);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::padding_set( ::efl::eolian::in_traits<int>::type horizontal, ::efl::eolian::in_traits<int>::type vertical) const
|
||||
{
|
||||
::evas_obj_box_padding_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(horizontal),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(vertical));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_set( ::efl::eolian::in_traits<Evas_Object_Box_Layout>::type cb, ::efl::eolian::in_traits<void const*>::type data, ::efl::eolian::in_traits<Eina_Free_Cb>::type free_data) const
|
||||
{
|
||||
::evas_obj_box_layout_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Layout, ::efl::eolian::in_traits<Evas_Object_Box_Layout>::type>(cb),
|
||||
::efl::eolian::convert_to_c<const void *, ::efl::eolian::in_traits<void const*>::type>(data),
|
||||
::efl::eolian::convert_to_c<Eina_Free_Cb, ::efl::eolian::in_traits<Eina_Free_Cb>::type>(free_data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_horizontal(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_vertical(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_homogeneous_max_size_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_homogeneous_max_size_horizontal(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Box::internal_remove( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_box_internal_remove(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_flow_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_flow_vertical(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::internal_option_free( ::efl::eolian::in_traits<Evas_Object_Box_Option const*>::type opt) const
|
||||
{
|
||||
::evas_obj_box_internal_option_free(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Option *, ::efl::eolian::in_traits<Evas_Object_Box_Option const*>::type>(opt));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::insert_after( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_insert_after(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object const*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(reference));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Box::remove_all( ::efl::eolian::in_traits<bool>::type clear) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_box_remove_all(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Eina_Bool, ::efl::eolian::in_traits<bool>::type>(clear));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type Box::iterator_new() const
|
||||
{
|
||||
Eina_Iterator * __return_value = ::evas_obj_box_iterator_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Box::add_to() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_box_add_to(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::append( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_append(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Box::option_property_id_get( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const
|
||||
{
|
||||
int __return_value = ::evas_obj_box_option_property_id_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(name));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::prepend( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_prepend(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type Box::accessor_new() const
|
||||
{
|
||||
Eina_Accessor * __return_value = ::evas_obj_box_accessor_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_append( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_append(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Box::internal_remove_at( ::efl::eolian::in_traits< unsigned int>::type pos) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_box_internal_remove_at(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(pos));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Box::remove_at( ::efl::eolian::in_traits< unsigned int>::type pos) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_box_remove_at(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(pos));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_insert_at( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned int>::type pos) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_insert_at(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(pos));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::insert_before( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_insert_before(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object const*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(reference));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::string_view>::type Box::option_property_name_get( ::efl::eolian::in_traits<int>::type property) const
|
||||
{
|
||||
const char * __return_value = ::evas_obj_box_option_property_name_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(property));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::string_view>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_insert_before( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_insert_before(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object const*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(reference));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_homogeneous_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_homogeneous_horizontal(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_option_new( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_option_new(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_homogeneous_max_size_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_homogeneous_max_size_vertical(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_insert_after( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_insert_after(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object const*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(reference));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::insert_at( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned int>::type pos) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_insert_at(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(pos));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_prepend( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_prepend(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Box::remove( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_box_remove(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_stack( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_stack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_homogeneous_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_homogeneous_vertical(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_flow_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_flow_horizontal(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Box::count() const
|
||||
{
|
||||
int __return_value = ::evas_obj_box_count(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
}
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<void>::type Box::align_get( ::efl::eolian::out_traits<double>::type horizontal, ::efl::eolian::out_traits<double>::type vertical) const
|
||||
{
|
||||
double __out_param_horizontal = {};
|
||||
double __out_param_vertical = {};
|
||||
::evas_obj_box_align_get(_eo_ptr(),
|
||||
& __out_param_horizontal,
|
||||
& __out_param_vertical);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(horizontal, __out_param_horizontal);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(vertical, __out_param_vertical);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::align_set( ::efl::eolian::in_traits<double>::type horizontal, ::efl::eolian::in_traits<double>::type vertical) const
|
||||
{
|
||||
::evas_obj_box_align_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<double, ::efl::eolian::in_traits<double>::type>(horizontal),
|
||||
::efl::eolian::convert_to_c<double, ::efl::eolian::in_traits<double>::type>(vertical));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::padding_get( ::efl::eolian::out_traits<int>::type horizontal, ::efl::eolian::out_traits<int>::type vertical) const
|
||||
{
|
||||
int __out_param_horizontal = {};
|
||||
int __out_param_vertical = {};
|
||||
::evas_obj_box_padding_get(_eo_ptr(),
|
||||
& __out_param_horizontal,
|
||||
& __out_param_vertical);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(horizontal, __out_param_horizontal);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(vertical, __out_param_vertical);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::padding_set( ::efl::eolian::in_traits<int>::type horizontal, ::efl::eolian::in_traits<int>::type vertical) const
|
||||
{
|
||||
::evas_obj_box_padding_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(horizontal),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(vertical));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_set( ::efl::eolian::in_traits<Evas_Object_Box_Layout>::type cb, ::efl::eolian::in_traits<void const*>::type data, ::efl::eolian::in_traits<Eina_Free_Cb>::type free_data) const
|
||||
{
|
||||
::evas_obj_box_layout_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Layout, ::efl::eolian::in_traits<Evas_Object_Box_Layout>::type>(cb),
|
||||
::efl::eolian::convert_to_c<const void *, ::efl::eolian::in_traits<void const*>::type>(data),
|
||||
::efl::eolian::convert_to_c<Eina_Free_Cb, ::efl::eolian::in_traits<Eina_Free_Cb>::type>(free_data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_horizontal(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_vertical(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_homogeneous_max_size_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_homogeneous_max_size_horizontal(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Box::internal_remove( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_box_internal_remove(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_flow_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_flow_vertical(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::internal_option_free( ::efl::eolian::in_traits<Evas_Object_Box_Option const*>::type opt) const
|
||||
{
|
||||
::evas_obj_box_internal_option_free(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Option *, ::efl::eolian::in_traits<Evas_Object_Box_Option const*>::type>(opt));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::insert_after( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_insert_after(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object const*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(reference));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Box::remove_all( ::efl::eolian::in_traits<bool>::type clear) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_box_remove_all(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Eina_Bool, ::efl::eolian::in_traits<bool>::type>(clear));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type Box::iterator_new() const
|
||||
{
|
||||
Eina_Iterator * __return_value = ::evas_obj_box_iterator_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Box::add_to() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_box_add_to(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::append( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_append(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Box::option_property_id_get( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const
|
||||
{
|
||||
int __return_value = ::evas_obj_box_option_property_id_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(name));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::prepend( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_prepend(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type Box::accessor_new() const
|
||||
{
|
||||
Eina_Accessor * __return_value = ::evas_obj_box_accessor_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_append( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_append(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Box::internal_remove_at( ::efl::eolian::in_traits< unsigned int>::type pos) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_box_internal_remove_at(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(pos));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Box::remove_at( ::efl::eolian::in_traits< unsigned int>::type pos) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_box_remove_at(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(pos));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_insert_at( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned int>::type pos) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_insert_at(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(pos));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::insert_before( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_insert_before(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object const*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(reference));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::string_view>::type Box::option_property_name_get( ::efl::eolian::in_traits<int>::type property) const
|
||||
{
|
||||
const char * __return_value = ::evas_obj_box_option_property_name_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(property));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::string_view>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_insert_before( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_insert_before(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object const*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(reference));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_homogeneous_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_homogeneous_horizontal(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_option_new( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_option_new(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_homogeneous_max_size_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_homogeneous_max_size_vertical(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_insert_after( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< ::efl::canvas::Object>::type reference) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_insert_after(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object const*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(reference));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::insert_at( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned int>::type pos) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_insert_at(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(pos));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type Box::internal_prepend( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Evas_Object_Box_Option * __return_value = ::evas_obj_box_internal_prepend(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Box_Option*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Box::remove( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_box_remove(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_stack( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_stack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_homogeneous_vertical( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_homogeneous_vertical(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Box::layout_flow_horizontal( ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type priv, ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_obj_box_layout_flow_horizontal(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Box_Data *, ::efl::eolian::in_traits<Evas_Object_Box_Data const*>::type>(priv),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Box::count() const
|
||||
{
|
||||
int __return_value = ::evas_obj_box_count(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline evas::Box::operator ::evas::Box() const { return *static_cast< ::evas::Box const*>(static_cast<void const*>(this)); }
|
||||
inline evas::Box::operator ::evas::Box&() { return *static_cast< ::evas::Box*>(static_cast<void*>(this)); }
|
||||
inline evas::Box::operator ::evas::Box const&() const { return *static_cast< ::evas::Box const*>(static_cast<void const*>(this)); }
|
||||
} }
|
||||
#endif
|
|
@ -0,0 +1,162 @@
|
|||
|
||||
EAPI void
|
||||
evas_object_box_align_set(Evas_Box *obj, double horizontal, double vertical)
|
||||
{
|
||||
evas_obj_box_align_set(obj, horizontal, vertical);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_align_get(const Evas_Box *obj, double *horizontal, double *vertical)
|
||||
{
|
||||
evas_obj_box_align_get(obj, horizontal, vertical);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_padding_set(Evas_Box *obj, int horizontal, int vertical)
|
||||
{
|
||||
evas_obj_box_padding_set(obj, horizontal, vertical);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_padding_get(const Evas_Box *obj, int *horizontal, int *vertical)
|
||||
{
|
||||
evas_obj_box_padding_get(obj, horizontal, vertical);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_set(Evas_Box *obj, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data)
|
||||
{
|
||||
evas_obj_box_layout_set(obj, cb, data, free_data);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_horizontal(obj, priv, data);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_vertical(obj, priv, data);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_homogeneous_max_size_horizontal(obj, priv, data);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_flow_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_flow_vertical(obj, priv, data);
|
||||
}
|
||||
|
||||
EAPI Evas_Object_Box_Option *
|
||||
evas_object_box_insert_after(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference)
|
||||
{
|
||||
return evas_obj_box_insert_after(obj, child, reference);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_box_remove_all(Evas_Box *obj, Eina_Bool clear)
|
||||
{
|
||||
return evas_obj_box_remove_all(obj, clear);
|
||||
}
|
||||
|
||||
EAPI Eina_Iterator *
|
||||
evas_object_box_iterator_new(const Evas_Box *obj)
|
||||
{
|
||||
return evas_obj_box_iterator_new(obj);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_object_box_add_to(Evas_Box *obj)
|
||||
{
|
||||
return evas_obj_box_add_to(obj);
|
||||
}
|
||||
|
||||
EAPI Evas_Object_Box_Option *
|
||||
evas_object_box_append(Evas_Box *obj, Efl_Canvas_Object *child)
|
||||
{
|
||||
return evas_obj_box_append(obj, child);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_object_box_option_property_id_get(const Evas_Box *obj, const char *name)
|
||||
{
|
||||
return evas_obj_box_option_property_id_get(obj, name);
|
||||
}
|
||||
|
||||
EAPI Evas_Object_Box_Option *
|
||||
evas_object_box_prepend(Evas_Box *obj, Efl_Canvas_Object *child)
|
||||
{
|
||||
return evas_obj_box_prepend(obj, child);
|
||||
}
|
||||
|
||||
EAPI Eina_Accessor *
|
||||
evas_object_box_accessor_new(const Evas_Box *obj)
|
||||
{
|
||||
return evas_obj_box_accessor_new(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_box_remove_at(Evas_Box *obj, unsigned int pos)
|
||||
{
|
||||
return evas_obj_box_remove_at(obj, pos);
|
||||
}
|
||||
|
||||
EAPI Evas_Object_Box_Option *
|
||||
evas_object_box_insert_before(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference)
|
||||
{
|
||||
return evas_obj_box_insert_before(obj, child, reference);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
evas_object_box_option_property_name_get(const Evas_Box *obj, int property)
|
||||
{
|
||||
return evas_obj_box_option_property_name_get(obj, property);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_homogeneous_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_homogeneous_horizontal(obj, priv, data);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_homogeneous_max_size_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_homogeneous_max_size_vertical(obj, priv, data);
|
||||
}
|
||||
|
||||
EAPI Evas_Object_Box_Option *
|
||||
evas_object_box_insert_at(Evas_Box *obj, Efl_Canvas_Object *child, unsigned int pos)
|
||||
{
|
||||
return evas_obj_box_insert_at(obj, child, pos);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_box_remove(Evas_Box *obj, Efl_Canvas_Object *child)
|
||||
{
|
||||
return evas_obj_box_remove(obj, child);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_stack(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_stack(obj, priv, data);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_homogeneous_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_homogeneous_vertical(obj, priv, data);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_box_layout_flow_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
|
||||
{
|
||||
evas_obj_box_layout_flow_horizontal(obj, priv, data);
|
||||
}
|
|
@ -0,0 +1,646 @@
|
|||
#ifndef _EVAS_BOX_EO_LEGACY_H_
|
||||
#define _EVAS_BOX_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EVAS_BOX_EO_CLASS_TYPE
|
||||
#define _EVAS_BOX_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Box;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_BOX_EO_TYPES
|
||||
#define _EVAS_BOX_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Set the alignment of the whole bounding box of contents, for a given
|
||||
* box object.
|
||||
*
|
||||
* This will influence how a box object is to align its bounding box of
|
||||
* contents within its own area. The values must be in the range $0.0 - $1.0,
|
||||
* or undefined behavior is expected. For horizontal alignment, $0.0 means to
|
||||
* the left, with $1.0 meaning to the right. For vertical alignment, $0.0 means
|
||||
* to the top, with $1.0 meaning to the bottom.
|
||||
*
|
||||
* @note The default values for both alignments is $0.5.
|
||||
*
|
||||
* See also @ref evas_object_box_align_get.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] horizontal The horizontal alignment, in pixels.
|
||||
* @param[in] vertical The vertical alignment, in pixels.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_align_set(Evas_Box *obj, double horizontal, double vertical);
|
||||
|
||||
/**
|
||||
* @brief Get the alignment of the whole bounding box of contents, for a given
|
||||
* box object.
|
||||
*
|
||||
* See also @ref evas_object_box_align_set for more information.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] horizontal The horizontal alignment, in pixels.
|
||||
* @param[out] vertical The vertical alignment, in pixels.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_align_get(const Evas_Box *obj, double *horizontal, double *vertical);
|
||||
|
||||
/**
|
||||
* @brief Set the (space) padding between cells set for a given box object.
|
||||
*
|
||||
* @note The default values for both padding components is $0.
|
||||
*
|
||||
* See also @ref evas_object_box_padding_get.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] horizontal The horizontal padding, in pixels.
|
||||
* @param[in] vertical The vertical padding, in pixels.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_padding_set(Evas_Box *obj, int horizontal, int vertical);
|
||||
|
||||
/**
|
||||
* @brief Get the (space) padding between cells set for a given box object.
|
||||
*
|
||||
* See also @ref evas_object_box_padding_set.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] horizontal The horizontal padding, in pixels.
|
||||
* @param[out] vertical The vertical padding, in pixels.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_padding_get(const Evas_Box *obj, int *horizontal, int *vertical);
|
||||
|
||||
/**
|
||||
* @brief Set a new layouting function to a given box object
|
||||
*
|
||||
* A box layout function affects how a box object displays child elements
|
||||
* within its area. The list of pre-defined box layouts available in Evas are
|
||||
* @ref evas_object_box_layout_horizontal,
|
||||
* @ref evas_object_box_layout_vertical,
|
||||
* @ref evas_object_box_layout_homogeneous_horizontal,
|
||||
* @ref evas_object_box_layout_homogeneous_vertical,
|
||||
* @ref evas_object_box_layout_homogeneous_max_size_horizontal,
|
||||
* @ref evas_object_box_layout_homogeneous_max_size_vertical,
|
||||
* @ref evas_object_box_layout_flow_horizontal,
|
||||
* @ref evas_object_box_layout_flow_vertical and
|
||||
* @ref evas_object_box_layout_stack
|
||||
*
|
||||
* Refer to each of their documentation texts for details on them.
|
||||
*
|
||||
* @note A box layouting function will be triggered by the $'calculate' smart
|
||||
* callback of the box's smart class.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] cb The new layout function to set on @c o.
|
||||
* @param[in] data Data pointer to be passed to @c cb.
|
||||
* @param[in] free_data Function to free @c data, if need be.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_set(Evas_Box *obj, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a (basic) horizontal box
|
||||
*
|
||||
* In this layout, the box object's overall behavior is controlled by its
|
||||
* padding/alignment properties, which are set by the
|
||||
* evas_object_box_{h,v}_{align,padding}_set family of functions. The size
|
||||
* hints of the elements in the box -- set by the
|
||||
* evas_object_size_hint_{align,padding,weight}_set functions -- also control
|
||||
* the way this function works.
|
||||
*
|
||||
* Box's properties: @c align_h controls the horizontal alignment of the child
|
||||
* objects relative to the containing box. When set to $0.0, children are
|
||||
* aligned to the left. A value of $1.0 makes them aligned to the right border.
|
||||
* Values in between align them proportionally. Note that if the size required
|
||||
* by the children, which is given by their widths and the @c padding_h
|
||||
* property of the box, is bigger than the their container's width, the
|
||||
* children will be displayed out of the box's bounds. A negative value of
|
||||
* @c align_h makes the box to justify its children. The padding between them,
|
||||
* in this case, is corrected so that the leftmost one touches the left border
|
||||
* and the rightmost one touches the right border (even if they must overlap).
|
||||
* The @c align_v and @c padding_v properties of the box don't contribute to
|
||||
* its behaviour when this layout is chosen.
|
||||
*
|
||||
* Child element's properties: @c align_x does not influence the box's
|
||||
* behavior. @c padding_l and @c padding_r sum up to the container's horizontal
|
||||
* padding between elements. The child's @c padding_t, @c padding_b and
|
||||
* @c align_y properties apply for padding/alignment relative to the overall
|
||||
* height of the box. Finally, there is the @c weight_x property, which, if set
|
||||
* to a non-zero value, tells the container that the child width is not
|
||||
* pre-defined. If the container can't accommodate all its children, it sets
|
||||
* the widths of the ones with weights to sizes as small as they can all fit
|
||||
* into it. If the size required by the children is less than the available,
|
||||
* the box increases its childrens' (which have weights) widths as to fit the
|
||||
* remaining space. The @c weight_x property, besides telling the element is
|
||||
* resizable, gives a weight for the resizing process. The parent box will try
|
||||
* to distribute (or take off) widths accordingly to the normalized list of
|
||||
* weights: most weighted children remain/get larger in this process than the
|
||||
* least ones. @c weight_y does not influence the layout.
|
||||
*
|
||||
* If one desires that, besides having weights, child elements must be resized
|
||||
* bounded to a minimum or maximum size, those size hints must be set, by the
|
||||
* evas_object_size_hint_{min,max}_set functions.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a (basic) vertical box
|
||||
*
|
||||
* This function behaves analogously to evas_object_box_layout_horizontal. The
|
||||
* description of its behaviour can be derived from that function's
|
||||
* documentation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a maximum size, homogeneous
|
||||
* horizontal box
|
||||
*
|
||||
* In a maximum size, homogeneous horizontal box, besides having cells of equal
|
||||
* size reserved for the child objects, this size will be defined by the size
|
||||
* of the largest child in the box (in width). The box's overall behavior is
|
||||
* controlled by its properties, which are set by the
|
||||
* evas_object_box_{h,v}_{align,padding}_set family of functions. The size
|
||||
* hints of the elements in the box -- set by the
|
||||
* evas_object_size_hint_{align,padding,weight}_set functions -- also control
|
||||
* the way this function works.
|
||||
*
|
||||
* Box's properties: @c padding_h tells the box to draw empty spaces of that
|
||||
* size, in pixels, between the child objects' cells. @c align_h controls the
|
||||
* horizontal alignment of the child objects, relative to the containing box.
|
||||
* When set to $0.0, children are aligned to the left. A value of $1.0 lets
|
||||
* them aligned to the right border. Values in between align them
|
||||
* proportionally. A negative value of @c align_h makes the box to justify its
|
||||
* children cells. The padding between them, in this case, is corrected so that
|
||||
* the leftmost one touches the left border and the rightmost one touches the
|
||||
* right border (even if they must overlap). The @c align_v and @c padding_v
|
||||
* properties of the box don't contribute to its behaviour when this layout is
|
||||
* chosen.
|
||||
*
|
||||
* Child element's properties: @c padding_l and @c padding_r sum up to the
|
||||
* required width of the child element. The @c align_x property tells the
|
||||
* relative position of this overall child width in its allocated cell ($0.0 to
|
||||
* extreme left, $1.0 to extreme right). A value of $-1.0 to @c align_x makes
|
||||
* the box try to resize this child element to the exact width of its cell
|
||||
* (respecting the minimum and maximum size hints on the child's width and
|
||||
* accounting for its horizontal padding hints). The child's @c padding_t,
|
||||
* @c padding_b and @c align_y properties apply for padding/alignment relative
|
||||
* to the overall height of the box. A value of $-1.0 to @c align_y makes the
|
||||
* box try to resize this child element to the exact height of its parent
|
||||
* (respecting the max hint on the child's height).
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a flow vertical box.
|
||||
*
|
||||
* This function behaves analogously to evas_object_box_layout_flow_horizontal.
|
||||
* The description of its behaviour can be derived from that function's
|
||||
* documentation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_flow_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Insert a new child object after another existing one, in a given box
|
||||
* object o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note This function will fail if @c reference is not a member of @c o.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.insert_after
|
||||
* smart function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
* @param[in] reference The child object to place this new one after.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Evas_Object_Box_Option *evas_object_box_insert_after(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
|
||||
|
||||
/**
|
||||
* @brief Remove all child objects from a box object, unparenting them again.
|
||||
*
|
||||
* This has the same effect of calling evas_object_box_remove on each of @c o's
|
||||
* child objects, in sequence. If, and only if, all those calls succeed, so
|
||||
* does this one.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] clear If @c true, it will delete just removed children.
|
||||
*
|
||||
* @return @c true on success, @c false otherwise.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_box_remove_all(Evas_Box *obj, Eina_Bool clear);
|
||||
|
||||
/**
|
||||
* @brief Get an iterator to walk the list of children of a given box object.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return An iterator on @c o's child objects, on success, or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Eina_Iterator *evas_object_box_iterator_new(const Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Add a new box as a child of a given smart object.
|
||||
*
|
||||
* This is a helper function that has the same effect of putting a new box
|
||||
* object into @c parent by use of evas_object_smart_member_add.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return @c null on error, a pointer to a new box object on success.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Object *evas_object_box_add_to(Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Append a new child object to the given box object o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it. For example, on horizontal layouts an item in the end
|
||||
* of the box's list of children will appear on its right.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.append smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Evas_Object_Box_Option *evas_object_box_append(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Get the numerical identifier of the property of the child elements of
|
||||
* the box o which have name as name string
|
||||
*
|
||||
* @note This call won't do anything for a canonical Evas box. Only users which
|
||||
* have subclassed it, setting custom box items options (see
|
||||
* #Evas_Object_Box_Option) on it, would benefit from this function. They'd
|
||||
* have to implement it and set it to be the
|
||||
* _Evas_Object_Box_Api.property_id_get smart class function of the box, which
|
||||
* is originally set to @c null.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] name The name string of the option being searched, for its ID.
|
||||
*
|
||||
* @return The numerical ID of the given property or $-1, on errors.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI int evas_object_box_option_property_id_get(const Evas_Box *obj, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Prepend a new child object to the given box object o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it. For example, on horizontal layouts an item in the
|
||||
* beginning of the box's list of children will appear on its left.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.prepend smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Evas_Object_Box_Option *evas_object_box_prepend(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Get an accessor (a structure providing random items access) to the
|
||||
* list of children of a given box object.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return An accessor on @c o's child objects, on success, or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Eina_Accessor *evas_object_box_accessor_new(const Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Remove an object, bound to a given position in a box object,
|
||||
* unparenting it again.
|
||||
*
|
||||
* On removal, you'll get an unparented object again, just as it was before you
|
||||
* inserted it in the box. The @c option_free box smart callback will be called
|
||||
* automatically for you and, also, the $"child,removed" smart event will take
|
||||
* place.
|
||||
*
|
||||
* @note This function will fail if the given position is invalid, given @c o's
|
||||
* internal list of elements.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.remove_at smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] pos The numeric position (starting from $0) of the child object
|
||||
* to be removed.
|
||||
*
|
||||
* @return @c true on success, @c false on failure.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_box_remove_at(Evas_Box *obj, unsigned int pos);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Insert a new child object before another existing one, in a given box
|
||||
* object o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note This function will fail if @c reference is not a member of @c o.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.insert_before
|
||||
* smart function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
* @param[in] reference The child object to place this new one before.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Evas_Object_Box_Option *evas_object_box_insert_before(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
|
||||
|
||||
/**
|
||||
* @brief Get the name of the property of the child elements of the box o which
|
||||
* have id as identifier
|
||||
*
|
||||
* @note This call won't do anything for a canonical Evas box. Only users which
|
||||
* have subclassed it, setting custom box items options (see
|
||||
* #Evas_Object_Box_Option) on it, would benefit from this function. They'd
|
||||
* have to implement it and set it to be the
|
||||
* _Evas_Object_Box_Api.property_name_get smart class function of the box,
|
||||
* which is originally set to @c null.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] property The numerical identifier of the option being searched,
|
||||
* for its name.
|
||||
*
|
||||
* @return The name of the given property or @c null, on errors.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI const char *evas_object_box_option_property_name_get(const Evas_Box *obj, int property) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a homogeneous horizontal box
|
||||
*
|
||||
* In a homogeneous horizontal box, its width is divided equally between the
|
||||
* contained objects. The box's overall behavior is controlled by its
|
||||
* padding/alignment properties, which are set by the
|
||||
* evas_object_box_{h,v}_{align,padding}_set family of functions. The size
|
||||
* hints the elements in the box -- set by the
|
||||
* evas_object_size_hint_{align,padding,weight}_set functions -- also control
|
||||
* the way this function works.
|
||||
*
|
||||
* Box's properties: @c align_h has no influence on the box for this layout.
|
||||
* @c padding_h tells the box to draw empty spaces of that size, in pixels,
|
||||
* between the (equal) child objects' cells. The @c align_v and @c padding_v
|
||||
* properties of the box don't contribute to its behaviour when this layout is
|
||||
* chosen.
|
||||
*
|
||||
* Child element's properties: @c padding_l and @c padding_r sum up to the
|
||||
* required width of the child element. The @c align_x property tells the
|
||||
* relative position of this overall child width in its allocated cell ($0.0 to
|
||||
* extreme left, $1.0 to extreme right). A value of $-1.0 to @c align_x makes
|
||||
* the box try to resize this child element to the exact width of its cell
|
||||
* (respecting the minimum and maximum size hints on the child's width and
|
||||
* accounting for its horizontal padding hints). The child's @c padding_t,
|
||||
* @c padding_b and @c align_y properties apply for padding/alignment relative
|
||||
* to the overall height of the box. A value of $-1.0 to @c align_y makes the
|
||||
* box try to resize this child element to the exact height of its parent
|
||||
* (respecting the maximum size hint on the child's height).
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_homogeneous_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a maximum size, homogeneous
|
||||
* vertical box
|
||||
*
|
||||
* This function behaves analogously to
|
||||
* evas_object_box_layout_homogeneous_max_size_horizontal. The description of
|
||||
* its behaviour can be derived from that function's documentation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_homogeneous_max_size_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Insert a new child object at a given position, in a given box object
|
||||
* @c o.
|
||||
*
|
||||
* On success, the $"child,added" smart event will take place.
|
||||
*
|
||||
* @note This function will fail if the given position is invalid, given @c o's
|
||||
* internal list of elements.
|
||||
*
|
||||
* @note The actual placing of the item relative to @c o's area will depend on
|
||||
* the layout set to it.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.insert_at smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child A child Evas object to be made a member of @c o.
|
||||
* @param[in] pos The numeric position (starting from $0) to place the new
|
||||
* child object at.
|
||||
*
|
||||
* @return A box option bound to the recently added box item or @c null, on
|
||||
* errors.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Evas_Object_Box_Option *evas_object_box_insert_at(Evas_Box *obj, Efl_Canvas_Object *child, unsigned int pos) EINA_ARG_NONNULL(2);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Remove a given object from a box object, unparenting it again.
|
||||
*
|
||||
* On removal, you'll get an unparented object again, just as it was before you
|
||||
* inserted it in the box. The _Evas_Object_Box_Api.option_free box smart
|
||||
* callback will be called automatically for you and, also, the
|
||||
* $"child,removed" smart event will take place.
|
||||
*
|
||||
* @note This call will trigger the box's _Evas_Object_Box_Api.remove smart
|
||||
* function.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child The handle to the child object to be removed.
|
||||
*
|
||||
* @return @c true on success, @c false otherwise.
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_box_remove(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a stacking box
|
||||
*
|
||||
* In a stacking box, all children will be given the same size -- the box's own
|
||||
* size -- and they will be stacked one above the other, so that the first
|
||||
* object in @c o's internal list of child elements will be the bottommost in
|
||||
* the stack.
|
||||
*
|
||||
* Box's properties: No box properties are used.
|
||||
*
|
||||
* Child element's properties: @c padding_l and @c padding_r sum up to the
|
||||
* required width of the child element. The @c align_x property tells the
|
||||
* relative position of this overall child width in its allocated cell ($0.0 to
|
||||
* extreme left, $1.0 to extreme right). A value of $-1.0 to @c align_x makes
|
||||
* the box try to resize this child element to the exact width of its cell
|
||||
* (respecting the min and max hints on the child's width and accounting for
|
||||
* its horizontal padding properties). The same applies to the vertical axis.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_stack(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a homogeneous vertical box.
|
||||
*
|
||||
* This function behaves analogously to
|
||||
* evas_object_box_layout_homogeneous_horizontal. The description of its
|
||||
* behaviour can be derived from that function's documentation.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_homogeneous_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
/**
|
||||
* @brief Layout function which sets the box o to a flow horizontal box.
|
||||
*
|
||||
* In a flow horizontal box, the box's child elements are placed in rows (think
|
||||
* of text as an analogy). A row has as many elements as can fit into the box's
|
||||
* width. The box's overall behavior is controlled by its properties, which are
|
||||
* set by the evas_object_box_{h,v}_{align,padding}_set family of functions.
|
||||
* The size hints of the elements in the box -- set by the
|
||||
* evas_object_size_hint_{align,padding,weight}_set functions -- also control
|
||||
* the way this function works.
|
||||
*
|
||||
* Box's properties: @c padding_h tells the box to draw empty spaces of that
|
||||
* size, in pixels, between the child objects' cells. @c align_h dictates the
|
||||
* horizontal alignment of the rows ($0.0 to left align them, $1.0 to right
|
||||
* align). A value of $-1.0 to @c align_h lets the rows justified horizontally.
|
||||
* @c align_v controls the vertical alignment of the entire set of rows ($0.0
|
||||
* to top, $1.0 to bottom). A value of $-1.0 to @c align_v makes the box to
|
||||
* justify the rows vertically. The padding between them in this case is
|
||||
* corrected so that the first row touches the top border and the last one
|
||||
* touches the bottom border (even if they must overlap). @c padding_v has no
|
||||
* influence on the layout.
|
||||
*
|
||||
* Child element's properties: @c padding_l and @c padding_r sum up to the
|
||||
* required width of the child element. The @c align_x property has no
|
||||
* influence on the layout. The child's @c padding_t and @c padding_b sum up to
|
||||
* the required height of the child element and is the only means (besides row
|
||||
* justifying) of setting space between rows. Note, however, that @c align_y
|
||||
* dictates positioning relative to the largest height required by a child
|
||||
* object in the actual row.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] priv Private data pointer
|
||||
* @param[in] data Data pointer
|
||||
*
|
||||
* @ingroup Evas_Object_Box_Group
|
||||
*/
|
||||
EAPI void evas_object_box_layout_flow_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
|
||||
|
||||
#endif
|
|
@ -1,978 +0,0 @@
|
|||
import efl_input_types;
|
||||
|
||||
class Evas.Canvas extends Efl.Loop_Consumer implements Efl.Canvas.Scene, Efl.Input.Interface,
|
||||
Efl.Canvas.Pointer
|
||||
{
|
||||
[[Evas canvas class]]
|
||||
legacy_prefix: evas;
|
||||
data: Evas_Public_Data;
|
||||
methods {
|
||||
@property image_cache {
|
||||
set {
|
||||
[[Set the image cache.
|
||||
|
||||
This function sets the image cache of canvas in bytes.
|
||||
]]
|
||||
}
|
||||
get {
|
||||
[[Get the image cache.
|
||||
|
||||
This function returns the image cache size of canvas in bytes.
|
||||
]]
|
||||
}
|
||||
values {
|
||||
size: int; [[The cache size.]]
|
||||
}
|
||||
}
|
||||
@property event_default_flags {
|
||||
set {
|
||||
[[Set the default set of flags an event begins with
|
||||
|
||||
Events in evas can have an event_flags member. This starts
|
||||
out with an initial value (no flags). This lets you set
|
||||
the default flags that an event begins with to $flags.
|
||||
|
||||
@since 1.2
|
||||
]]
|
||||
}
|
||||
get {
|
||||
[[Get the default set of flags an event begins with
|
||||
|
||||
This gets the default event flags events are produced with
|
||||
when fed in.
|
||||
|
||||
@since 1.2
|
||||
]]
|
||||
}
|
||||
values {
|
||||
flags: Efl.Input.Flags; [[The default flags to use.]]
|
||||
}
|
||||
}
|
||||
@property font_cache {
|
||||
set {
|
||||
[[Changes the size of font cache of the given evas.]]
|
||||
}
|
||||
get {
|
||||
[[Get the size of font cache of the given evas in bytes.]]
|
||||
}
|
||||
values {
|
||||
size: int; [[The size in bytes.]]
|
||||
}
|
||||
}
|
||||
@property data_attach {
|
||||
set {
|
||||
[[Attaches a specific pointer to the evas for fetching later.]]
|
||||
}
|
||||
get {
|
||||
[[Returns the pointer attached by @.data_attach.set.]]
|
||||
}
|
||||
values {
|
||||
data: void_ptr; [[The attached pointer.]]
|
||||
}
|
||||
}
|
||||
@property focus {
|
||||
get {
|
||||
[[Retrieve the object focused by the default seat.
|
||||
|
||||
Focused objects will be the ones having key events delivered
|
||||
to, which the programmer can act upon by means of
|
||||
\@ref evas_object_event_callback_add usage.
|
||||
|
||||
Note: Most users wouldn't be dealing directly with Evas'
|
||||
focused objects. Instead, they would be using a higher level
|
||||
library for that (like a toolkit, as Elementary) to handle
|
||||
focus and who's receiving input for them.
|
||||
|
||||
This call returns the object that currently has focus on the
|
||||
canvas $e or $null, if none.
|
||||
|
||||
See also \@ref evas_object_focus_set,
|
||||
\@ref evas_object_focus_get, \@ref evas_object_key_grab,
|
||||
\@ref evas_object_key_ungrab, @.seat_focus.get,
|
||||
@Efl.Canvas.Object.seat_focus_check,
|
||||
@Efl.Canvas.Object.seat_focus_add,
|
||||
@Efl.Canvas.Object.seat_focus_del.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example:
|
||||
@dontinclude evas-events.c
|
||||
@skip evas_event_callback_add(d.canvas, EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN,
|
||||
@until evas_object_focus_set(d.bg, EINA_TRUE);
|
||||
@dontinclude evas-events.c
|
||||
@skip called when our rectangle gets focus
|
||||
@until }
|
||||
|
||||
In this example the $event_info is a pointer to that
|
||||
focused rectangle. See the full @ref Example_Evas_Events "example".
|
||||
*/
|
||||
return: Efl.Canvas.Object @warn_unused; [[The object that has focus
|
||||
or $null if there is not one.]]
|
||||
}
|
||||
}
|
||||
@property seat_focus {
|
||||
[[Return the focused object by a given seat. @since 1.19]]
|
||||
get {}
|
||||
keys {
|
||||
seat: Efl.Input.Device;[[The seat to fetch the focused
|
||||
object or $null for the default seat.]]
|
||||
}
|
||||
values {
|
||||
return: Efl.Canvas.Object; [[The object that has the focus or $null if
|
||||
the seat has no focused object.]]
|
||||
}
|
||||
}
|
||||
@property object_top {
|
||||
get {
|
||||
[[Get the highest (stacked) Evas object on the canvas $e.
|
||||
|
||||
This function will take all populated layers in the canvas
|
||||
into account, getting the highest object for the highest
|
||||
layer, naturally.
|
||||
|
||||
Warning: This function will skip objects parented by smart
|
||||
objects, acting only on the ones at the "top level", with
|
||||
regard to object parenting.
|
||||
|
||||
See also \@ref evas_object_layer_get,
|
||||
\@ref evas_object_layer_set, \@ref evas_object_below_get,
|
||||
\@ref evas_object_above_get.
|
||||
]]
|
||||
return: Efl.Canvas.Object @warn_unused; [[A pointer to the highest object
|
||||
on it (if any) or $null otherwise.]]
|
||||
}
|
||||
}
|
||||
@property pointer_canvas_xy_by_device {
|
||||
[[This function returns the current known default pointer coordinates. @since 1.19]]
|
||||
get {}
|
||||
keys {
|
||||
dev: Efl.Input.Device; [[The pointer device.]]
|
||||
}
|
||||
values {
|
||||
x: int; [[The pointer to a Evas_Coord to be filled in.]]
|
||||
y: int; [[The pointer to a Evas_Coord to be filled in.]]
|
||||
}
|
||||
}
|
||||
@property pointer_canvas_xy {
|
||||
get {
|
||||
[[This function returns the current known default pointer coordinates
|
||||
|
||||
This function returns the current known canvas unit
|
||||
coordinates of the mouse pointer and sets the contents of
|
||||
the Evas_Coords pointed to by $x and $y to contain these
|
||||
coordinates. If $e is not a valid canvas the results of
|
||||
this function are undefined.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example:
|
||||
@code
|
||||
extern Evas *evas;
|
||||
Evas_Coord mouse_x, mouse_y;
|
||||
|
||||
evas_pointer_output_xy_get(evas, &mouse_x, &mouse_y);
|
||||
printf("Mouse is at canvas position %d, %d\n", mouse_x, mouse_y);
|
||||
@endcode
|
||||
*/
|
||||
}
|
||||
values {
|
||||
x: int; [[The pointer to a Evas_Coord to be filled in.]]
|
||||
y: int; [[The pointer to a Evas_Coord to be filled in.]]
|
||||
}
|
||||
}
|
||||
@property event_down_count {
|
||||
get {
|
||||
[[Get the number of mouse or multi presses currently active.
|
||||
|
||||
@since 1.2
|
||||
]]
|
||||
return: int; [[Mouse or multi presses currently active]]
|
||||
}
|
||||
}
|
||||
@property smart_objects_calculate_count {
|
||||
get {
|
||||
[[This gets the internal counter that counts the number of
|
||||
smart calculations.
|
||||
|
||||
Whenever evas performs smart object calculations on the whole
|
||||
canvas it increments a counter by 1. This function returns
|
||||
the value of the smart object calculate counter.
|
||||
It starts with a value of 0 and will increase (and eventually
|
||||
wrap around to negative values and so on) by 1 every time
|
||||
objects are calculated. You can use this counter to ensure
|
||||
you don't re-do calculations withint the same calculation
|
||||
generation/run if the calculations maybe cause self-feeding
|
||||
effects.
|
||||
|
||||
@since 1.1
|
||||
]]
|
||||
return: int; [[Number of smart calculations]]
|
||||
}
|
||||
}
|
||||
@property focus_state {
|
||||
get {
|
||||
[[Get the focus state for the default seat.]]
|
||||
return: bool; [[$true if focused, $false otherwise]]
|
||||
}
|
||||
}
|
||||
@property seat_focus_state {
|
||||
[[Get the focus state by a given seat.]]
|
||||
get {}
|
||||
keys {
|
||||
seat: Efl.Input.Device; [[The seat to check the focus state. Use $null for the default seat.]]
|
||||
}
|
||||
values {
|
||||
return: bool; [[$true if the seat has the canvas focus, $false otherwise.]]
|
||||
}
|
||||
}
|
||||
@property changed {
|
||||
get {
|
||||
[[Get the changed marker for the canvas.
|
||||
|
||||
@since 1.11
|
||||
]]
|
||||
return: bool; [[$true if changed, $false otherwise]]
|
||||
}
|
||||
}
|
||||
@property pointer_output_xy_by_device {
|
||||
[[This function returns the current known pointer coordinates. @since 1.19]]
|
||||
get {}
|
||||
keys {
|
||||
dev: Efl.Input.Device; [[The mouse device.]]
|
||||
}
|
||||
values {
|
||||
x: int; [[The pointer to an integer to be filled in.]]
|
||||
y: int; [[The pointer to an integer to be filled in.]]
|
||||
}
|
||||
}
|
||||
@property pointer_output_xy {
|
||||
get {
|
||||
[[This function returns the current known default pointer coordinates.
|
||||
|
||||
This function returns the current known screen/output
|
||||
coordinates of the mouse pointer and sets the contents of
|
||||
the integers pointed to by $x and $y to contain these
|
||||
coordinates. If $e is not a valid canvas the results of
|
||||
this function are undefined.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example:
|
||||
@code
|
||||
extern Evas *evas;
|
||||
int mouse_x, mouse_y;
|
||||
|
||||
evas_pointer_output_xy_get(evas, &mouse_x, &mouse_y);
|
||||
printf("Mouse is at screen position %i, %i\n", mouse_x, mouse_y);
|
||||
@endcode
|
||||
*/
|
||||
}
|
||||
values {
|
||||
x: int; [[The pointer to an integer to be filled in.]]
|
||||
y: int; [[The pointer to an integer to be filled in.]]
|
||||
}
|
||||
}
|
||||
@property object_bottom {
|
||||
get {
|
||||
[[Get the lowest (stacked) Evas object on the canvas $e.
|
||||
|
||||
This function will take all populated layers in the canvas
|
||||
into account, getting the lowest object for the lowest layer,
|
||||
naturally.
|
||||
|
||||
Warning: This function will skip objects parented by smart
|
||||
objects, acting only on the ones at the "top level", with
|
||||
regard to object parenting.
|
||||
|
||||
See also \@ref evas_object_layer_get, \@ref evas_object_layer_set,
|
||||
\@ref evas_object_below_get, \@ref evas_object_below_set.
|
||||
]]
|
||||
return: Efl.Canvas.Object @warn_unused; [[
|
||||
A pointer to the lowest object on it, if any, or $null
|
||||
otherwise.
|
||||
]]
|
||||
}
|
||||
}
|
||||
@property pointer_button_down_mask_by_device {
|
||||
[[Returns a bitmask with the mouse buttons currently pressed,
|
||||
set to 1.]]
|
||||
keys {
|
||||
dev: Efl.Input.Device; [[The mouse device.]]
|
||||
}
|
||||
get {}
|
||||
values {
|
||||
mask: uint; [[A bitmask of the currently depressed buttons on the canvas.]]
|
||||
}
|
||||
}
|
||||
@property pointer_button_down_mask {
|
||||
get {
|
||||
[[Returns a bitmask with the default mouse buttons currently pressed,
|
||||
set to 1.
|
||||
|
||||
Calling this function will return a 32-bit integer with the
|
||||
appropriate bits set to 1, which correspond to a mouse button
|
||||
being depressed. This limits Evas to a mouse devices with a
|
||||
maximum of 32 buttons, but that is generally in excess of
|
||||
any host system's pointing device abilities.
|
||||
|
||||
A canvas by default begins with no mouse buttons being
|
||||
pressed and only pointer move events can alter that.
|
||||
|
||||
The least significant bit corresponds to the first mouse
|
||||
button (button 1) and the most significant bit corresponds
|
||||
to the last mouse button (button 32).
|
||||
|
||||
If $e is not a valid canvas, the return value is undefined.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example:
|
||||
@code
|
||||
extern Evas *evas;
|
||||
unsigned int button_mask;
|
||||
int i;
|
||||
|
||||
button_mask = evas_pointer_button_down_mask_get(evas);
|
||||
printf("Buttons currently pressed:\n");
|
||||
for (i = 0; i < 32; i++)
|
||||
{
|
||||
if ((button_mask & (1u << i)) != 0) printf("Button %i\n", i + 1);
|
||||
}
|
||||
@endcode
|
||||
*/
|
||||
return: uint @warn_unused; [[A bitmask of the currently depressed buttons on the canvas.]]
|
||||
}
|
||||
}
|
||||
|
||||
tree_objects_at_xy_get {
|
||||
[[Retrieve a list of Evas objects lying over a given position in
|
||||
a canvas.
|
||||
|
||||
This function will traverse all the layers of the given canvas,
|
||||
from top to bottom, querying for objects with areas covering the
|
||||
given position. It will enter the smart objects.
|
||||
It will not append to the list pass events as hidden objects.
|
||||
Call eina_list_free on the returned list after usage.
|
||||
]]
|
||||
return: list<Efl.Canvas.Object> @warn_unused; [[List of objects]]
|
||||
params {
|
||||
@in stop: Efl.Canvas.Object; [[An Evas Object where to stop searching.]]
|
||||
@in x: int; [[The horizontal coordinate of the position.]]
|
||||
@in y: int; [[The vertical coordinate of the position.]]
|
||||
}
|
||||
}
|
||||
key_lock_on {
|
||||
[[Enables or turns on programmatically the lock key with name
|
||||
$keyname for the default seat.
|
||||
|
||||
The effect will be as if the key was put on its active state
|
||||
after this call.
|
||||
|
||||
See also @.key_lock_add, @.key_lock_del, @.key_lock_del,
|
||||
@.key_lock_off, @.seat_key_lock_on, @.seat_key_lock_off.
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the lock to enable.]]
|
||||
}
|
||||
}
|
||||
seat_key_lock_on {
|
||||
[[Enables or turns on programmatically the lock key with name
|
||||
$keyname for a give seat.
|
||||
|
||||
The effect will be as if the key was put on its active state
|
||||
after this call.
|
||||
|
||||
See also @.key_lock_add, @.key_lock_del, @.key_lock_del,
|
||||
@.key_lock_off, @.key_lock_on, @.seat_key_lock_off.
|
||||
@since 1.19
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the lock to enable.]]
|
||||
@in seat: Efl.Input.Device; [[The seat to enable the keylock. A $null seat repesents the default seat.]]
|
||||
}
|
||||
}
|
||||
seat_key_lock_off {
|
||||
[[Disables or turns off programmatically the lock key with name
|
||||
$keyname for a given seat.
|
||||
|
||||
The effect will be as if the key was put on its inactive state
|
||||
after this call.
|
||||
|
||||
See also @.key_lock_on, @.seat_key_lock_on, @.key_lock_off.
|
||||
@since 1.19
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the lock to enable.]]
|
||||
@in seat: Efl.Input.Device; [[The seat to disable the keylock. A $null seat repesents the default seat.]]
|
||||
}
|
||||
}
|
||||
key_modifier_add {
|
||||
[[Adds the $keyname key to the current list of modifier keys.
|
||||
|
||||
Modifiers are keys like shift, alt and ctrl, i.e. keys which
|
||||
are meant to be pressed together with others, altering the
|
||||
behavior of the second keys pressed. Evas is so that
|
||||
these keys can be user defined.
|
||||
|
||||
This call allows custom modifiers to be added to the Evas system
|
||||
at run time. It is then possible to set and unset modifier keys
|
||||
programmatically for other parts of the program to check and act
|
||||
on. Programmers using Evas would check for modifier keys on key
|
||||
event callbacks using \@ref evas_key_modifier_is_set.
|
||||
|
||||
Note: If the programmer instantiates the canvas by means of the
|
||||
\@ref ecore_evas_new family of helper functions, Ecore will take
|
||||
care of registering on it all standard modifiers: "Shift",
|
||||
"Control", "Alt", "Meta", "Hyper", "Super".
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[
|
||||
The name of the modifier key to add to the list of
|
||||
Evas modifiers.
|
||||
]]
|
||||
}
|
||||
}
|
||||
key_modifier_off {
|
||||
[[Disables or turns off programmatically the modifier key with
|
||||
name $keyname for the default seat.
|
||||
|
||||
See also @.key_modifier_add, \@ref evas_key_modifier_get,
|
||||
@.key_modifier_on, @.seat_key_modifier_off,
|
||||
@.seat_key_modifier_off, \@ref evas_key_modifier_is_set, \@ref evas_seat_key_modifier_is_set.
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the modifier to disable.]]
|
||||
}
|
||||
}
|
||||
render_async {
|
||||
[[Render the given Evas canvas asynchronously.
|
||||
|
||||
This function only returns $true when a frame will be rendered.
|
||||
If the previous frame is still rendering, $false will be
|
||||
returned so the users know not to wait for the updates
|
||||
callback and just return to their main loop.
|
||||
|
||||
If a $func callback is given, a list of updated areas will be
|
||||
generated and the function will be called from the main thread
|
||||
after the rendered frame is flushed to the screen. The resulting
|
||||
list should be freed with \@ref evas_render_updates_free.
|
||||
|
||||
The list is given in the $event_info parameter of the callback
|
||||
function.
|
||||
|
||||
@since 1.8
|
||||
]]
|
||||
return: bool; [[$true if the canvas will render, $false otherwise.]]
|
||||
}
|
||||
focus_out {
|
||||
[[Inform the evas that it lost the focus from the default seat.]]
|
||||
}
|
||||
norender {
|
||||
[[Update the canvas internal objects but not triggering immediate
|
||||
renderization.
|
||||
|
||||
This function updates the canvas internal objects not triggering
|
||||
renderization. To force renderization function @.render
|
||||
should be used.
|
||||
]]
|
||||
}
|
||||
nochange_pop {
|
||||
[[Pop the nochange flag down 1.
|
||||
|
||||
This tells evas, that while the nochange flag is greater than 0,
|
||||
do not mark objects as "changed" when making changes.
|
||||
|
||||
Warning: Do not use this function unless you know what Evas
|
||||
exactly works with "changed" state.
|
||||
]]
|
||||
}
|
||||
key_lock_off {
|
||||
[[Disables or turns off programmatically the lock key with name
|
||||
$keyname for the default seat.
|
||||
|
||||
The effect will be as if the key was put on its inactive state
|
||||
after this call.
|
||||
|
||||
See also @.key_lock_on, @.seat_key_lock_on, @.seat_key_lock_off.
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the lock to disable.]]
|
||||
}
|
||||
}
|
||||
nochange_push {
|
||||
[[Push the nochange flag up 1
|
||||
|
||||
This tells evas, that while the nochange flag is greater than 0,
|
||||
do not mark objects as "changed" when making changes.
|
||||
|
||||
Warning: Do not use this function unless you know what Evas
|
||||
exactly works with "changed" state.
|
||||
]]
|
||||
}
|
||||
font_cache_flush {
|
||||
[[Force the given evas and associated engine to flush its font cache.]]
|
||||
|
||||
}
|
||||
key_modifier_on {
|
||||
[[Enables or turns on programmatically the modifier key with name
|
||||
$keyname for the default seat.
|
||||
|
||||
The effect will be as if the key was pressed for the whole time
|
||||
between this call and a matching evas_key_modifier_off().
|
||||
|
||||
See also @.key_modifier_off, @.seat_key_modifier_on,
|
||||
@.seat_key_modifier_off.
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the modifier to enable.]]
|
||||
}
|
||||
}
|
||||
seat_key_modifier_on {
|
||||
[[Enables or turns on programmatically the modifier key with name
|
||||
$keyname for a given seat.
|
||||
|
||||
The effect will be as if the key was pressed for the whole time
|
||||
between this call and a matching @.seat_key_modifier_off.
|
||||
|
||||
See also @.key_modifier_off, @.seat_key_modifier_on,
|
||||
@.seat_key_modifier_off.
|
||||
@since 1.19
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the lock to enable.]]
|
||||
@in seat: Efl.Input.Device; [[The seat to enable the modifier. A $null seat repesents the default seat.]]
|
||||
}
|
||||
}
|
||||
seat_key_modifier_off {
|
||||
[[Disables or turns off programmatically the modifier key with
|
||||
name $keyname for a given seat.
|
||||
|
||||
See also @.key_modifier_add, \@ref evas_key_modifier_get,
|
||||
@.key_modifier_on, @.seat_key_modifier_off,
|
||||
@.seat_key_modifier_off, \@ref evas_key_modifier_is_set, \@ref evas_seat_key_modifier_is_set.
|
||||
@since 1.19
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the lock to enable.]]
|
||||
@in seat: Efl.Input.Device; [[The seat to disable the modifier. A $null seat repesents the default seat.]]
|
||||
}
|
||||
}
|
||||
font_available_list @const {
|
||||
[[List of available font descriptions known or found by this evas.
|
||||
|
||||
The list depends on Evas compile time configuration, such as
|
||||
fontconfig support, and the paths provided at runtime as
|
||||
explained in \@ref Evas_Font_Path_Group.
|
||||
]]
|
||||
return: list<string> @warn_unused; [[
|
||||
A newly allocated list of strings. Do not change the
|
||||
strings. Be sure to call \@ref evas_font_available_list_free
|
||||
after you're done.
|
||||
]]
|
||||
}
|
||||
object_name_find @const {
|
||||
[[Retrieves the object on the given evas with the given name.
|
||||
|
||||
This looks for the evas object given a name by
|
||||
\@ref evas_object_name_set. If the name is not unique
|
||||
canvas-wide, then which one of the many objects with that
|
||||
name is returned is undefined, so only use this if you can
|
||||
ensure the object name is unique.
|
||||
]]
|
||||
return: Efl.Canvas.Object @warn_unused; [[
|
||||
If successful, the Evas object with the given name. Otherwise,
|
||||
$null.
|
||||
]]
|
||||
params {
|
||||
@in name: string; [[The given name.]]
|
||||
}
|
||||
}
|
||||
font_path_append {
|
||||
[[Appends a font path to the list of font paths used by the
|
||||
given evas.
|
||||
]]
|
||||
params {
|
||||
@in path: string @nonull; [[The new font path.]]
|
||||
}
|
||||
}
|
||||
font_path_clear {
|
||||
[[Removes all font paths loaded into memory for the given evas.]]
|
||||
}
|
||||
/* FIXME: The below function is only for efl.ui.win */
|
||||
touch_point_list_nth_xy_get {
|
||||
[[This function returns the nth touch point's coordinates.
|
||||
|
||||
Touch point's coordinates is updated whenever moving that point
|
||||
on the canvas.
|
||||
]]
|
||||
params {
|
||||
@in n: uint; [[The number of the touched point (0 being the first).]]
|
||||
@out x: double; [[Last known X position in window coordinates]]
|
||||
@out y: double; [[Last known Y position in window coordinates]]
|
||||
}
|
||||
/* Legacy uses int. */
|
||||
legacy: null;
|
||||
}
|
||||
key_lock_del {
|
||||
[[Removes the $keyname key from the current list of lock keys on
|
||||
canvas $e.
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the key to remove from the locks list.]]
|
||||
}
|
||||
}
|
||||
damage_rectangle_add {
|
||||
[[Add a damage rectangle.
|
||||
|
||||
This is the function by which one tells evas that a part of the
|
||||
canvas has to be repainted.
|
||||
|
||||
Note: All newly created Evas rectangles get the default color
|
||||
values of 255 255 255 255 (opaque white).
|
||||
]]
|
||||
params {
|
||||
@in x: int; [[The rectangle's left position.]]
|
||||
@in y: int; [[The rectangle's top position.]]
|
||||
@in w: int; [[The rectangle's width.]]
|
||||
@in h: int; [[The rectangle's height.]]
|
||||
}
|
||||
}
|
||||
sync {
|
||||
[[Sync evas canvas]]
|
||||
}
|
||||
font_path_list @const {
|
||||
[[Retrieves the list of font paths used by the given evas.]]
|
||||
return: const(list<string>) @warn_unused; [[The list of font paths used.]]
|
||||
}
|
||||
image_cache_reload {
|
||||
[[Reload the image cache.
|
||||
|
||||
This function reloads the image cache of canvas.
|
||||
]]
|
||||
|
||||
}
|
||||
coord_world_x_to_screen @const {
|
||||
[[Convert/scale a canvas coordinate into output screen
|
||||
coordinates.
|
||||
|
||||
This function takes in a horizontal coordinate as the $x
|
||||
parameter and converts it into output units, accounting for
|
||||
output size, viewport size and location, returning it as the
|
||||
function return value. If $e is invalid, the results are
|
||||
undefined.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example:
|
||||
@code
|
||||
extern Evas *evas;
|
||||
int screen_x;
|
||||
extern Evas_Coord canvas_x;
|
||||
|
||||
screen_x = evas_coord_world_x_to_screen(evas, canvas_x);
|
||||
@endcode
|
||||
*/
|
||||
return: int @warn_unused; [[The output/screen coordinate translated to output coordinates.]]
|
||||
params {
|
||||
@in x: int; [[The canvas X coordinate.]]
|
||||
}
|
||||
}
|
||||
render_updates {
|
||||
[[Force immediate renderization of the given Evas canvas.
|
||||
|
||||
This function forces an immediate renderization update of
|
||||
the given canvas $e.
|
||||
|
||||
Note: This is a very low level function, which most of Evas'
|
||||
users wouldn't care about. You might use it, for instance, to
|
||||
grab an Evas' canvas update regions and paint them back, using
|
||||
the canvas' pixmap, on a displaying system working below Evas.
|
||||
|
||||
Note: Evas is a stateful canvas. If no operations changing its
|
||||
state took place since the last rendering action, you won't see
|
||||
any changes and this call will be a no-op.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example code follows.
|
||||
@dontinclude evas-events.c
|
||||
@skip add an obscured
|
||||
@until d.obscured = !d.obscured;
|
||||
|
||||
See the full @ref Example_Evas_Events "example".
|
||||
*/
|
||||
return: list<ptr(Eina.Rect)> @owned @warn_unused; [[
|
||||
A newly allocated list of updated rectangles of the canvas
|
||||
(@Eina.Rect structs). Free this list with
|
||||
\@ref evas_render_updates_free.
|
||||
]]
|
||||
}
|
||||
image_cache_flush {
|
||||
[[Flush the image cache of the canvas.
|
||||
|
||||
This function flushes image cache of canvas.
|
||||
]]
|
||||
}
|
||||
coord_screen_y_to_world @const {
|
||||
[[Convert/scale an output screen coordinate into canvas
|
||||
coordinates.
|
||||
|
||||
This function takes in a vertical coordinate as the $y parameter
|
||||
and converts it into canvas units, accounting for output size,
|
||||
viewport size and location, returning it as the function return
|
||||
value. If $e is invalid, the results are undefined.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example:
|
||||
@code
|
||||
extern Evas *evas;
|
||||
extern int screen_y;
|
||||
Evas_Coord canvas_y;
|
||||
|
||||
canvas_y = evas_coord_screen_y_to_world(evas, screen_y);
|
||||
@endcode
|
||||
*/
|
||||
return: int @warn_unused; [[The screen coordinate translated to canvas unit coordinates.]]
|
||||
params {
|
||||
@in y: int; [[The screen/output y coordinate.]]
|
||||
}
|
||||
}
|
||||
key_modifier_del {
|
||||
[[Removes the $keyname key from the current list of modifier keys
|
||||
on canvas $e.
|
||||
|
||||
See also @.key_modifier_add.
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the key to remove from the modifiers list.]]
|
||||
}
|
||||
}
|
||||
focus_in {
|
||||
[[Inform to the evas that it got the focus from the default seat.]]
|
||||
}
|
||||
seat_focus_in {
|
||||
[[Inform to the evas that it got the focus from a given seat. @since 1.19]]
|
||||
legacy: null;
|
||||
params {
|
||||
@in seat: Efl.Input.Device; [[The seat or $null for the default seat.]]
|
||||
}
|
||||
}
|
||||
seat_focus_out {
|
||||
[[Inform to the evas that it lost the focus from a given seat. @since 1.19]]
|
||||
legacy: null;
|
||||
params {
|
||||
@in seat: Efl.Input.Device; [[The seat or $null for the default seat.]]
|
||||
}
|
||||
}
|
||||
obscured_rectangle_add {
|
||||
[[Add an "obscured region" to an Evas canvas.
|
||||
|
||||
This is the function by which one tells an Evas canvas that a
|
||||
part of it must not be repainted. The region must be rectangular
|
||||
and its coordinates inside the canvas viewport are passed in the
|
||||
call. After this call, the region specified won't participate
|
||||
in any form in Evas' calculations and actions during its
|
||||
rendering updates, having its displaying content frozen as
|
||||
it was just after this function took place.
|
||||
|
||||
We call it "obscured region" because the most common use case
|
||||
for this rendering (partial) freeze is something else (most
|
||||
probably other canvas) being on top of the specified rectangular
|
||||
region, thus shading it completely from the user's final scene
|
||||
in a display. To avoid unnecessary processing, one should
|
||||
indicate to the obscured canvas not to bother about the
|
||||
non-important area.
|
||||
|
||||
The majority of users won't have to worry about this function,
|
||||
as they'll be using just one canvas in their applications, with
|
||||
nothing inset or on top of it in any form.
|
||||
|
||||
To make this region one that has to be repainted again, call the
|
||||
function \@ref evas_obscured_clear.
|
||||
|
||||
Note: This is a very low level function, which most of
|
||||
Evas' users wouldn't care about.
|
||||
|
||||
Note: This function does not flag the canvas as having its state
|
||||
changed. If you want to re-render it afterwards expecting new
|
||||
contents, you have to add "damage" regions yourself (see
|
||||
\@ref evas_damage_rectangle_add).
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example code follows.
|
||||
@dontinclude evas-events.c
|
||||
@skip add an obscured
|
||||
@until evas_obscured_clear(evas);
|
||||
|
||||
In that example, pressing the "Ctrl" and "o" keys will impose or
|
||||
remove an obscured region in the middle of the canvas. You'll get
|
||||
the same contents at the time the key was pressed, if toggling it
|
||||
on, until you toggle it off again (make sure the animation is
|
||||
running on to get the idea better). See the full @ref
|
||||
Example_Evas_Events "example".
|
||||
*/
|
||||
params {
|
||||
@in x: int; [[The rectangle's top left corner's horizontal coordinate.]]
|
||||
@in y: int; [[The rectangle's top left corner's vertical coordinate.]]
|
||||
@in w: int; [[The rectangle's width.]]
|
||||
@in h: int; [[The rectangle's height.]]
|
||||
}
|
||||
}
|
||||
render_dump {
|
||||
[[Make the canvas discard as much data as possible used by the
|
||||
engine at runtime.
|
||||
|
||||
This function will unload images, delete textures and much more
|
||||
where possible. You may also want to call @.render_idle_flush
|
||||
immediately prior to this to perhaps discard a little more,
|
||||
though this function should implicitly delete most of what
|
||||
@.render_idle_flush might discard too.
|
||||
]]
|
||||
}
|
||||
render {
|
||||
[[Force renderization of the given canvas.]]
|
||||
|
||||
}
|
||||
font_path_prepend {
|
||||
[[Prepends a font path to the list of font paths used by the
|
||||
given evas.
|
||||
]]
|
||||
params {
|
||||
@in path: string @nonull; [[The new font path.]]
|
||||
}
|
||||
}
|
||||
obscured_clear {
|
||||
[[Remove all "obscured regions" from an Evas canvas.
|
||||
|
||||
This function removes all the rectangles from the obscured
|
||||
regions list of the canvas $e. It takes obscured areas added
|
||||
with @.obscured_rectangle_add and make them again a regions
|
||||
that have to be repainted on rendering updates.
|
||||
|
||||
Note: This is a very low level function, which most of
|
||||
Evas' users wouldn't care about.
|
||||
|
||||
Note: This function does not flag the canvas as having its state
|
||||
changed. If you want to re-render it afterwards expecting new
|
||||
contents, you have to add "damage" regions yourself (see
|
||||
@.damage_rectangle_add).
|
||||
]]
|
||||
}
|
||||
coord_screen_x_to_world @const {
|
||||
[[Convert/scale an output screen coordinate into canvas
|
||||
coordinates.
|
||||
|
||||
This function takes in a horizontal coordinate as the $x
|
||||
parameter and converts it into canvas units, accounting for
|
||||
output size, viewport size and location, returning it as the
|
||||
function return value. If $e is invalid, the results are
|
||||
undefined.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example:
|
||||
@code
|
||||
extern Evas *evas;
|
||||
extern int screen_x;
|
||||
Evas_Coord canvas_x;
|
||||
|
||||
canvas_x = evas_coord_screen_x_to_world(evas, screen_x);
|
||||
@endcode
|
||||
*/
|
||||
return: int @warn_unused; [[
|
||||
The screen coordinate translated to canvas unit coordinates.
|
||||
]]
|
||||
params {
|
||||
@in x: int; [[The screen/output x coordinate.]]
|
||||
}
|
||||
}
|
||||
key_lock_add {
|
||||
[[Adds the $keyname key to the current list of lock keys.
|
||||
|
||||
Locks are keys like caps lock, num lock or scroll lock, i.e.,
|
||||
keys which are meant to be pressed once -- toggling a binary
|
||||
state which is bound to it -- and thus altering the behavior
|
||||
of all subsequently pressed keys somehow, depending on its
|
||||
state. Evas is so that these keys can be defined by the user.
|
||||
|
||||
This allows custom locks to be added to the evas system at run
|
||||
time. It is then possible to set and unset lock keys
|
||||
programmatically for other parts of the program to check and act
|
||||
on. Programmers using Evas would check for lock keys on key
|
||||
event callbacks using \@ref evas_key_lock_is_set.
|
||||
|
||||
Note: If the programmer instantiates the canvas by means of the
|
||||
ecore_evas_new() family of helper functions, Ecore will take
|
||||
care of registering on it all standard lock keys: "Caps_Lock",
|
||||
"Num_Lock", "Scroll_Lock".
|
||||
]]
|
||||
params {
|
||||
@in keyname: string @nonull; [[The name of the key to add to the locks list.]]
|
||||
}
|
||||
}
|
||||
render_idle_flush {
|
||||
[[Make the canvas discard internally cached data used for
|
||||
rendering.
|
||||
|
||||
This function flushes the arrays of delete, active and render
|
||||
objects. Other things it may also discard are: shared memory
|
||||
segments, temporary scratch buffers, cached data to avoid
|
||||
re-compute of that data etc.
|
||||
]]
|
||||
}
|
||||
@property default_device {
|
||||
[[Return the default device of a given type.
|
||||
|
||||
Note: Currently EFL only creates a seat, mouse and keyboard.
|
||||
@since 1.19
|
||||
]]
|
||||
get {}
|
||||
keys {
|
||||
type: Efl.Input.Device_Type; [[The class of the default device to fetch.]]
|
||||
}
|
||||
values {
|
||||
seat: Efl.Input.Device; [[The default device or $null on error.]]
|
||||
}
|
||||
}
|
||||
coord_world_y_to_screen @const {
|
||||
[[Convert/scale a canvas coordinate into output screen
|
||||
coordinates.
|
||||
|
||||
This function takes in a vertical coordinate as the $x
|
||||
parameter and converts it into output units, accounting for
|
||||
output size, viewport size and location, returning it as the
|
||||
function return value. If $e is invalid, the results are
|
||||
undefined.
|
||||
]]
|
||||
/* FIXME-doc
|
||||
Example:
|
||||
@code
|
||||
extern Evas *evas;
|
||||
int screen_y;
|
||||
extern Evas_Coord canvas_y;
|
||||
|
||||
screen_y = evas_coord_world_y_to_screen(evas, canvas_y);
|
||||
@endcode
|
||||
*/
|
||||
return: int @warn_unused; [[The output/screen coordinate translated to output coordinates.]]
|
||||
params {
|
||||
@in y: int; [[The canvas y coordinate.]]
|
||||
}
|
||||
}
|
||||
}
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
Efl.Object.destructor;
|
||||
Efl.Object.invalidate;
|
||||
Efl.Object.event_thaw;
|
||||
Efl.Object.event_freeze;
|
||||
Efl.Object.provider_find;
|
||||
Efl.Loop_Consumer.loop { get; }
|
||||
//Efl.Canvas.seats;
|
||||
Efl.Canvas.Pointer.pointer_inside { get; }
|
||||
Efl.Canvas.Scene.device { get; }
|
||||
Efl.Canvas.Scene.seat { get; }
|
||||
Efl.Canvas.Scene.seat_default { get; }
|
||||
Efl.Canvas.Scene.pointer_position { get; }
|
||||
Efl.Canvas.Scene.image_max_size { get; }
|
||||
Efl.Canvas.Scene.objects_at_xy_get;
|
||||
Efl.Canvas.Scene.object_top_at_xy_get;
|
||||
Efl.Canvas.Scene.objects_in_rectangle_get;
|
||||
Efl.Canvas.Scene.object_top_in_rectangle_get;
|
||||
Efl.Canvas.Scene.group_objects_calculate;
|
||||
Efl.Canvas.Scene.group_objects_calculating { get; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,501 @@
|
|||
|
||||
void _evas_canvas_image_cache_set(Eo *obj, Evas_Public_Data *pd, int size);
|
||||
|
||||
|
||||
static Eina_Error
|
||||
__eolian_evas_canvas_image_cache_set_reflect(Eo *obj, Eina_Value val)
|
||||
{
|
||||
Eina_Error r = 0; int cval;
|
||||
if (!eina_value_int_convert(&val, &cval))
|
||||
{
|
||||
r = EINA_ERROR_VALUE_FAILED;
|
||||
goto end;
|
||||
}
|
||||
evas_canvas_image_cache_set(obj, cval);
|
||||
end:
|
||||
eina_value_flush(&val);
|
||||
return r;
|
||||
}
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_image_cache_set, EFL_FUNC_CALL(size), int size);
|
||||
|
||||
int _evas_canvas_image_cache_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
static Eina_Value
|
||||
__eolian_evas_canvas_image_cache_get_reflect(Eo *obj)
|
||||
{
|
||||
int val = evas_canvas_image_cache_get(obj);
|
||||
return eina_value_int_init(val);
|
||||
}
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_image_cache_get, int, 0);
|
||||
|
||||
void _evas_canvas_event_default_flags_set(Eo *obj, Evas_Public_Data *pd, Efl_Input_Flags flags);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_event_default_flags_set, EFL_FUNC_CALL(flags), Efl_Input_Flags flags);
|
||||
|
||||
Efl_Input_Flags _evas_canvas_event_default_flags_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_event_default_flags_get, Efl_Input_Flags, 0);
|
||||
|
||||
void _evas_canvas_font_cache_set(Eo *obj, Evas_Public_Data *pd, int size);
|
||||
|
||||
|
||||
static Eina_Error
|
||||
__eolian_evas_canvas_font_cache_set_reflect(Eo *obj, Eina_Value val)
|
||||
{
|
||||
Eina_Error r = 0; int cval;
|
||||
if (!eina_value_int_convert(&val, &cval))
|
||||
{
|
||||
r = EINA_ERROR_VALUE_FAILED;
|
||||
goto end;
|
||||
}
|
||||
evas_canvas_font_cache_set(obj, cval);
|
||||
end:
|
||||
eina_value_flush(&val);
|
||||
return r;
|
||||
}
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_font_cache_set, EFL_FUNC_CALL(size), int size);
|
||||
|
||||
int _evas_canvas_font_cache_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
static Eina_Value
|
||||
__eolian_evas_canvas_font_cache_get_reflect(Eo *obj)
|
||||
{
|
||||
int val = evas_canvas_font_cache_get(obj);
|
||||
return eina_value_int_init(val);
|
||||
}
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_font_cache_get, int, 0);
|
||||
|
||||
void _evas_canvas_data_attach_set(Eo *obj, Evas_Public_Data *pd, void *data);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_data_attach_set, EFL_FUNC_CALL(data), void *data);
|
||||
|
||||
void *_evas_canvas_data_attach_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_data_attach_get, void *, NULL);
|
||||
|
||||
Efl_Canvas_Object *_evas_canvas_focus_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_focus_get, Efl_Canvas_Object *, NULL);
|
||||
|
||||
Efl_Canvas_Object *_evas_canvas_seat_focus_get(const Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *seat);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_seat_focus_get, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(seat), Efl_Input_Device *seat);
|
||||
|
||||
Efl_Canvas_Object *_evas_canvas_object_top_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_object_top_get, Efl_Canvas_Object *, NULL);
|
||||
|
||||
void _evas_canvas_pointer_canvas_xy_by_device_get(const Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *dev, int *x, int *y);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_canvas_xy_by_device_get, EFL_FUNC_CALL(dev, x, y), Efl_Input_Device *dev, int *x, int *y);
|
||||
|
||||
void _evas_canvas_pointer_canvas_xy_get(const Eo *obj, Evas_Public_Data *pd, int *x, int *y);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_canvas_xy_get, EFL_FUNC_CALL(x, y), int *x, int *y);
|
||||
|
||||
int _evas_canvas_event_down_count_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_event_down_count_get, int, 0);
|
||||
|
||||
int _evas_canvas_smart_objects_calculate_count_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_smart_objects_calculate_count_get, int, 0);
|
||||
|
||||
Eina_Bool _evas_canvas_focus_state_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_focus_state_get, Eina_Bool, 0);
|
||||
|
||||
Eina_Bool _evas_canvas_seat_focus_state_get(const Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *seat);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_seat_focus_state_get, Eina_Bool, 0, EFL_FUNC_CALL(seat), Efl_Input_Device *seat);
|
||||
|
||||
Eina_Bool _evas_canvas_changed_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_changed_get, Eina_Bool, 0);
|
||||
|
||||
void _evas_canvas_pointer_output_xy_by_device_get(const Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *dev, int *x, int *y);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_output_xy_by_device_get, EFL_FUNC_CALL(dev, x, y), Efl_Input_Device *dev, int *x, int *y);
|
||||
|
||||
void _evas_canvas_pointer_output_xy_get(const Eo *obj, Evas_Public_Data *pd, int *x, int *y);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_output_xy_get, EFL_FUNC_CALL(x, y), int *x, int *y);
|
||||
|
||||
Efl_Canvas_Object *_evas_canvas_object_bottom_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_object_bottom_get, Efl_Canvas_Object *, NULL);
|
||||
|
||||
unsigned int _evas_canvas_pointer_button_down_mask_by_device_get(const Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *dev);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_pointer_button_down_mask_by_device_get, unsigned int, 0, EFL_FUNC_CALL(dev), Efl_Input_Device *dev);
|
||||
|
||||
unsigned int _evas_canvas_pointer_button_down_mask_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_pointer_button_down_mask_get, unsigned int, 0);
|
||||
|
||||
Eina_List *_evas_canvas_tree_objects_at_xy_get(Eo *obj, Evas_Public_Data *pd, Efl_Canvas_Object *stop, int x, int y);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_canvas_tree_objects_at_xy_get, Eina_List *, NULL, EFL_FUNC_CALL(stop, x, y), Efl_Canvas_Object *stop, int x, int y);
|
||||
|
||||
void _evas_canvas_key_lock_on(Eo *obj, Evas_Public_Data *pd, const char *keyname);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_on, EFL_FUNC_CALL(keyname), const char *keyname);
|
||||
|
||||
void _evas_canvas_seat_key_lock_on(Eo *obj, Evas_Public_Data *pd, const char *keyname, Efl_Input_Device *seat);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_lock_on, EFL_FUNC_CALL(keyname, seat), const char *keyname, Efl_Input_Device *seat);
|
||||
|
||||
void _evas_canvas_seat_key_lock_off(Eo *obj, Evas_Public_Data *pd, const char *keyname, Efl_Input_Device *seat);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_lock_off, EFL_FUNC_CALL(keyname, seat), const char *keyname, Efl_Input_Device *seat);
|
||||
|
||||
void _evas_canvas_key_modifier_add(Eo *obj, Evas_Public_Data *pd, const char *keyname);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_add, EFL_FUNC_CALL(keyname), const char *keyname);
|
||||
|
||||
void _evas_canvas_key_modifier_off(Eo *obj, Evas_Public_Data *pd, const char *keyname);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_off, EFL_FUNC_CALL(keyname), const char *keyname);
|
||||
|
||||
Eina_Bool _evas_canvas_render_async(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY(evas_canvas_render_async, Eina_Bool, 0);
|
||||
|
||||
void _evas_canvas_focus_out(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_focus_out);
|
||||
|
||||
void _evas_canvas_norender(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_norender);
|
||||
|
||||
void _evas_canvas_nochange_pop(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_nochange_pop);
|
||||
|
||||
void _evas_canvas_key_lock_off(Eo *obj, Evas_Public_Data *pd, const char *keyname);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_off, EFL_FUNC_CALL(keyname), const char *keyname);
|
||||
|
||||
void _evas_canvas_nochange_push(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_nochange_push);
|
||||
|
||||
void _evas_canvas_font_cache_flush(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_font_cache_flush);
|
||||
|
||||
void _evas_canvas_key_modifier_on(Eo *obj, Evas_Public_Data *pd, const char *keyname);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_on, EFL_FUNC_CALL(keyname), const char *keyname);
|
||||
|
||||
void _evas_canvas_seat_key_modifier_on(Eo *obj, Evas_Public_Data *pd, const char *keyname, Efl_Input_Device *seat);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_modifier_on, EFL_FUNC_CALL(keyname, seat), const char *keyname, Efl_Input_Device *seat);
|
||||
|
||||
void _evas_canvas_seat_key_modifier_off(Eo *obj, Evas_Public_Data *pd, const char *keyname, Efl_Input_Device *seat);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_modifier_off, EFL_FUNC_CALL(keyname, seat), const char *keyname, Efl_Input_Device *seat);
|
||||
|
||||
Eina_List *_evas_canvas_font_available_list(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_font_available_list, Eina_List *, NULL);
|
||||
|
||||
Efl_Canvas_Object *_evas_canvas_object_name_find(const Eo *obj, Evas_Public_Data *pd, const char *name);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_object_name_find, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(name), const char *name);
|
||||
|
||||
void _evas_canvas_font_path_append(Eo *obj, Evas_Public_Data *pd, const char *path);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_font_path_append, EFL_FUNC_CALL(path), const char *path);
|
||||
|
||||
void _evas_canvas_font_path_clear(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_font_path_clear);
|
||||
|
||||
void _evas_canvas_touch_point_list_nth_xy_get(Eo *obj, Evas_Public_Data *pd, unsigned int n, double *x, double *y);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_touch_point_list_nth_xy_get, EFL_FUNC_CALL(n, x, y), unsigned int n, double *x, double *y);
|
||||
|
||||
void _evas_canvas_key_lock_del(Eo *obj, Evas_Public_Data *pd, const char *keyname);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_del, EFL_FUNC_CALL(keyname), const char *keyname);
|
||||
|
||||
void _evas_canvas_damage_rectangle_add(Eo *obj, Evas_Public_Data *pd, int x, int y, int w, int h);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_damage_rectangle_add, EFL_FUNC_CALL(x, y, w, h), int x, int y, int w, int h);
|
||||
|
||||
void _evas_canvas_sync(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_sync);
|
||||
|
||||
const Eina_List *_evas_canvas_font_path_list(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_font_path_list, const Eina_List *, NULL);
|
||||
|
||||
void _evas_canvas_image_cache_reload(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_image_cache_reload);
|
||||
|
||||
int _evas_canvas_coord_world_x_to_screen(const Eo *obj, Evas_Public_Data *pd, int x);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_coord_world_x_to_screen, int, 0, EFL_FUNC_CALL(x), int x);
|
||||
|
||||
Eina_List *_evas_canvas_render_updates(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY(evas_canvas_render_updates, Eina_List *, NULL);
|
||||
|
||||
void _evas_canvas_image_cache_flush(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_image_cache_flush);
|
||||
|
||||
int _evas_canvas_coord_screen_y_to_world(const Eo *obj, Evas_Public_Data *pd, int y);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_coord_screen_y_to_world, int, 0, EFL_FUNC_CALL(y), int y);
|
||||
|
||||
void _evas_canvas_key_modifier_del(Eo *obj, Evas_Public_Data *pd, const char *keyname);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_del, EFL_FUNC_CALL(keyname), const char *keyname);
|
||||
|
||||
void _evas_canvas_focus_in(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_focus_in);
|
||||
|
||||
void _evas_canvas_seat_focus_in(Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *seat);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_focus_in, EFL_FUNC_CALL(seat), Efl_Input_Device *seat);
|
||||
|
||||
void _evas_canvas_seat_focus_out(Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *seat);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_focus_out, EFL_FUNC_CALL(seat), Efl_Input_Device *seat);
|
||||
|
||||
void _evas_canvas_obscured_rectangle_add(Eo *obj, Evas_Public_Data *pd, int x, int y, int w, int h);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_obscured_rectangle_add, EFL_FUNC_CALL(x, y, w, h), int x, int y, int w, int h);
|
||||
|
||||
void _evas_canvas_render_dump(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_render_dump);
|
||||
|
||||
void _evas_canvas_render(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_render);
|
||||
|
||||
void _evas_canvas_font_path_prepend(Eo *obj, Evas_Public_Data *pd, const char *path);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_font_path_prepend, EFL_FUNC_CALL(path), const char *path);
|
||||
|
||||
void _evas_canvas_obscured_clear(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_obscured_clear);
|
||||
|
||||
int _evas_canvas_coord_screen_x_to_world(const Eo *obj, Evas_Public_Data *pd, int x);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_coord_screen_x_to_world, int, 0, EFL_FUNC_CALL(x), int x);
|
||||
|
||||
void _evas_canvas_key_lock_add(Eo *obj, Evas_Public_Data *pd, const char *keyname);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_add, EFL_FUNC_CALL(keyname), const char *keyname);
|
||||
|
||||
void _evas_canvas_render_idle_flush(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_render_idle_flush);
|
||||
|
||||
Efl_Input_Device *_evas_canvas_default_device_get(const Eo *obj, Evas_Public_Data *pd, Efl_Input_Device_Type type);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_default_device_get, Efl_Input_Device *, NULL, EFL_FUNC_CALL(type), Efl_Input_Device_Type type);
|
||||
|
||||
int _evas_canvas_coord_world_y_to_screen(const Eo *obj, Evas_Public_Data *pd, int y);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_coord_world_y_to_screen, int, 0, EFL_FUNC_CALL(y), int y);
|
||||
|
||||
Efl_Object *_evas_canvas_efl_object_constructor(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
void _evas_canvas_efl_object_destructor(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
void _evas_canvas_efl_object_invalidate(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
void _evas_canvas_efl_object_event_thaw(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
void _evas_canvas_efl_object_event_freeze(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
Efl_Object *_evas_canvas_efl_object_provider_find(const Eo *obj, Evas_Public_Data *pd, const Efl_Class *klass);
|
||||
|
||||
|
||||
Efl_Loop *_evas_canvas_efl_loop_consumer_loop_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
Eina_Bool _evas_canvas_efl_canvas_pointer_pointer_inside_get(const Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *seat);
|
||||
|
||||
|
||||
Efl_Input_Device *_evas_canvas_efl_canvas_scene_device_get(const Eo *obj, Evas_Public_Data *pd, const char *name);
|
||||
|
||||
|
||||
Efl_Input_Device *_evas_canvas_efl_canvas_scene_seat_get(const Eo *obj, Evas_Public_Data *pd, int id);
|
||||
|
||||
|
||||
Efl_Input_Device *_evas_canvas_efl_canvas_scene_seat_default_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
Eina_Bool _evas_canvas_efl_canvas_scene_pointer_position_get(const Eo *obj, Evas_Public_Data *pd, Efl_Input_Device *seat, Eina_Position2D *pos);
|
||||
|
||||
|
||||
Eina_Bool _evas_canvas_efl_canvas_scene_image_max_size_get(const Eo *obj, Evas_Public_Data *pd, Eina_Size2D *max);
|
||||
|
||||
|
||||
Eina_Iterator *_evas_canvas_efl_canvas_scene_objects_at_xy_get(Eo *obj, Evas_Public_Data *pd, Eina_Position2D pos, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects);
|
||||
|
||||
|
||||
Efl_Gfx_Entity *_evas_canvas_efl_canvas_scene_object_top_at_xy_get(const Eo *obj, Evas_Public_Data *pd, Eina_Position2D pos, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects);
|
||||
|
||||
|
||||
Eina_Iterator *_evas_canvas_efl_canvas_scene_objects_in_rectangle_get(Eo *obj, Evas_Public_Data *pd, Eina_Rect rect, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects);
|
||||
|
||||
|
||||
Efl_Gfx_Entity *_evas_canvas_efl_canvas_scene_object_top_in_rectangle_get(const Eo *obj, Evas_Public_Data *pd, Eina_Rect rect, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects);
|
||||
|
||||
|
||||
void _evas_canvas_efl_canvas_scene_group_objects_calculate(Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
Eina_Bool _evas_canvas_efl_canvas_scene_group_objects_calculating_get(const Eo *obj, Evas_Public_Data *pd);
|
||||
|
||||
|
||||
static Eina_Bool
|
||||
_evas_canvas_class_initializer(Efl_Class *klass)
|
||||
{
|
||||
const Efl_Object_Ops *opsp = NULL;
|
||||
|
||||
const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
|
||||
|
||||
#ifndef EVAS_CANVAS_EXTRA_OPS
|
||||
#define EVAS_CANVAS_EXTRA_OPS
|
||||
#endif
|
||||
|
||||
EFL_OPS_DEFINE(ops,
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_image_cache_set, _evas_canvas_image_cache_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_image_cache_get, _evas_canvas_image_cache_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_event_default_flags_set, _evas_canvas_event_default_flags_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_event_default_flags_get, _evas_canvas_event_default_flags_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_font_cache_set, _evas_canvas_font_cache_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_font_cache_get, _evas_canvas_font_cache_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_data_attach_set, _evas_canvas_data_attach_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_data_attach_get, _evas_canvas_data_attach_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_focus_get, _evas_canvas_focus_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_seat_focus_get, _evas_canvas_seat_focus_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_object_top_get, _evas_canvas_object_top_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_pointer_canvas_xy_by_device_get, _evas_canvas_pointer_canvas_xy_by_device_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_pointer_canvas_xy_get, _evas_canvas_pointer_canvas_xy_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_event_down_count_get, _evas_canvas_event_down_count_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_smart_objects_calculate_count_get, _evas_canvas_smart_objects_calculate_count_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_focus_state_get, _evas_canvas_focus_state_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_seat_focus_state_get, _evas_canvas_seat_focus_state_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_changed_get, _evas_canvas_changed_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_pointer_output_xy_by_device_get, _evas_canvas_pointer_output_xy_by_device_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_pointer_output_xy_get, _evas_canvas_pointer_output_xy_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_object_bottom_get, _evas_canvas_object_bottom_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_pointer_button_down_mask_by_device_get, _evas_canvas_pointer_button_down_mask_by_device_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_pointer_button_down_mask_get, _evas_canvas_pointer_button_down_mask_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_tree_objects_at_xy_get, _evas_canvas_tree_objects_at_xy_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_key_lock_on, _evas_canvas_key_lock_on),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_seat_key_lock_on, _evas_canvas_seat_key_lock_on),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_seat_key_lock_off, _evas_canvas_seat_key_lock_off),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_key_modifier_add, _evas_canvas_key_modifier_add),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_key_modifier_off, _evas_canvas_key_modifier_off),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_render_async, _evas_canvas_render_async),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_focus_out, _evas_canvas_focus_out),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_norender, _evas_canvas_norender),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_nochange_pop, _evas_canvas_nochange_pop),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_key_lock_off, _evas_canvas_key_lock_off),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_nochange_push, _evas_canvas_nochange_push),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_font_cache_flush, _evas_canvas_font_cache_flush),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_key_modifier_on, _evas_canvas_key_modifier_on),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_seat_key_modifier_on, _evas_canvas_seat_key_modifier_on),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_seat_key_modifier_off, _evas_canvas_seat_key_modifier_off),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_font_available_list, _evas_canvas_font_available_list),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_object_name_find, _evas_canvas_object_name_find),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_font_path_append, _evas_canvas_font_path_append),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_font_path_clear, _evas_canvas_font_path_clear),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_touch_point_list_nth_xy_get, _evas_canvas_touch_point_list_nth_xy_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_key_lock_del, _evas_canvas_key_lock_del),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_damage_rectangle_add, _evas_canvas_damage_rectangle_add),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_sync, _evas_canvas_sync),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_font_path_list, _evas_canvas_font_path_list),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_image_cache_reload, _evas_canvas_image_cache_reload),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_coord_world_x_to_screen, _evas_canvas_coord_world_x_to_screen),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_render_updates, _evas_canvas_render_updates),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_image_cache_flush, _evas_canvas_image_cache_flush),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_coord_screen_y_to_world, _evas_canvas_coord_screen_y_to_world),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_key_modifier_del, _evas_canvas_key_modifier_del),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_focus_in, _evas_canvas_focus_in),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_seat_focus_in, _evas_canvas_seat_focus_in),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_seat_focus_out, _evas_canvas_seat_focus_out),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_obscured_rectangle_add, _evas_canvas_obscured_rectangle_add),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_render_dump, _evas_canvas_render_dump),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_render, _evas_canvas_render),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_font_path_prepend, _evas_canvas_font_path_prepend),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_obscured_clear, _evas_canvas_obscured_clear),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_coord_screen_x_to_world, _evas_canvas_coord_screen_x_to_world),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_key_lock_add, _evas_canvas_key_lock_add),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_render_idle_flush, _evas_canvas_render_idle_flush),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_default_device_get, _evas_canvas_default_device_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_canvas_coord_world_y_to_screen, _evas_canvas_coord_world_y_to_screen),
|
||||
EFL_OBJECT_OP_FUNC(efl_constructor, _evas_canvas_efl_object_constructor),
|
||||
EFL_OBJECT_OP_FUNC(efl_destructor, _evas_canvas_efl_object_destructor),
|
||||
EFL_OBJECT_OP_FUNC(efl_invalidate, _evas_canvas_efl_object_invalidate),
|
||||
EFL_OBJECT_OP_FUNC(efl_event_thaw, _evas_canvas_efl_object_event_thaw),
|
||||
EFL_OBJECT_OP_FUNC(efl_event_freeze, _evas_canvas_efl_object_event_freeze),
|
||||
EFL_OBJECT_OP_FUNC(efl_provider_find, _evas_canvas_efl_object_provider_find),
|
||||
EFL_OBJECT_OP_FUNC(efl_loop_get, _evas_canvas_efl_loop_consumer_loop_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_pointer_inside_get, _evas_canvas_efl_canvas_pointer_pointer_inside_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_device_get, _evas_canvas_efl_canvas_scene_device_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_seat_get, _evas_canvas_efl_canvas_scene_seat_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_seat_default_get, _evas_canvas_efl_canvas_scene_seat_default_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_pointer_position_get, _evas_canvas_efl_canvas_scene_pointer_position_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_image_max_size_get, _evas_canvas_efl_canvas_scene_image_max_size_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_objects_at_xy_get, _evas_canvas_efl_canvas_scene_objects_at_xy_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_object_top_at_xy_get, _evas_canvas_efl_canvas_scene_object_top_at_xy_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_objects_in_rectangle_get, _evas_canvas_efl_canvas_scene_objects_in_rectangle_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_object_top_in_rectangle_get, _evas_canvas_efl_canvas_scene_object_top_in_rectangle_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_group_objects_calculate, _evas_canvas_efl_canvas_scene_group_objects_calculate),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_scene_group_objects_calculating_get, _evas_canvas_efl_canvas_scene_group_objects_calculating_get),
|
||||
EVAS_CANVAS_EXTRA_OPS
|
||||
);
|
||||
opsp = &ops;
|
||||
|
||||
static const Efl_Object_Property_Reflection refl_table[] = {
|
||||
{"image_cache", __eolian_evas_canvas_image_cache_set_reflect, __eolian_evas_canvas_image_cache_get_reflect},
|
||||
{"font_cache", __eolian_evas_canvas_font_cache_set_reflect, __eolian_evas_canvas_font_cache_get_reflect},
|
||||
};
|
||||
static const Efl_Object_Property_Reflection_Ops rops = {
|
||||
refl_table, EINA_C_ARRAY_LENGTH(refl_table)
|
||||
};
|
||||
ropsp = &rops;
|
||||
|
||||
return efl_class_functions_set(klass, opsp, ropsp);
|
||||
}
|
||||
|
||||
static const Efl_Class_Description _evas_canvas_class_desc = {
|
||||
EO_VERSION,
|
||||
"Evas.Canvas",
|
||||
EFL_CLASS_TYPE_REGULAR,
|
||||
sizeof(Evas_Public_Data),
|
||||
_evas_canvas_class_initializer,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
EFL_DEFINE_CLASS(evas_canvas_class_get, &_evas_canvas_class_desc, EFL_LOOP_CONSUMER_CLASS, EFL_CANVAS_SCENE_INTERFACE, EFL_INPUT_INTERFACE_INTERFACE, EFL_CANVAS_POINTER_INTERFACE, NULL);
|
||||
|
||||
#include "evas_canvas_eo.legacy.c"
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,413 @@
|
|||
#ifndef EVAS_CANVAS_EO_HH
|
||||
#define EVAS_CANVAS_EO_HH
|
||||
#include <Eo.h>
|
||||
|
||||
extern "C" {
|
||||
#include "efl_canvas_object.eo.h"
|
||||
#include "efl_canvas_pointer.eo.h"
|
||||
#include "efl_canvas_scene.eo.h"
|
||||
#include "efl_class.eo.h"
|
||||
#include "efl_gfx_entity.eo.h"
|
||||
#include "efl_input_device.eo.h"
|
||||
#include "efl_input_focus.eo.h"
|
||||
#include "efl_input_hold.eo.h"
|
||||
#include "efl_input_interface.eo.h"
|
||||
#include "efl_input_key.eo.h"
|
||||
#include "efl_input_pointer.eo.h"
|
||||
#include "efl_loop.eo.h"
|
||||
#include "efl_loop_consumer.eo.h"
|
||||
#include "efl_object.eo.h"
|
||||
#include "evas_canvas_eo.h"
|
||||
}
|
||||
#include <Eina.hh>
|
||||
#include <Eo.hh>
|
||||
#include "efl_canvas_object.eo.hh"
|
||||
#include "efl_canvas_pointer.eo.hh"
|
||||
#include "efl_canvas_scene.eo.hh"
|
||||
#include "efl_class.eo.hh"
|
||||
#include "efl_gfx_entity.eo.hh"
|
||||
#include "efl_input_device.eo.hh"
|
||||
#include "efl_input_focus.eo.hh"
|
||||
#include "efl_input_hold.eo.hh"
|
||||
#include "efl_input_interface.eo.hh"
|
||||
#include "efl_input_key.eo.hh"
|
||||
#include "efl_input_pointer.eo.hh"
|
||||
#include "efl_loop.eo.hh"
|
||||
#include "efl_loop_consumer.eo.hh"
|
||||
#include "efl_object.eo.hh"
|
||||
#ifndef EVAS_CANVAS_FWD_GUARD
|
||||
#define EVAS_CANVAS_FWD_GUARD
|
||||
namespace evas {
|
||||
struct Canvas;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Canvas> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Canvas&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Canvas const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Canvas const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CLASS_FWD_GUARD
|
||||
#define EFL_CLASS_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Class;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
#define EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Object;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_POINTER_FWD_GUARD
|
||||
#define EFL_CANVAS_POINTER_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_ENTITY_FWD_GUARD
|
||||
#define EFL_GFX_ENTITY_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Entity;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_DEVICE_FWD_GUARD
|
||||
#define EFL_INPUT_DEVICE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Device;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_FOCUS_FWD_GUARD
|
||||
#define EFL_INPUT_FOCUS_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Focus;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_HOLD_FWD_GUARD
|
||||
#define EFL_INPUT_HOLD_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Hold;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
#define EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Interface;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_KEY_FWD_GUARD
|
||||
#define EFL_INPUT_KEY_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Key;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_FWD_GUARD
|
||||
#define EFL_LOOP_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
#define EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop_Consumer;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_OBJECT_FWD_GUARD
|
||||
#define EFL_OBJECT_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Object;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_POINTER_FWD_GUARD
|
||||
#define EFL_INPUT_POINTER_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_SCENE_FWD_GUARD
|
||||
#define EFL_CANVAS_SCENE_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Scene;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Scene> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Scene&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Scene const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Scene const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
struct Canvas {
|
||||
::efl::eolian::return_traits<int>::type image_cache_get() const;
|
||||
::efl::eolian::return_traits<void>::type image_cache_set( ::efl::eolian::in_traits<int>::type size) const;
|
||||
::efl::eolian::return_traits<Efl_Input_Flags>::type event_default_flags_get() const;
|
||||
::efl::eolian::return_traits<void>::type event_default_flags_set( ::efl::eolian::in_traits<Efl_Input_Flags>::type flags) const;
|
||||
::efl::eolian::return_traits<int>::type font_cache_get() const;
|
||||
::efl::eolian::return_traits<void>::type font_cache_set( ::efl::eolian::in_traits<int>::type size) const;
|
||||
::efl::eolian::return_traits<void*>::type data_attach_get() const;
|
||||
::efl::eolian::return_traits<void>::type data_attach_set( ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type focus_get() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type seat_focus_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type object_top_get() const;
|
||||
::efl::eolian::return_traits<void>::type pointer_canvas_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type pointer_canvas_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<int>::type event_down_count_get() const;
|
||||
::efl::eolian::return_traits<int>::type smart_objects_calculate_count_get() const;
|
||||
::efl::eolian::return_traits<bool>::type focus_state_get() const;
|
||||
::efl::eolian::return_traits<bool>::type seat_focus_state_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<bool>::type changed_get() const;
|
||||
::efl::eolian::return_traits<void>::type pointer_output_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type pointer_output_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type object_bottom_get() const;
|
||||
::efl::eolian::return_traits< unsigned int>::type pointer_button_down_mask_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev) const;
|
||||
::efl::eolian::return_traits< unsigned int>::type pointer_button_down_mask_get() const;
|
||||
::efl::eolian::return_traits< ::efl::input::Device>::type default_device_get( ::efl::eolian::in_traits<Efl_Input_Device_Type>::type type) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::canvas::Object>>::type tree_objects_at_xy_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type stop, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type seat_key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type seat_key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type key_modifier_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<bool>::type render_async() const;
|
||||
::efl::eolian::return_traits<void>::type focus_out() const;
|
||||
::efl::eolian::return_traits<void>::type norender() const;
|
||||
::efl::eolian::return_traits<void>::type nochange_pop() const;
|
||||
::efl::eolian::return_traits<void>::type key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type nochange_push() const;
|
||||
::efl::eolian::return_traits<void>::type font_cache_flush() const;
|
||||
::efl::eolian::return_traits<void>::type key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type seat_key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type seat_key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type font_available_list() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type object_name_find( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const;
|
||||
::efl::eolian::return_traits<void>::type font_path_append( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const;
|
||||
::efl::eolian::return_traits<void>::type font_path_clear() const;
|
||||
::efl::eolian::return_traits<void>::type touch_point_list_nth_xy_get( ::efl::eolian::in_traits< unsigned int>::type n, ::efl::eolian::out_traits<double>::type x, ::efl::eolian::out_traits<double>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type key_lock_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type damage_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits<void>::type sync() const;
|
||||
::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type font_path_list() const;
|
||||
::efl::eolian::return_traits<void>::type image_cache_reload() const;
|
||||
::efl::eolian::return_traits<int>::type coord_world_x_to_screen( ::efl::eolian::in_traits<int>::type x) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::list<Eina_Rect const&>>::type render_updates() const;
|
||||
::efl::eolian::return_traits<void>::type image_cache_flush() const;
|
||||
::efl::eolian::return_traits<int>::type coord_screen_y_to_world( ::efl::eolian::in_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type key_modifier_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type focus_in() const;
|
||||
::efl::eolian::return_traits<void>::type seat_focus_in( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type seat_focus_out( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type obscured_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits<void>::type render_dump() const;
|
||||
::efl::eolian::return_traits<void>::type render() const;
|
||||
::efl::eolian::return_traits<void>::type font_path_prepend( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const;
|
||||
::efl::eolian::return_traits<void>::type obscured_clear() const;
|
||||
::efl::eolian::return_traits<int>::type coord_screen_x_to_world( ::efl::eolian::in_traits<int>::type x) const;
|
||||
::efl::eolian::return_traits<void>::type key_lock_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type render_idle_flush() const;
|
||||
::efl::eolian::return_traits<int>::type coord_world_y_to_screen( ::efl::eolian::in_traits<int>::type y) const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_CANVAS_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Canvas *>(this))); }
|
||||
operator ::evas::Canvas() const;
|
||||
operator ::evas::Canvas&();
|
||||
operator ::evas::Canvas const&() const;
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Canvas, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Pointer, ::efl::canvas::Scene, ::efl::input::Interface> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Canvas const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Pointer const , ::efl::canvas::Scene const , ::efl::input::Interface const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
};
|
||||
}
|
||||
}
|
||||
namespace evas {
|
||||
struct Canvas : private ::efl::eo::concrete
|
||||
, EO_CXX_INHERIT(::efl::Loop_Consumer)
|
||||
, EO_CXX_INHERIT(::efl::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Pointer)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Scene)
|
||||
, EO_CXX_INHERIT(::efl::input::Interface)
|
||||
{
|
||||
explicit Canvas( ::Eo* eo)
|
||||
: ::efl::eo::concrete(eo) {}
|
||||
Canvas(std::nullptr_t)
|
||||
: ::efl::eo::concrete(nullptr) {}
|
||||
explicit Canvas() = default;
|
||||
Canvas(Canvas const&) = default;
|
||||
Canvas(Canvas&&) = default;
|
||||
Canvas& operator=(Canvas const&) = default;
|
||||
Canvas& operator=(Canvas&&) = default;
|
||||
template <typename Derived>
|
||||
Canvas(Derived&& derived
|
||||
, typename std::enable_if<
|
||||
::efl::eo::is_eolian_object<Derived>::value
|
||||
&& std::is_base_of< Canvas, Derived>::value>::type* = 0)
|
||||
: ::efl::eo::concrete(derived._eo_ptr()) {}
|
||||
|
||||
Canvas( ::efl::eo::instantiate_t)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
|
||||
}
|
||||
template <typename T>
|
||||
explicit Canvas( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
|
||||
}
|
||||
template <typename F> Canvas( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Canvas >::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
template <typename T, typename F> Canvas( ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Canvas >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
|
||||
::efl::eolian::return_traits<int>::type image_cache_get() const;
|
||||
::efl::eolian::return_traits<void>::type image_cache_set( ::efl::eolian::in_traits<int>::type size) const;
|
||||
::efl::eolian::return_traits<Efl_Input_Flags>::type event_default_flags_get() const;
|
||||
::efl::eolian::return_traits<void>::type event_default_flags_set( ::efl::eolian::in_traits<Efl_Input_Flags>::type flags) const;
|
||||
::efl::eolian::return_traits<int>::type font_cache_get() const;
|
||||
::efl::eolian::return_traits<void>::type font_cache_set( ::efl::eolian::in_traits<int>::type size) const;
|
||||
::efl::eolian::return_traits<void*>::type data_attach_get() const;
|
||||
::efl::eolian::return_traits<void>::type data_attach_set( ::efl::eolian::in_traits<void*>::type data) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type focus_get() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type seat_focus_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type object_top_get() const;
|
||||
::efl::eolian::return_traits<void>::type pointer_canvas_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type pointer_canvas_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<int>::type event_down_count_get() const;
|
||||
::efl::eolian::return_traits<int>::type smart_objects_calculate_count_get() const;
|
||||
::efl::eolian::return_traits<bool>::type focus_state_get() const;
|
||||
::efl::eolian::return_traits<bool>::type seat_focus_state_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<bool>::type changed_get() const;
|
||||
::efl::eolian::return_traits<void>::type pointer_output_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type pointer_output_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type object_bottom_get() const;
|
||||
::efl::eolian::return_traits< unsigned int>::type pointer_button_down_mask_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev) const;
|
||||
::efl::eolian::return_traits< unsigned int>::type pointer_button_down_mask_get() const;
|
||||
::efl::eolian::return_traits< ::efl::input::Device>::type default_device_get( ::efl::eolian::in_traits<Efl_Input_Device_Type>::type type) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::canvas::Object>>::type tree_objects_at_xy_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type stop, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type seat_key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type seat_key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type key_modifier_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<bool>::type render_async() const;
|
||||
::efl::eolian::return_traits<void>::type focus_out() const;
|
||||
::efl::eolian::return_traits<void>::type norender() const;
|
||||
::efl::eolian::return_traits<void>::type nochange_pop() const;
|
||||
::efl::eolian::return_traits<void>::type key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type nochange_push() const;
|
||||
::efl::eolian::return_traits<void>::type font_cache_flush() const;
|
||||
::efl::eolian::return_traits<void>::type key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type seat_key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type seat_key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type font_available_list() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type object_name_find( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const;
|
||||
::efl::eolian::return_traits<void>::type font_path_append( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const;
|
||||
::efl::eolian::return_traits<void>::type font_path_clear() const;
|
||||
::efl::eolian::return_traits<void>::type touch_point_list_nth_xy_get( ::efl::eolian::in_traits< unsigned int>::type n, ::efl::eolian::out_traits<double>::type x, ::efl::eolian::out_traits<double>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type key_lock_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type damage_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits<void>::type sync() const;
|
||||
::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type font_path_list() const;
|
||||
::efl::eolian::return_traits<void>::type image_cache_reload() const;
|
||||
::efl::eolian::return_traits<int>::type coord_world_x_to_screen( ::efl::eolian::in_traits<int>::type x) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::list<Eina_Rect const&>>::type render_updates() const;
|
||||
::efl::eolian::return_traits<void>::type image_cache_flush() const;
|
||||
::efl::eolian::return_traits<int>::type coord_screen_y_to_world( ::efl::eolian::in_traits<int>::type y) const;
|
||||
::efl::eolian::return_traits<void>::type key_modifier_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type focus_in() const;
|
||||
::efl::eolian::return_traits<void>::type seat_focus_in( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type seat_focus_out( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const;
|
||||
::efl::eolian::return_traits<void>::type obscured_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits<void>::type render_dump() const;
|
||||
::efl::eolian::return_traits<void>::type render() const;
|
||||
::efl::eolian::return_traits<void>::type font_path_prepend( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const;
|
||||
::efl::eolian::return_traits<void>::type obscured_clear() const;
|
||||
::efl::eolian::return_traits<int>::type coord_screen_x_to_world( ::efl::eolian::in_traits<int>::type x) const;
|
||||
::efl::eolian::return_traits<void>::type key_lock_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const;
|
||||
::efl::eolian::return_traits<void>::type render_idle_flush() const;
|
||||
::efl::eolian::return_traits<int>::type coord_world_y_to_screen( ::efl::eolian::in_traits<int>::type y) const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_CANVAS_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Canvas *>(this))); }
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Canvas, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Pointer, ::efl::canvas::Scene, ::efl::input::Interface> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Canvas const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Pointer const , ::efl::canvas::Scene const , ::efl::input::Interface const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
::efl::eo::wref<Canvas> _get_wref() const { return ::efl::eo::wref<Canvas>(*this); }
|
||||
::efl::eo::concrete const& _get_concrete() const { return *this; }
|
||||
::efl::eo::concrete& _get_concrete() { return *this; }
|
||||
using ::efl::eo::concrete::_eo_ptr;
|
||||
using ::efl::eo::concrete::_release;
|
||||
using ::efl::eo::concrete::_reset;
|
||||
using ::efl::eo::concrete::_delete;
|
||||
using ::efl::eo::concrete::operator bool;
|
||||
#ifdef EFL_CXXPERIMENTAL
|
||||
const Canvas* operator->() const { return this; }
|
||||
Canvas* operator->() { return this; }
|
||||
operator Eo*() const { return _eo_ptr(); }
|
||||
#endif
|
||||
friend bool operator==(Canvas const& lhs, Canvas const& rhs)
|
||||
{ return lhs._get_concrete() == rhs._get_concrete(); }
|
||||
friend bool operator!=(Canvas const& lhs, Canvas const& rhs)
|
||||
{ return !(lhs == rhs); }
|
||||
};
|
||||
static_assert(sizeof(Canvas) == sizeof(Eo*), "");
|
||||
static_assert(std::is_standard_layout<Canvas>::value, "");
|
||||
}
|
||||
#endif
|
|
@ -0,0 +1,756 @@
|
|||
#ifndef EVAS_CANVAS_IMPL_HH
|
||||
#define EVAS_CANVAS_IMPL_HH
|
||||
|
||||
#include "evas_canvas_eo.hh"
|
||||
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::image_cache_get() const
|
||||
{
|
||||
int __return_value = ::evas_canvas_image_cache_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::image_cache_set( ::efl::eolian::in_traits<int>::type size) const
|
||||
{
|
||||
::evas_canvas_image_cache_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(size));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Efl_Input_Flags>::type Canvas::event_default_flags_get() const
|
||||
{
|
||||
Efl_Input_Flags __return_value = ::evas_canvas_event_default_flags_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Efl_Input_Flags>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::event_default_flags_set( ::efl::eolian::in_traits<Efl_Input_Flags>::type flags) const
|
||||
{
|
||||
::evas_canvas_event_default_flags_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Efl_Input_Flags, ::efl::eolian::in_traits<Efl_Input_Flags>::type>(flags));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::font_cache_get() const
|
||||
{
|
||||
int __return_value = ::evas_canvas_font_cache_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_cache_set( ::efl::eolian::in_traits<int>::type size) const
|
||||
{
|
||||
::evas_canvas_font_cache_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(size));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void*>::type Canvas::data_attach_get() const
|
||||
{
|
||||
void * __return_value = ::evas_canvas_data_attach_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<void*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::data_attach_set( ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_canvas_data_attach_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::focus_get() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_focus_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::seat_focus_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_seat_focus_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::object_top_get() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_object_top_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::pointer_canvas_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
::evas_canvas_pointer_canvas_xy_by_device_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(dev),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::pointer_canvas_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
::evas_canvas_pointer_canvas_xy_get(_eo_ptr(),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::event_down_count_get() const
|
||||
{
|
||||
int __return_value = ::evas_canvas_event_down_count_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::smart_objects_calculate_count_get() const
|
||||
{
|
||||
int __return_value = ::evas_canvas_smart_objects_calculate_count_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Canvas::focus_state_get() const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_canvas_focus_state_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Canvas::seat_focus_state_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_canvas_seat_focus_state_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Canvas::changed_get() const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_canvas_changed_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::pointer_output_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
::evas_canvas_pointer_output_xy_by_device_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(dev),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::pointer_output_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
::evas_canvas_pointer_output_xy_get(_eo_ptr(),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::object_bottom_get() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_object_bottom_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< unsigned int>::type Canvas::pointer_button_down_mask_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev) const
|
||||
{
|
||||
unsigned int __return_value = ::evas_canvas_pointer_button_down_mask_by_device_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(dev));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< unsigned int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< unsigned int>::type Canvas::pointer_button_down_mask_get() const
|
||||
{
|
||||
unsigned int __return_value = ::evas_canvas_pointer_button_down_mask_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< unsigned int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::input::Device>::type Canvas::default_device_get( ::efl::eolian::in_traits<Efl_Input_Device_Type>::type type) const
|
||||
{
|
||||
::Efl_Input_Device* __return_value = ::evas_canvas_default_device_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Efl_Input_Device_Type, ::efl::eolian::in_traits<Efl_Input_Device_Type>::type>(type));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::input::Device>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::canvas::Object>>::type Canvas::tree_objects_at_xy_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type stop, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y) const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_canvas_tree_objects_at_xy_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(stop),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_lock_on(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_key_lock_on(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_key_lock_off(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_modifier_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_modifier_add(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_modifier_off(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Canvas::render_async() const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_canvas_render_async(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::focus_out() const
|
||||
{
|
||||
::evas_canvas_focus_out(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::norender() const
|
||||
{
|
||||
::evas_canvas_norender(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::nochange_pop() const
|
||||
{
|
||||
::evas_canvas_nochange_pop(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_lock_off(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::nochange_push() const
|
||||
{
|
||||
::evas_canvas_nochange_push(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_cache_flush() const
|
||||
{
|
||||
::evas_canvas_font_cache_flush(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_modifier_on(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_key_modifier_on(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_key_modifier_off(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type Canvas::font_available_list() const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_canvas_font_available_list(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::object_name_find( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_object_name_find(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(name));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_path_append( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const
|
||||
{
|
||||
::evas_canvas_font_path_append(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(path));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_path_clear() const
|
||||
{
|
||||
::evas_canvas_font_path_clear(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::touch_point_list_nth_xy_get( ::efl::eolian::in_traits< unsigned int>::type n, ::efl::eolian::out_traits<double>::type x, ::efl::eolian::out_traits<double>::type y) const
|
||||
{
|
||||
double __out_param_x = {};
|
||||
double __out_param_y = {};
|
||||
::evas_canvas_touch_point_list_nth_xy_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(n),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_lock_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_lock_del(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::damage_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const
|
||||
{
|
||||
::evas_canvas_damage_rectangle_add(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(w),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(h));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::sync() const
|
||||
{
|
||||
::evas_canvas_sync(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type Canvas::font_path_list() const
|
||||
{
|
||||
const Eina_List * __return_value = ::evas_canvas_font_path_list(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::image_cache_reload() const
|
||||
{
|
||||
::evas_canvas_image_cache_reload(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::coord_world_x_to_screen( ::efl::eolian::in_traits<int>::type x) const
|
||||
{
|
||||
int __return_value = ::evas_canvas_coord_world_x_to_screen(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::list<Eina_Rect const&>>::type Canvas::render_updates() const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_canvas_render_updates(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::list<Eina_Rect const&>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::image_cache_flush() const
|
||||
{
|
||||
::evas_canvas_image_cache_flush(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::coord_screen_y_to_world( ::efl::eolian::in_traits<int>::type y) const
|
||||
{
|
||||
int __return_value = ::evas_canvas_coord_screen_y_to_world(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_modifier_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_modifier_del(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::focus_in() const
|
||||
{
|
||||
::evas_canvas_focus_in(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_focus_in( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_focus_in(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_focus_out( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_focus_out(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::obscured_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const
|
||||
{
|
||||
::evas_canvas_obscured_rectangle_add(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(w),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(h));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::render_dump() const
|
||||
{
|
||||
::evas_canvas_render_dump(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::render() const
|
||||
{
|
||||
::evas_canvas_render(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_path_prepend( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const
|
||||
{
|
||||
::evas_canvas_font_path_prepend(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(path));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::obscured_clear() const
|
||||
{
|
||||
::evas_canvas_obscured_clear(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::coord_screen_x_to_world( ::efl::eolian::in_traits<int>::type x) const
|
||||
{
|
||||
int __return_value = ::evas_canvas_coord_screen_x_to_world(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_lock_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_lock_add(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::render_idle_flush() const
|
||||
{
|
||||
::evas_canvas_render_idle_flush(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::coord_world_y_to_screen( ::efl::eolian::in_traits<int>::type y) const
|
||||
{
|
||||
int __return_value = ::evas_canvas_coord_world_y_to_screen(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
}
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::image_cache_get() const
|
||||
{
|
||||
int __return_value = ::evas_canvas_image_cache_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::image_cache_set( ::efl::eolian::in_traits<int>::type size) const
|
||||
{
|
||||
::evas_canvas_image_cache_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(size));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<Efl_Input_Flags>::type Canvas::event_default_flags_get() const
|
||||
{
|
||||
Efl_Input_Flags __return_value = ::evas_canvas_event_default_flags_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Efl_Input_Flags>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::event_default_flags_set( ::efl::eolian::in_traits<Efl_Input_Flags>::type flags) const
|
||||
{
|
||||
::evas_canvas_event_default_flags_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Efl_Input_Flags, ::efl::eolian::in_traits<Efl_Input_Flags>::type>(flags));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::font_cache_get() const
|
||||
{
|
||||
int __return_value = ::evas_canvas_font_cache_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_cache_set( ::efl::eolian::in_traits<int>::type size) const
|
||||
{
|
||||
::evas_canvas_font_cache_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(size));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void*>::type Canvas::data_attach_get() const
|
||||
{
|
||||
void * __return_value = ::evas_canvas_data_attach_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<void*>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::data_attach_set( ::efl::eolian::in_traits<void*>::type data) const
|
||||
{
|
||||
::evas_canvas_data_attach_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<void *, ::efl::eolian::in_traits<void*>::type>(data));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::focus_get() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_focus_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::seat_focus_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_seat_focus_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::object_top_get() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_object_top_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::pointer_canvas_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
::evas_canvas_pointer_canvas_xy_by_device_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(dev),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::pointer_canvas_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
::evas_canvas_pointer_canvas_xy_get(_eo_ptr(),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::event_down_count_get() const
|
||||
{
|
||||
int __return_value = ::evas_canvas_event_down_count_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::smart_objects_calculate_count_get() const
|
||||
{
|
||||
int __return_value = ::evas_canvas_smart_objects_calculate_count_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Canvas::focus_state_get() const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_canvas_focus_state_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Canvas::seat_focus_state_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_canvas_seat_focus_state_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Canvas::changed_get() const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_canvas_changed_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::pointer_output_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
::evas_canvas_pointer_output_xy_by_device_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(dev),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::pointer_output_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
::evas_canvas_pointer_output_xy_get(_eo_ptr(),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::object_bottom_get() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_object_bottom_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< unsigned int>::type Canvas::pointer_button_down_mask_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev) const
|
||||
{
|
||||
unsigned int __return_value = ::evas_canvas_pointer_button_down_mask_by_device_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(dev));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< unsigned int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< unsigned int>::type Canvas::pointer_button_down_mask_get() const
|
||||
{
|
||||
unsigned int __return_value = ::evas_canvas_pointer_button_down_mask_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< unsigned int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::input::Device>::type Canvas::default_device_get( ::efl::eolian::in_traits<Efl_Input_Device_Type>::type type) const
|
||||
{
|
||||
::Efl_Input_Device* __return_value = ::evas_canvas_default_device_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Efl_Input_Device_Type, ::efl::eolian::in_traits<Efl_Input_Device_Type>::type>(type));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::input::Device>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::canvas::Object>>::type Canvas::tree_objects_at_xy_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type stop, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y) const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_canvas_tree_objects_at_xy_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(stop),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_lock_on(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_key_lock_on(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_key_lock_off(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_modifier_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_modifier_add(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_modifier_off(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Canvas::render_async() const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_canvas_render_async(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::focus_out() const
|
||||
{
|
||||
::evas_canvas_focus_out(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::norender() const
|
||||
{
|
||||
::evas_canvas_norender(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::nochange_pop() const
|
||||
{
|
||||
::evas_canvas_nochange_pop(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_lock_off(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::nochange_push() const
|
||||
{
|
||||
::evas_canvas_nochange_push(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_cache_flush() const
|
||||
{
|
||||
::evas_canvas_font_cache_flush(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_modifier_on(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_key_modifier_on(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_key_modifier_off(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type Canvas::font_available_list() const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_canvas_font_available_list(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Canvas::object_name_find( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_canvas_object_name_find(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(name));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_path_append( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const
|
||||
{
|
||||
::evas_canvas_font_path_append(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(path));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_path_clear() const
|
||||
{
|
||||
::evas_canvas_font_path_clear(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::touch_point_list_nth_xy_get( ::efl::eolian::in_traits< unsigned int>::type n, ::efl::eolian::out_traits<double>::type x, ::efl::eolian::out_traits<double>::type y) const
|
||||
{
|
||||
double __out_param_x = {};
|
||||
double __out_param_y = {};
|
||||
::evas_canvas_touch_point_list_nth_xy_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<unsigned int, ::efl::eolian::in_traits< unsigned int>::type>(n),
|
||||
& __out_param_x,
|
||||
& __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(y, __out_param_y);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_lock_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_lock_del(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::damage_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const
|
||||
{
|
||||
::evas_canvas_damage_rectangle_add(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(w),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(h));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::sync() const
|
||||
{
|
||||
::evas_canvas_sync(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type Canvas::font_path_list() const
|
||||
{
|
||||
const Eina_List * __return_value = ::evas_canvas_font_path_list(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::image_cache_reload() const
|
||||
{
|
||||
::evas_canvas_image_cache_reload(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::coord_world_x_to_screen( ::efl::eolian::in_traits<int>::type x) const
|
||||
{
|
||||
int __return_value = ::evas_canvas_coord_world_x_to_screen(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::list<Eina_Rect const&>>::type Canvas::render_updates() const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_canvas_render_updates(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::list<Eina_Rect const&>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::image_cache_flush() const
|
||||
{
|
||||
::evas_canvas_image_cache_flush(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::coord_screen_y_to_world( ::efl::eolian::in_traits<int>::type y) const
|
||||
{
|
||||
int __return_value = ::evas_canvas_coord_screen_y_to_world(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_modifier_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_modifier_del(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::focus_in() const
|
||||
{
|
||||
::evas_canvas_focus_in(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_focus_in( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_focus_in(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::seat_focus_out( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const
|
||||
{
|
||||
::evas_canvas_seat_focus_out(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Input_Device*, ::efl::eolian::in_traits< ::efl::input::Device>::type>(seat));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::obscured_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const
|
||||
{
|
||||
::evas_canvas_obscured_rectangle_add(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(w),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(h));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::render_dump() const
|
||||
{
|
||||
::evas_canvas_render_dump(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::render() const
|
||||
{
|
||||
::evas_canvas_render(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::font_path_prepend( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const
|
||||
{
|
||||
::evas_canvas_font_path_prepend(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(path));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::obscured_clear() const
|
||||
{
|
||||
::evas_canvas_obscured_clear(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::coord_screen_x_to_world( ::efl::eolian::in_traits<int>::type x) const
|
||||
{
|
||||
int __return_value = ::evas_canvas_coord_screen_x_to_world(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::key_lock_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const
|
||||
{
|
||||
::evas_canvas_key_lock_add(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<const char *, ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(keyname));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Canvas::render_idle_flush() const
|
||||
{
|
||||
::evas_canvas_render_idle_flush(_eo_ptr());
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Canvas::coord_world_y_to_screen( ::efl::eolian::in_traits<int>::type y) const
|
||||
{
|
||||
int __return_value = ::evas_canvas_coord_world_y_to_screen(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline evas::Canvas::operator ::evas::Canvas() const { return *static_cast< ::evas::Canvas const*>(static_cast<void const*>(this)); }
|
||||
inline evas::Canvas::operator ::evas::Canvas&() { return *static_cast< ::evas::Canvas*>(static_cast<void*>(this)); }
|
||||
inline evas::Canvas::operator ::evas::Canvas const&() const { return *static_cast< ::evas::Canvas const*>(static_cast<void const*>(this)); }
|
||||
} }
|
||||
#endif
|
|
@ -0,0 +1,384 @@
|
|||
|
||||
EAPI void
|
||||
evas_image_cache_set(Evas_Canvas *obj, int size)
|
||||
{
|
||||
evas_canvas_image_cache_set(obj, size);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_image_cache_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_image_cache_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_event_default_flags_set(Evas_Canvas *obj, Efl_Input_Flags flags)
|
||||
{
|
||||
evas_canvas_event_default_flags_set(obj, flags);
|
||||
}
|
||||
|
||||
EAPI Efl_Input_Flags
|
||||
evas_event_default_flags_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_event_default_flags_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_font_cache_set(Evas_Canvas *obj, int size)
|
||||
{
|
||||
evas_canvas_font_cache_set(obj, size);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_font_cache_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_font_cache_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_data_attach_set(Evas_Canvas *obj, void *data)
|
||||
{
|
||||
evas_canvas_data_attach_set(obj, data);
|
||||
}
|
||||
|
||||
EAPI void *
|
||||
evas_data_attach_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_data_attach_get(obj);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_focus_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_focus_get(obj);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_seat_focus_get(const Evas_Canvas *obj, Efl_Input_Device *seat)
|
||||
{
|
||||
return evas_canvas_seat_focus_get(obj, seat);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_object_top_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_object_top_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_pointer_canvas_xy_by_device_get(const Evas_Canvas *obj, Efl_Input_Device *dev, int *x, int *y)
|
||||
{
|
||||
evas_canvas_pointer_canvas_xy_by_device_get(obj, dev, x, y);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_pointer_canvas_xy_get(const Evas_Canvas *obj, int *x, int *y)
|
||||
{
|
||||
evas_canvas_pointer_canvas_xy_get(obj, x, y);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_event_down_count_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_event_down_count_get(obj);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_smart_objects_calculate_count_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_smart_objects_calculate_count_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_focus_state_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_focus_state_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_seat_focus_state_get(const Evas_Canvas *obj, Efl_Input_Device *seat)
|
||||
{
|
||||
return evas_canvas_seat_focus_state_get(obj, seat);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_changed_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_changed_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_pointer_output_xy_by_device_get(const Evas_Canvas *obj, Efl_Input_Device *dev, int *x, int *y)
|
||||
{
|
||||
evas_canvas_pointer_output_xy_by_device_get(obj, dev, x, y);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_pointer_output_xy_get(const Evas_Canvas *obj, int *x, int *y)
|
||||
{
|
||||
evas_canvas_pointer_output_xy_get(obj, x, y);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_object_bottom_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_object_bottom_get(obj);
|
||||
}
|
||||
|
||||
EAPI unsigned int
|
||||
evas_pointer_button_down_mask_by_device_get(const Evas_Canvas *obj, Efl_Input_Device *dev)
|
||||
{
|
||||
return evas_canvas_pointer_button_down_mask_by_device_get(obj, dev);
|
||||
}
|
||||
|
||||
EAPI unsigned int
|
||||
evas_pointer_button_down_mask_get(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_pointer_button_down_mask_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_List *
|
||||
evas_tree_objects_at_xy_get(Evas_Canvas *obj, Efl_Canvas_Object *stop, int x, int y)
|
||||
{
|
||||
return evas_canvas_tree_objects_at_xy_get(obj, stop, x, y);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_key_lock_on(Evas_Canvas *obj, const char *keyname)
|
||||
{
|
||||
evas_canvas_key_lock_on(obj, keyname);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_seat_key_lock_on(Evas_Canvas *obj, const char *keyname, Efl_Input_Device *seat)
|
||||
{
|
||||
evas_canvas_seat_key_lock_on(obj, keyname, seat);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_seat_key_lock_off(Evas_Canvas *obj, const char *keyname, Efl_Input_Device *seat)
|
||||
{
|
||||
evas_canvas_seat_key_lock_off(obj, keyname, seat);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_key_modifier_add(Evas_Canvas *obj, const char *keyname)
|
||||
{
|
||||
evas_canvas_key_modifier_add(obj, keyname);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_key_modifier_off(Evas_Canvas *obj, const char *keyname)
|
||||
{
|
||||
evas_canvas_key_modifier_off(obj, keyname);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_render_async(Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_render_async(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_focus_out(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_focus_out(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_norender(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_norender(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_nochange_pop(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_nochange_pop(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_key_lock_off(Evas_Canvas *obj, const char *keyname)
|
||||
{
|
||||
evas_canvas_key_lock_off(obj, keyname);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_nochange_push(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_nochange_push(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_font_cache_flush(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_font_cache_flush(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_key_modifier_on(Evas_Canvas *obj, const char *keyname)
|
||||
{
|
||||
evas_canvas_key_modifier_on(obj, keyname);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_seat_key_modifier_on(Evas_Canvas *obj, const char *keyname, Efl_Input_Device *seat)
|
||||
{
|
||||
evas_canvas_seat_key_modifier_on(obj, keyname, seat);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_seat_key_modifier_off(Evas_Canvas *obj, const char *keyname, Efl_Input_Device *seat)
|
||||
{
|
||||
evas_canvas_seat_key_modifier_off(obj, keyname, seat);
|
||||
}
|
||||
|
||||
EAPI Eina_List *
|
||||
evas_font_available_list(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_font_available_list(obj);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_object_name_find(const Evas_Canvas *obj, const char *name)
|
||||
{
|
||||
return evas_canvas_object_name_find(obj, name);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_font_path_append(Evas_Canvas *obj, const char *path)
|
||||
{
|
||||
evas_canvas_font_path_append(obj, path);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_font_path_clear(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_font_path_clear(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_key_lock_del(Evas_Canvas *obj, const char *keyname)
|
||||
{
|
||||
evas_canvas_key_lock_del(obj, keyname);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_damage_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int h)
|
||||
{
|
||||
evas_canvas_damage_rectangle_add(obj, x, y, w, h);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_sync(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_sync(obj);
|
||||
}
|
||||
|
||||
EAPI const Eina_List *
|
||||
evas_font_path_list(const Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_font_path_list(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_image_cache_reload(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_image_cache_reload(obj);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_coord_world_x_to_screen(const Evas_Canvas *obj, int x)
|
||||
{
|
||||
return evas_canvas_coord_world_x_to_screen(obj, x);
|
||||
}
|
||||
|
||||
EAPI Eina_List *
|
||||
evas_render_updates(Evas_Canvas *obj)
|
||||
{
|
||||
return evas_canvas_render_updates(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_image_cache_flush(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_image_cache_flush(obj);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_coord_screen_y_to_world(const Evas_Canvas *obj, int y)
|
||||
{
|
||||
return evas_canvas_coord_screen_y_to_world(obj, y);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_key_modifier_del(Evas_Canvas *obj, const char *keyname)
|
||||
{
|
||||
evas_canvas_key_modifier_del(obj, keyname);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_focus_in(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_focus_in(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_obscured_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int h)
|
||||
{
|
||||
evas_canvas_obscured_rectangle_add(obj, x, y, w, h);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_render_dump(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_render_dump(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_render(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_render(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_font_path_prepend(Evas_Canvas *obj, const char *path)
|
||||
{
|
||||
evas_canvas_font_path_prepend(obj, path);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_obscured_clear(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_obscured_clear(obj);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_coord_screen_x_to_world(const Evas_Canvas *obj, int x)
|
||||
{
|
||||
return evas_canvas_coord_screen_x_to_world(obj, x);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_key_lock_add(Evas_Canvas *obj, const char *keyname)
|
||||
{
|
||||
evas_canvas_key_lock_add(obj, keyname);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_render_idle_flush(Evas_Canvas *obj)
|
||||
{
|
||||
evas_canvas_render_idle_flush(obj);
|
||||
}
|
||||
|
||||
EAPI Efl_Input_Device *
|
||||
evas_default_device_get(const Evas_Canvas *obj, Efl_Input_Device_Type type)
|
||||
{
|
||||
return evas_canvas_default_device_get(obj, type);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
evas_coord_world_y_to_screen(const Evas_Canvas *obj, int y)
|
||||
{
|
||||
return evas_canvas_coord_world_y_to_screen(obj, y);
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,123 +0,0 @@
|
|||
class Evas.Grid extends Efl.Canvas.Group
|
||||
{
|
||||
[[Evas grid class]]
|
||||
legacy_prefix: evas_object_grid;
|
||||
eo_prefix: evas_obj_grid;
|
||||
methods {
|
||||
@property grid_size {
|
||||
set {
|
||||
[[Set the virtual resolution for the grid
|
||||
|
||||
@since 1.1]]
|
||||
legacy: evas_object_grid_size_set;
|
||||
}
|
||||
get {
|
||||
[[Get the current virtual resolution
|
||||
|
||||
See also @.grid_size.set
|
||||
|
||||
@since 1.1]]
|
||||
legacy: evas_object_grid_size_get;
|
||||
}
|
||||
values {
|
||||
w: int; [[The virtual horizontal size (resolution) in integer units.]]
|
||||
h: int; [[The virtual vertical size (resolution) in integer units.]]
|
||||
}
|
||||
}
|
||||
@property children {
|
||||
get {
|
||||
[[Get the list of children for the grid.
|
||||
|
||||
Note: This is a duplicate of the list kept by the grid internally.
|
||||
It's up to the user to destroy it when it no longer needs it.
|
||||
It's possible to remove objects from the grid when walking this
|
||||
list, but these removals won't be reflected on it.
|
||||
|
||||
@since 1.1]]
|
||||
return: list<Efl.Canvas.Object> @owned @warn_unused; [[Iterator to grid children]]
|
||||
}
|
||||
}
|
||||
accessor_new @const {
|
||||
[[Get an accessor to get random access to the list of children for the grid.
|
||||
|
||||
Note: Do not remove or delete objects while walking the list.
|
||||
|
||||
@since 1.1]]
|
||||
return: accessor<Efl.Canvas.Object> @owned @warn_unused; [[Accessor to children list]]
|
||||
}
|
||||
clear {
|
||||
[[Faster way to remove all child objects from a grid object.
|
||||
|
||||
@since 1.1]]
|
||||
|
||||
params {
|
||||
@in clear: bool; [[If $true, it will delete just removed children.]]
|
||||
}
|
||||
}
|
||||
iterator_new @const {
|
||||
[[Get an iterator to walk the list of children for the grid.
|
||||
|
||||
Note: Do not remove or delete objects while walking the list.
|
||||
|
||||
@since 1.1]]
|
||||
return: iterator<Efl.Canvas.Object> @owned @warn_unused; [[Iterator]]
|
||||
}
|
||||
add_to {
|
||||
[[Create a grid that is child of a given element parent.
|
||||
|
||||
\@ref evas_object_grid_add()
|
||||
|
||||
@since 1.1]]
|
||||
|
||||
return: Efl.Canvas.Object @warn_unused; [[New child object]]
|
||||
}
|
||||
unpack {
|
||||
[[Remove child from grid.
|
||||
|
||||
Note: removing a child will immediately call a walk over children in order
|
||||
to recalculate numbers of columns and rows. If you plan to remove
|
||||
all children, use evas_object_grid_clear() instead.
|
||||
|
||||
@since 1.1]]
|
||||
|
||||
return: bool; [[1 on success, 0 on failure.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[Child to be removed]]
|
||||
}
|
||||
}
|
||||
pack_get @const {
|
||||
[[Get the pack options for a grid child
|
||||
|
||||
Get the pack x, y, width and height in virtual coordinates set by
|
||||
@.pack.
|
||||
|
||||
@since 1.1]]
|
||||
return: bool; [[1 on success, 0 on failure.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[The grid child to query for coordinates.]]
|
||||
@out x: int; [[The pointer to where the x coordinate will be returned.]]
|
||||
@out y: int; [[The pointer to where the y coordinate will be returned.]]
|
||||
@out w: int; [[The pointer to where the width will be returned.]]
|
||||
@out h: int; [[The pointer to where the height will be returned.]]
|
||||
}
|
||||
}
|
||||
pack {
|
||||
[[Add a new child to a grid object.
|
||||
|
||||
@since 1.1]]
|
||||
|
||||
return: bool; [[1 on success, 0 on failure.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[The child object to add.]]
|
||||
@in x: int; [[The virtual x coordinate of the child.]]
|
||||
@in y: int; [[The virtual y coordinate of the child.]]
|
||||
@in w: int; [[The virtual width of the child.]]
|
||||
@in h: int; [[The virtual height of the child.]]
|
||||
}
|
||||
}
|
||||
}
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
Efl.Ui.I18n.mirrored {get; set;}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,95 @@
|
|||
|
||||
void _evas_grid_grid_size_set(Eo *obj, Evas_Grid_Data *pd, int w, int h);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_grid_size_set, EFL_FUNC_CALL(w, h), int w, int h);
|
||||
|
||||
void _evas_grid_grid_size_get(const Eo *obj, Evas_Grid_Data *pd, int *w, int *h);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_grid_size_get, EFL_FUNC_CALL(w, h), int *w, int *h);
|
||||
|
||||
Eina_List *_evas_grid_children_get(const Eo *obj, Evas_Grid_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_grid_children_get, Eina_List *, NULL);
|
||||
|
||||
Eina_Accessor *_evas_grid_accessor_new(const Eo *obj, Evas_Grid_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_grid_accessor_new, Eina_Accessor *, NULL);
|
||||
|
||||
void _evas_grid_clear(Eo *obj, Evas_Grid_Data *pd, Eina_Bool clear);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_grid_clear, EFL_FUNC_CALL(clear), Eina_Bool clear);
|
||||
|
||||
Eina_Iterator *_evas_grid_iterator_new(const Eo *obj, Evas_Grid_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_grid_iterator_new, Eina_Iterator *, NULL);
|
||||
|
||||
Efl_Canvas_Object *_evas_grid_add_to(Eo *obj, Evas_Grid_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY(evas_obj_grid_add_to, Efl_Canvas_Object *, NULL);
|
||||
|
||||
Eina_Bool _evas_grid_unpack(Eo *obj, Evas_Grid_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_grid_unpack, Eina_Bool, 0, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
Eina_Bool _evas_grid_pack_get(const Eo *obj, Evas_Grid_Data *pd, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_grid_pack_get, Eina_Bool, 0, EFL_FUNC_CALL(child, x, y, w, h), Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
|
||||
|
||||
Eina_Bool _evas_grid_pack(Eo *obj, Evas_Grid_Data *pd, Efl_Canvas_Object *child, int x, int y, int w, int h);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_grid_pack, Eina_Bool, 0, EFL_FUNC_CALL(child, x, y, w, h), Efl_Canvas_Object *child, int x, int y, int w, int h);
|
||||
|
||||
Efl_Object *_evas_grid_efl_object_constructor(Eo *obj, Evas_Grid_Data *pd);
|
||||
|
||||
|
||||
void _evas_grid_efl_ui_i18n_mirrored_set(Eo *obj, Evas_Grid_Data *pd, Eina_Bool rtl);
|
||||
|
||||
|
||||
Eina_Bool _evas_grid_efl_ui_i18n_mirrored_get(const Eo *obj, Evas_Grid_Data *pd);
|
||||
|
||||
|
||||
static Eina_Bool
|
||||
_evas_grid_class_initializer(Efl_Class *klass)
|
||||
{
|
||||
const Efl_Object_Ops *opsp = NULL;
|
||||
|
||||
const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
|
||||
|
||||
#ifndef EVAS_GRID_EXTRA_OPS
|
||||
#define EVAS_GRID_EXTRA_OPS
|
||||
#endif
|
||||
|
||||
EFL_OPS_DEFINE(ops,
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_size_set, _evas_grid_grid_size_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_size_get, _evas_grid_grid_size_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_children_get, _evas_grid_children_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_accessor_new, _evas_grid_accessor_new),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_clear, _evas_grid_clear),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_iterator_new, _evas_grid_iterator_new),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_add_to, _evas_grid_add_to),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_unpack, _evas_grid_unpack),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_pack_get, _evas_grid_pack_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_grid_pack, _evas_grid_pack),
|
||||
EFL_OBJECT_OP_FUNC(efl_constructor, _evas_grid_efl_object_constructor),
|
||||
EFL_OBJECT_OP_FUNC(efl_ui_mirrored_set, _evas_grid_efl_ui_i18n_mirrored_set),
|
||||
EFL_OBJECT_OP_FUNC(efl_ui_mirrored_get, _evas_grid_efl_ui_i18n_mirrored_get),
|
||||
EVAS_GRID_EXTRA_OPS
|
||||
);
|
||||
opsp = &ops;
|
||||
|
||||
return efl_class_functions_set(klass, opsp, ropsp);
|
||||
}
|
||||
|
||||
static const Efl_Class_Description _evas_grid_class_desc = {
|
||||
EO_VERSION,
|
||||
"Evas.Grid",
|
||||
EFL_CLASS_TYPE_REGULAR,
|
||||
sizeof(Evas_Grid_Data),
|
||||
_evas_grid_class_initializer,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
EFL_DEFINE_CLASS(evas_grid_class_get, &_evas_grid_class_desc, EFL_CANVAS_GROUP_CLASS, NULL);
|
||||
|
||||
#include "evas_grid_eo.legacy.c"
|
|
@ -0,0 +1,185 @@
|
|||
#ifndef _EVAS_GRID_EO_H_
|
||||
#define _EVAS_GRID_EO_H_
|
||||
|
||||
#ifndef _EVAS_GRID_EO_CLASS_TYPE
|
||||
#define _EVAS_GRID_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Grid;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_GRID_EO_TYPES
|
||||
#define _EVAS_GRID_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
/** Evas grid class
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
#define EVAS_GRID_CLASS evas_grid_class_get()
|
||||
|
||||
EWAPI const Efl_Class *evas_grid_class_get(void);
|
||||
|
||||
/**
|
||||
* @brief Set the virtual resolution for the grid
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] w The virtual horizontal size (resolution) in integer units.
|
||||
* @param[in] h The virtual vertical size (resolution) in integer units.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI void evas_obj_grid_size_set(Eo *obj, int w, int h);
|
||||
|
||||
/**
|
||||
* @brief Get the current virtual resolution
|
||||
*
|
||||
* See also @ref evas_obj_grid_size_set
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] w The virtual horizontal size (resolution) in integer units.
|
||||
* @param[out] h The virtual vertical size (resolution) in integer units.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI void evas_obj_grid_size_get(const Eo *obj, int *w, int *h);
|
||||
|
||||
/**
|
||||
* @brief Get the list of children for the grid.
|
||||
*
|
||||
* @note This is a duplicate of the list kept by the grid internally. It's up
|
||||
* to the user to destroy it when it no longer needs it. It's possible to
|
||||
* remove objects from the grid when walking this list, but these removals
|
||||
* won't be reflected on it.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Iterator to grid children
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI Eina_List *evas_obj_grid_children_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Get an accessor to get random access to the list of children for the
|
||||
* grid.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Accessor to children list
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI Eina_Accessor *evas_obj_grid_accessor_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Faster way to remove all child objects from a grid object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] clear If @c true, it will delete just removed children.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI void evas_obj_grid_clear(Eo *obj, Eina_Bool clear);
|
||||
|
||||
/**
|
||||
* @brief Get an iterator to walk the list of children for the grid.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Iterator
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI Eina_Iterator *evas_obj_grid_iterator_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Create a grid that is child of a given element parent.
|
||||
*
|
||||
* @ref evas_object_grid_add()
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return New child object
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI Efl_Canvas_Object *evas_obj_grid_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Remove child from grid.
|
||||
*
|
||||
* @note removing a child will immediately call a walk over children in order
|
||||
* to recalculate numbers of columns and rows. If you plan to remove all
|
||||
* children, use evas_object_grid_clear() instead.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Child to be removed
|
||||
*
|
||||
* @return 1 on success, 0 on failure.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_grid_unpack(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Get the pack options for a grid child
|
||||
*
|
||||
* Get the pack x, y, width and height in virtual coordinates set by
|
||||
* @ref evas_obj_grid_pack.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child The grid child to query for coordinates.
|
||||
* @param[out] x The pointer to where the x coordinate will be returned.
|
||||
* @param[out] y The pointer to where the y coordinate will be returned.
|
||||
* @param[out] w The pointer to where the width will be returned.
|
||||
* @param[out] h The pointer to where the height will be returned.
|
||||
*
|
||||
* @return 1 on success, 0 on failure.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_grid_pack_get(const Eo *obj, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
|
||||
|
||||
/**
|
||||
* @brief Add a new child to a grid object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child The child object to add.
|
||||
* @param[in] x The virtual x coordinate of the child.
|
||||
* @param[in] y The virtual y coordinate of the child.
|
||||
* @param[in] w The virtual width of the child.
|
||||
* @param[in] h The virtual height of the child.
|
||||
*
|
||||
* @return 1 on success, 0 on failure.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Grid
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_grid_pack(Eo *obj, Efl_Canvas_Object *child, int x, int y, int w, int h) EINA_ARG_NONNULL(2);
|
||||
|
||||
#endif
|
|
@ -0,0 +1,366 @@
|
|||
#ifndef EVAS_GRID_EO_HH
|
||||
#define EVAS_GRID_EO_HH
|
||||
#include <Eo.h>
|
||||
|
||||
extern "C" {
|
||||
#include "efl_canvas_group.eo.h"
|
||||
#include "efl_canvas_object.eo.h"
|
||||
#include "efl_canvas_pointer.eo.h"
|
||||
#include "efl_class.eo.h"
|
||||
#include "efl_gfx_color.eo.h"
|
||||
#include "efl_gfx_entity.eo.h"
|
||||
#include "efl_gfx_hint.eo.h"
|
||||
#include "efl_gfx_mapping.eo.h"
|
||||
#include "efl_gfx_stack.eo.h"
|
||||
#include "efl_input_device.eo.h"
|
||||
#include "efl_input_focus.eo.h"
|
||||
#include "efl_input_hold.eo.h"
|
||||
#include "efl_input_interface.eo.h"
|
||||
#include "efl_input_key.eo.h"
|
||||
#include "efl_input_pointer.eo.h"
|
||||
#include "efl_loop.eo.h"
|
||||
#include "efl_loop_consumer.eo.h"
|
||||
#include "efl_object.eo.h"
|
||||
#include "efl_ui_i18n.eo.h"
|
||||
#include "evas_grid_eo.h"
|
||||
}
|
||||
#include <Eina.hh>
|
||||
#include <Eo.hh>
|
||||
#include "efl_canvas_group.eo.hh"
|
||||
#include "efl_canvas_object.eo.hh"
|
||||
#include "efl_canvas_pointer.eo.hh"
|
||||
#include "efl_class.eo.hh"
|
||||
#include "efl_gfx_color.eo.hh"
|
||||
#include "efl_gfx_entity.eo.hh"
|
||||
#include "efl_gfx_hint.eo.hh"
|
||||
#include "efl_gfx_mapping.eo.hh"
|
||||
#include "efl_gfx_stack.eo.hh"
|
||||
#include "efl_input_device.eo.hh"
|
||||
#include "efl_input_focus.eo.hh"
|
||||
#include "efl_input_hold.eo.hh"
|
||||
#include "efl_input_interface.eo.hh"
|
||||
#include "efl_input_key.eo.hh"
|
||||
#include "efl_input_pointer.eo.hh"
|
||||
#include "efl_loop.eo.hh"
|
||||
#include "efl_loop_consumer.eo.hh"
|
||||
#include "efl_object.eo.hh"
|
||||
#include "efl_ui_i18n.eo.hh"
|
||||
#ifndef EVAS_GRID_FWD_GUARD
|
||||
#define EVAS_GRID_FWD_GUARD
|
||||
namespace evas {
|
||||
struct Grid;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Grid> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Grid&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Grid const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Grid const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CLASS_FWD_GUARD
|
||||
#define EFL_CLASS_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Class;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_COLOR_FWD_GUARD
|
||||
#define EFL_GFX_COLOR_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Color;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_DEVICE_FWD_GUARD
|
||||
#define EFL_INPUT_DEVICE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Device;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_ENTITY_FWD_GUARD
|
||||
#define EFL_GFX_ENTITY_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Entity;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_HINT_FWD_GUARD
|
||||
#define EFL_GFX_HINT_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Hint;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_FOCUS_FWD_GUARD
|
||||
#define EFL_INPUT_FOCUS_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Focus;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_HOLD_FWD_GUARD
|
||||
#define EFL_INPUT_HOLD_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Hold;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_UI_I18N_FWD_GUARD
|
||||
#define EFL_UI_I18N_FWD_GUARD
|
||||
namespace efl { namespace ui {
|
||||
struct I18n;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
#define EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Interface;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_KEY_FWD_GUARD
|
||||
#define EFL_INPUT_KEY_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Key;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_FWD_GUARD
|
||||
#define EFL_LOOP_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
#define EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop_Consumer;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_OBJECT_FWD_GUARD
|
||||
#define EFL_OBJECT_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Object;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_GROUP_FWD_GUARD
|
||||
#define EFL_CANVAS_GROUP_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Group;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_MAPPING_FWD_GUARD
|
||||
#define EFL_GFX_MAPPING_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Mapping;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
#define EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Object;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_POINTER_FWD_GUARD
|
||||
#define EFL_CANVAS_POINTER_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_POINTER_FWD_GUARD
|
||||
#define EFL_INPUT_POINTER_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_STACK_FWD_GUARD
|
||||
#define EFL_GFX_STACK_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Stack;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
struct Grid {
|
||||
::efl::eolian::return_traits<void>::type grid_size_get( ::efl::eolian::out_traits<int>::type w, ::efl::eolian::out_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits<void>::type grid_size_set( ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type children_get() const;
|
||||
::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type accessor_new() const;
|
||||
::efl::eolian::return_traits<void>::type clear( ::efl::eolian::in_traits<bool>::type clear) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type iterator_new() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type add_to() const;
|
||||
::efl::eolian::return_traits<bool>::type unpack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<bool>::type pack_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y, ::efl::eolian::out_traits<int>::type w, ::efl::eolian::out_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits<bool>::type pack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_GRID_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Grid *>(this))); }
|
||||
operator ::evas::Grid() const;
|
||||
operator ::evas::Grid&();
|
||||
operator ::evas::Grid const&() const;
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Grid, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Group, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Grid const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Group const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
};
|
||||
}
|
||||
}
|
||||
namespace evas {
|
||||
struct Grid : private ::efl::eo::concrete
|
||||
, EO_CXX_INHERIT(::efl::Loop_Consumer)
|
||||
, EO_CXX_INHERIT(::efl::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Group)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Pointer)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Color)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Entity)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Hint)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Mapping)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Stack)
|
||||
, EO_CXX_INHERIT(::efl::input::Interface)
|
||||
, EO_CXX_INHERIT(::efl::ui::I18n)
|
||||
{
|
||||
explicit Grid( ::Eo* eo)
|
||||
: ::efl::eo::concrete(eo) {}
|
||||
Grid(std::nullptr_t)
|
||||
: ::efl::eo::concrete(nullptr) {}
|
||||
explicit Grid() = default;
|
||||
Grid(Grid const&) = default;
|
||||
Grid(Grid&&) = default;
|
||||
Grid& operator=(Grid const&) = default;
|
||||
Grid& operator=(Grid&&) = default;
|
||||
template <typename Derived>
|
||||
Grid(Derived&& derived
|
||||
, typename std::enable_if<
|
||||
::efl::eo::is_eolian_object<Derived>::value
|
||||
&& std::is_base_of< Grid, Derived>::value>::type* = 0)
|
||||
: ::efl::eo::concrete(derived._eo_ptr()) {}
|
||||
|
||||
Grid( ::efl::eo::instantiate_t)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
|
||||
}
|
||||
template <typename T>
|
||||
explicit Grid( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
|
||||
}
|
||||
template <typename F> Grid( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Grid >::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
template <typename T, typename F> Grid( ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Grid >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
|
||||
::efl::eolian::return_traits<void>::type grid_size_get( ::efl::eolian::out_traits<int>::type w, ::efl::eolian::out_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits<void>::type grid_size_set( ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type children_get() const;
|
||||
::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type accessor_new() const;
|
||||
::efl::eolian::return_traits<void>::type clear( ::efl::eolian::in_traits<bool>::type clear) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type iterator_new() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type add_to() const;
|
||||
::efl::eolian::return_traits<bool>::type unpack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<bool>::type pack_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y, ::efl::eolian::out_traits<int>::type w, ::efl::eolian::out_traits<int>::type h) const;
|
||||
::efl::eolian::return_traits<bool>::type pack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_GRID_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Grid *>(this))); }
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Grid, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Group, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Grid const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Group const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
::efl::eo::wref<Grid> _get_wref() const { return ::efl::eo::wref<Grid>(*this); }
|
||||
::efl::eo::concrete const& _get_concrete() const { return *this; }
|
||||
::efl::eo::concrete& _get_concrete() { return *this; }
|
||||
using ::efl::eo::concrete::_eo_ptr;
|
||||
using ::efl::eo::concrete::_release;
|
||||
using ::efl::eo::concrete::_reset;
|
||||
using ::efl::eo::concrete::_delete;
|
||||
using ::efl::eo::concrete::operator bool;
|
||||
#ifdef EFL_CXXPERIMENTAL
|
||||
const Grid* operator->() const { return this; }
|
||||
Grid* operator->() { return this; }
|
||||
operator Eo*() const { return _eo_ptr(); }
|
||||
#endif
|
||||
friend bool operator==(Grid const& lhs, Grid const& rhs)
|
||||
{ return lhs._get_concrete() == rhs._get_concrete(); }
|
||||
friend bool operator!=(Grid const& lhs, Grid const& rhs)
|
||||
{ return !(lhs == rhs); }
|
||||
};
|
||||
static_assert(sizeof(Grid) == sizeof(Eo*), "");
|
||||
static_assert(std::is_standard_layout<Grid>::value, "");
|
||||
}
|
||||
#endif
|
|
@ -0,0 +1,164 @@
|
|||
#ifndef EVAS_GRID_IMPL_HH
|
||||
#define EVAS_GRID_IMPL_HH
|
||||
|
||||
#include "evas_grid_eo.hh"
|
||||
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<void>::type Grid::grid_size_get( ::efl::eolian::out_traits<int>::type w, ::efl::eolian::out_traits<int>::type h) const
|
||||
{
|
||||
int __out_param_w = {};
|
||||
int __out_param_h = {};
|
||||
::evas_obj_grid_size_get(_eo_ptr(),
|
||||
& __out_param_w,
|
||||
& __out_param_h);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(w, __out_param_w);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(h, __out_param_h);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Grid::grid_size_set( ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const
|
||||
{
|
||||
::evas_obj_grid_size_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(w),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(h));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type Grid::children_get() const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_obj_grid_children_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type Grid::accessor_new() const
|
||||
{
|
||||
Eina_Accessor * __return_value = ::evas_obj_grid_accessor_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Grid::clear( ::efl::eolian::in_traits<bool>::type clear) const
|
||||
{
|
||||
::evas_obj_grid_clear(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Eina_Bool, ::efl::eolian::in_traits<bool>::type>(clear));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type Grid::iterator_new() const
|
||||
{
|
||||
Eina_Iterator * __return_value = ::evas_obj_grid_iterator_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Grid::add_to() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_grid_add_to(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Grid::unpack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_grid_unpack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Grid::pack_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y, ::efl::eolian::out_traits<int>::type w, ::efl::eolian::out_traits<int>::type h) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
int __out_param_w = {};
|
||||
int __out_param_h = {};
|
||||
Eina_Bool __return_value = ::evas_obj_grid_pack_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
& __out_param_x,
|
||||
& __out_param_y,
|
||||
& __out_param_w,
|
||||
& __out_param_h);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(w, __out_param_w);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(h, __out_param_h);
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Grid::pack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_grid_pack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(w),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(h));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
}
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<void>::type Grid::grid_size_get( ::efl::eolian::out_traits<int>::type w, ::efl::eolian::out_traits<int>::type h) const
|
||||
{
|
||||
int __out_param_w = {};
|
||||
int __out_param_h = {};
|
||||
::evas_obj_grid_size_get(_eo_ptr(),
|
||||
& __out_param_w,
|
||||
& __out_param_h);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(w, __out_param_w);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(h, __out_param_h);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Grid::grid_size_set( ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const
|
||||
{
|
||||
::evas_obj_grid_size_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(w),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(h));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type Grid::children_get() const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_obj_grid_children_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type Grid::accessor_new() const
|
||||
{
|
||||
Eina_Accessor * __return_value = ::evas_obj_grid_accessor_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Grid::clear( ::efl::eolian::in_traits<bool>::type clear) const
|
||||
{
|
||||
::evas_obj_grid_clear(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Eina_Bool, ::efl::eolian::in_traits<bool>::type>(clear));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type Grid::iterator_new() const
|
||||
{
|
||||
Eina_Iterator * __return_value = ::evas_obj_grid_iterator_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Grid::add_to() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_grid_add_to(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Grid::unpack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_grid_unpack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Grid::pack_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y, ::efl::eolian::out_traits<int>::type w, ::efl::eolian::out_traits<int>::type h) const
|
||||
{
|
||||
int __out_param_x = {};
|
||||
int __out_param_y = {};
|
||||
int __out_param_w = {};
|
||||
int __out_param_h = {};
|
||||
Eina_Bool __return_value = ::evas_obj_grid_pack_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
& __out_param_x,
|
||||
& __out_param_y,
|
||||
& __out_param_w,
|
||||
& __out_param_h);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x, __out_param_x);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y, __out_param_y);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(w, __out_param_w);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(h, __out_param_h);
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Grid::pack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_grid_pack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(w),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(h));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline evas::Grid::operator ::evas::Grid() const { return *static_cast< ::evas::Grid const*>(static_cast<void const*>(this)); }
|
||||
inline evas::Grid::operator ::evas::Grid&() { return *static_cast< ::evas::Grid*>(static_cast<void*>(this)); }
|
||||
inline evas::Grid::operator ::evas::Grid const&() const { return *static_cast< ::evas::Grid const*>(static_cast<void const*>(this)); }
|
||||
} }
|
||||
#endif
|
|
@ -0,0 +1,60 @@
|
|||
|
||||
EAPI void
|
||||
evas_object_grid_size_set(Evas_Grid *obj, int w, int h)
|
||||
{
|
||||
evas_obj_grid_size_set(obj, w, h);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_grid_size_get(const Evas_Grid *obj, int *w, int *h)
|
||||
{
|
||||
evas_obj_grid_size_get(obj, w, h);
|
||||
}
|
||||
|
||||
EAPI Eina_List *
|
||||
evas_object_grid_children_get(const Evas_Grid *obj)
|
||||
{
|
||||
return evas_obj_grid_children_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Accessor *
|
||||
evas_object_grid_accessor_new(const Evas_Grid *obj)
|
||||
{
|
||||
return evas_obj_grid_accessor_new(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_grid_clear(Evas_Grid *obj, Eina_Bool clear)
|
||||
{
|
||||
evas_obj_grid_clear(obj, clear);
|
||||
}
|
||||
|
||||
EAPI Eina_Iterator *
|
||||
evas_object_grid_iterator_new(const Evas_Grid *obj)
|
||||
{
|
||||
return evas_obj_grid_iterator_new(obj);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
evas_object_grid_add_to(Evas_Grid *obj)
|
||||
{
|
||||
return evas_obj_grid_add_to(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_grid_unpack(Evas_Grid *obj, Efl_Canvas_Object *child)
|
||||
{
|
||||
return evas_obj_grid_unpack(obj, child);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_grid_pack_get(const Evas_Grid *obj, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h)
|
||||
{
|
||||
return evas_obj_grid_pack_get(obj, child, x, y, w, h);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_grid_pack(Evas_Grid *obj, Efl_Canvas_Object *child, int x, int y, int w, int h)
|
||||
{
|
||||
return evas_obj_grid_pack(obj, child, x, y, w, h);
|
||||
}
|
|
@ -0,0 +1,178 @@
|
|||
#ifndef _EVAS_GRID_EO_LEGACY_H_
|
||||
#define _EVAS_GRID_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EVAS_GRID_EO_CLASS_TYPE
|
||||
#define _EVAS_GRID_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Grid;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_GRID_EO_TYPES
|
||||
#define _EVAS_GRID_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Set the virtual resolution for the grid
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] w The virtual horizontal size (resolution) in integer units.
|
||||
* @param[in] h The virtual vertical size (resolution) in integer units.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI void evas_object_grid_size_set(Evas_Grid *obj, int w, int h);
|
||||
|
||||
/**
|
||||
* @brief Get the current virtual resolution
|
||||
*
|
||||
* See also @ref evas_object_grid_size_set
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] w The virtual horizontal size (resolution) in integer units.
|
||||
* @param[out] h The virtual vertical size (resolution) in integer units.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI void evas_object_grid_size_get(const Evas_Grid *obj, int *w, int *h);
|
||||
|
||||
/**
|
||||
* @brief Get the list of children for the grid.
|
||||
*
|
||||
* @note This is a duplicate of the list kept by the grid internally. It's up
|
||||
* to the user to destroy it when it no longer needs it. It's possible to
|
||||
* remove objects from the grid when walking this list, but these removals
|
||||
* won't be reflected on it.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Iterator to grid children
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI Eina_List *evas_object_grid_children_get(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Get an accessor to get random access to the list of children for the
|
||||
* grid.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Accessor to children list
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI Eina_Accessor *evas_object_grid_accessor_new(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Faster way to remove all child objects from a grid object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] clear If @c true, it will delete just removed children.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI void evas_object_grid_clear(Evas_Grid *obj, Eina_Bool clear);
|
||||
|
||||
/**
|
||||
* @brief Get an iterator to walk the list of children for the grid.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Iterator
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI Eina_Iterator *evas_object_grid_iterator_new(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Create a grid that is child of a given element parent.
|
||||
*
|
||||
* @ref evas_object_grid_add()
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return New child object
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Object *evas_object_grid_add_to(Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Remove child from grid.
|
||||
*
|
||||
* @note removing a child will immediately call a walk over children in order
|
||||
* to recalculate numbers of columns and rows. If you plan to remove all
|
||||
* children, use evas_object_grid_clear() instead.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Child to be removed
|
||||
*
|
||||
* @return 1 on success, 0 on failure.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_grid_unpack(Evas_Grid *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Get the pack options for a grid child
|
||||
*
|
||||
* Get the pack x, y, width and height in virtual coordinates set by
|
||||
* @ref evas_object_grid_pack.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child The grid child to query for coordinates.
|
||||
* @param[out] x The pointer to where the x coordinate will be returned.
|
||||
* @param[out] y The pointer to where the y coordinate will be returned.
|
||||
* @param[out] w The pointer to where the width will be returned.
|
||||
* @param[out] h The pointer to where the height will be returned.
|
||||
*
|
||||
* @return 1 on success, 0 on failure.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_grid_pack_get(const Evas_Grid *obj, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
|
||||
|
||||
/**
|
||||
* @brief Add a new child to a grid object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child The child object to add.
|
||||
* @param[in] x The virtual x coordinate of the child.
|
||||
* @param[in] y The virtual y coordinate of the child.
|
||||
* @param[in] w The virtual width of the child.
|
||||
* @param[in] h The virtual height of the child.
|
||||
*
|
||||
* @return 1 on success, 0 on failure.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Object_Grid_Group
|
||||
*/
|
||||
EAPI Eina_Bool evas_object_grid_pack(Evas_Grid *obj, Efl_Canvas_Object *child, int x, int y, int w, int h) EINA_ARG_NONNULL(2);
|
||||
|
||||
#endif
|
|
@ -1,8 +0,0 @@
|
|||
class Evas.Image extends Efl.Canvas.Image_Internal implements Efl.File
|
||||
{
|
||||
[[Internal class for legacy support of Evas Image.]]
|
||||
data: null;
|
||||
implements {
|
||||
Efl.File.load;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
|
||||
Eina_Error _evas_image_efl_file_load(Eo *obj, void *pd);
|
||||
|
||||
|
||||
static Eina_Bool
|
||||
_evas_image_class_initializer(Efl_Class *klass)
|
||||
{
|
||||
const Efl_Object_Ops *opsp = NULL;
|
||||
|
||||
const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
|
||||
|
||||
#ifndef EVAS_IMAGE_EXTRA_OPS
|
||||
#define EVAS_IMAGE_EXTRA_OPS
|
||||
#endif
|
||||
|
||||
EFL_OPS_DEFINE(ops,
|
||||
EFL_OBJECT_OP_FUNC(efl_file_load, _evas_image_efl_file_load),
|
||||
EVAS_IMAGE_EXTRA_OPS
|
||||
);
|
||||
opsp = &ops;
|
||||
|
||||
return efl_class_functions_set(klass, opsp, ropsp);
|
||||
}
|
||||
|
||||
static const Efl_Class_Description _evas_image_class_desc = {
|
||||
EO_VERSION,
|
||||
"Evas.Image",
|
||||
EFL_CLASS_TYPE_REGULAR,
|
||||
0,
|
||||
_evas_image_class_initializer,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
EFL_DEFINE_CLASS(evas_image_class_get, &_evas_image_class_desc, EFL_CANVAS_IMAGE_INTERNAL_CLASS, EFL_FILE_MIXIN, NULL);
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef _EVAS_IMAGE_EO_H_
|
||||
#define _EVAS_IMAGE_EO_H_
|
||||
|
||||
#ifndef _EVAS_IMAGE_EO_CLASS_TYPE
|
||||
#define _EVAS_IMAGE_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Image;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_IMAGE_EO_TYPES
|
||||
#define _EVAS_IMAGE_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
/** Internal class for legacy support of Evas Image.
|
||||
*
|
||||
* @ingroup Evas_Image
|
||||
*/
|
||||
#define EVAS_IMAGE_CLASS evas_image_class_get()
|
||||
|
||||
EWAPI const Efl_Class *evas_image_class_get(void);
|
||||
|
||||
#endif
|
|
@ -0,0 +1,463 @@
|
|||
#ifndef EVAS_IMAGE_EO_HH
|
||||
#define EVAS_IMAGE_EO_HH
|
||||
#include <Eo.h>
|
||||
|
||||
extern "C" {
|
||||
#include "efl_canvas_filter_internal.eo.h"
|
||||
#include "efl_canvas_image_internal.eo.h"
|
||||
#include "efl_canvas_object.eo.h"
|
||||
#include "efl_canvas_pointer.eo.h"
|
||||
#include "efl_class.eo.h"
|
||||
#include "efl_file.eo.h"
|
||||
#include "efl_file_save.eo.h"
|
||||
#include "efl_gfx_buffer.eo.h"
|
||||
#include "efl_gfx_color.eo.h"
|
||||
#include "efl_gfx_entity.eo.h"
|
||||
#include "efl_gfx_fill.eo.h"
|
||||
#include "efl_gfx_filter.eo.h"
|
||||
#include "efl_gfx_hint.eo.h"
|
||||
#include "efl_gfx_image.eo.h"
|
||||
#include "efl_gfx_mapping.eo.h"
|
||||
#include "efl_gfx_stack.eo.h"
|
||||
#include "efl_gfx_view.eo.h"
|
||||
#include "efl_input_device.eo.h"
|
||||
#include "efl_input_focus.eo.h"
|
||||
#include "efl_input_hold.eo.h"
|
||||
#include "efl_input_interface.eo.h"
|
||||
#include "efl_input_key.eo.h"
|
||||
#include "efl_input_pointer.eo.h"
|
||||
#include "efl_loop.eo.h"
|
||||
#include "efl_loop_consumer.eo.h"
|
||||
#include "efl_object.eo.h"
|
||||
#include "efl_orientation.eo.h"
|
||||
#include "efl_ui_i18n.eo.h"
|
||||
#include "evas_image_eo.h"
|
||||
}
|
||||
#include <Eina.hh>
|
||||
#include <Eo.hh>
|
||||
#include "efl_canvas_filter_internal.eo.hh"
|
||||
#include "efl_canvas_image_internal.eo.hh"
|
||||
#include "efl_canvas_object.eo.hh"
|
||||
#include "efl_canvas_pointer.eo.hh"
|
||||
#include "efl_class.eo.hh"
|
||||
#include "efl_file.eo.hh"
|
||||
#include "efl_file_save.eo.hh"
|
||||
#include "efl_gfx_buffer.eo.hh"
|
||||
#include "efl_gfx_color.eo.hh"
|
||||
#include "efl_gfx_entity.eo.hh"
|
||||
#include "efl_gfx_fill.eo.hh"
|
||||
#include "efl_gfx_filter.eo.hh"
|
||||
#include "efl_gfx_hint.eo.hh"
|
||||
#include "efl_gfx_image.eo.hh"
|
||||
#include "efl_gfx_mapping.eo.hh"
|
||||
#include "efl_gfx_stack.eo.hh"
|
||||
#include "efl_gfx_view.eo.hh"
|
||||
#include "efl_input_device.eo.hh"
|
||||
#include "efl_input_focus.eo.hh"
|
||||
#include "efl_input_hold.eo.hh"
|
||||
#include "efl_input_interface.eo.hh"
|
||||
#include "efl_input_key.eo.hh"
|
||||
#include "efl_input_pointer.eo.hh"
|
||||
#include "efl_loop.eo.hh"
|
||||
#include "efl_loop_consumer.eo.hh"
|
||||
#include "efl_object.eo.hh"
|
||||
#include "efl_orientation.eo.hh"
|
||||
#include "efl_ui_i18n.eo.hh"
|
||||
#ifndef EVAS_IMAGE_FWD_GUARD
|
||||
#define EVAS_IMAGE_FWD_GUARD
|
||||
namespace evas {
|
||||
struct Image;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Image> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Image&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Image const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Image const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_BUFFER_FWD_GUARD
|
||||
#define EFL_GFX_BUFFER_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Buffer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Buffer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Buffer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Buffer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Buffer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CLASS_FWD_GUARD
|
||||
#define EFL_CLASS_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Class;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_FILE_FWD_GUARD
|
||||
#define EFL_FILE_FWD_GUARD
|
||||
namespace efl {
|
||||
struct File;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::File> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::File&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::File const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::File const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_FILE_SAVE_FWD_GUARD
|
||||
#define EFL_FILE_SAVE_FWD_GUARD
|
||||
namespace efl {
|
||||
struct File_Save;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::File_Save> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::File_Save&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::File_Save const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::File_Save const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_FILTER_INTERNAL_FWD_GUARD
|
||||
#define EFL_CANVAS_FILTER_INTERNAL_FWD_GUARD
|
||||
namespace efl { namespace canvas { namespace filter {
|
||||
struct Internal;
|
||||
} } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::filter::Internal> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::filter::Internal&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::filter::Internal const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::filter::Internal const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_COLOR_FWD_GUARD
|
||||
#define EFL_GFX_COLOR_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Color;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_DEVICE_FWD_GUARD
|
||||
#define EFL_INPUT_DEVICE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Device;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_ENTITY_FWD_GUARD
|
||||
#define EFL_GFX_ENTITY_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Entity;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_FILL_FWD_GUARD
|
||||
#define EFL_GFX_FILL_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Fill;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Fill> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Fill&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Fill const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Fill const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_FILTER_FWD_GUARD
|
||||
#define EFL_GFX_FILTER_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Filter;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Filter> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Filter&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Filter const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Filter const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_HINT_FWD_GUARD
|
||||
#define EFL_GFX_HINT_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Hint;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_IMAGE_FWD_GUARD
|
||||
#define EFL_GFX_IMAGE_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Image;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Image> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Image&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Image const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Image const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_FOCUS_FWD_GUARD
|
||||
#define EFL_INPUT_FOCUS_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Focus;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_HOLD_FWD_GUARD
|
||||
#define EFL_INPUT_HOLD_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Hold;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_UI_I18N_FWD_GUARD
|
||||
#define EFL_UI_I18N_FWD_GUARD
|
||||
namespace efl { namespace ui {
|
||||
struct I18n;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
#define EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Interface;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_KEY_FWD_GUARD
|
||||
#define EFL_INPUT_KEY_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Key;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_FWD_GUARD
|
||||
#define EFL_LOOP_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
#define EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop_Consumer;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_OBJECT_FWD_GUARD
|
||||
#define EFL_OBJECT_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Object;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_ORIENTATION_FWD_GUARD
|
||||
#define EFL_ORIENTATION_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Orientation;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Orientation> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Orientation&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Orientation const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Orientation const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_IMAGE_INTERNAL_FWD_GUARD
|
||||
#define EFL_CANVAS_IMAGE_INTERNAL_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Image_Internal;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Image_Internal> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Image_Internal&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Image_Internal const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Image_Internal const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_MAPPING_FWD_GUARD
|
||||
#define EFL_GFX_MAPPING_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Mapping;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
#define EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Object;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_POINTER_FWD_GUARD
|
||||
#define EFL_CANVAS_POINTER_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_VIEW_FWD_GUARD
|
||||
#define EFL_GFX_VIEW_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct View;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::View> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::View&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::View const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::View const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_POINTER_FWD_GUARD
|
||||
#define EFL_INPUT_POINTER_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_STACK_FWD_GUARD
|
||||
#define EFL_GFX_STACK_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Stack;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
struct Image {
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_IMAGE_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Image *>(this))); }
|
||||
operator ::evas::Image() const;
|
||||
operator ::evas::Image&();
|
||||
operator ::evas::Image const&() const;
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Image, ::efl::File, ::efl::File_Save, ::efl::Loop_Consumer, ::efl::Object, ::efl::Orientation, ::efl::canvas::Image_Internal, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::canvas::filter::Internal, ::efl::gfx::Buffer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Fill, ::efl::gfx::Filter, ::efl::gfx::Hint, ::efl::gfx::Image, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::gfx::View, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Image const , ::efl::File const , ::efl::File_Save const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::Orientation const , ::efl::canvas::Image_Internal const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::canvas::filter::Internal const , ::efl::gfx::Buffer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Fill const , ::efl::gfx::Filter const , ::efl::gfx::Hint const , ::efl::gfx::Image const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::gfx::View const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
};
|
||||
}
|
||||
}
|
||||
namespace evas {
|
||||
struct Image : private ::efl::eo::concrete
|
||||
, EO_CXX_INHERIT(::efl::File)
|
||||
, EO_CXX_INHERIT(::efl::File_Save)
|
||||
, EO_CXX_INHERIT(::efl::Loop_Consumer)
|
||||
, EO_CXX_INHERIT(::efl::Object)
|
||||
, EO_CXX_INHERIT(::efl::Orientation)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Image_Internal)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Pointer)
|
||||
, EO_CXX_INHERIT(::efl::canvas::filter::Internal)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Buffer)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Color)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Entity)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Fill)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Filter)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Hint)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Image)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Mapping)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Stack)
|
||||
, EO_CXX_INHERIT(::efl::gfx::View)
|
||||
, EO_CXX_INHERIT(::efl::input::Interface)
|
||||
, EO_CXX_INHERIT(::efl::ui::I18n)
|
||||
{
|
||||
explicit Image( ::Eo* eo)
|
||||
: ::efl::eo::concrete(eo) {}
|
||||
Image(std::nullptr_t)
|
||||
: ::efl::eo::concrete(nullptr) {}
|
||||
explicit Image() = default;
|
||||
Image(Image const&) = default;
|
||||
Image(Image&&) = default;
|
||||
Image& operator=(Image const&) = default;
|
||||
Image& operator=(Image&&) = default;
|
||||
template <typename Derived>
|
||||
Image(Derived&& derived
|
||||
, typename std::enable_if<
|
||||
::efl::eo::is_eolian_object<Derived>::value
|
||||
&& std::is_base_of< Image, Derived>::value>::type* = 0)
|
||||
: ::efl::eo::concrete(derived._eo_ptr()) {}
|
||||
|
||||
Image( ::efl::eo::instantiate_t)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
|
||||
}
|
||||
template <typename T>
|
||||
explicit Image( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
|
||||
}
|
||||
template <typename F> Image( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Image >::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
template <typename T, typename F> Image( ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Image >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_IMAGE_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Image *>(this))); }
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Image, ::efl::File, ::efl::File_Save, ::efl::Loop_Consumer, ::efl::Object, ::efl::Orientation, ::efl::canvas::Image_Internal, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::canvas::filter::Internal, ::efl::gfx::Buffer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Fill, ::efl::gfx::Filter, ::efl::gfx::Hint, ::efl::gfx::Image, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::gfx::View, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Image const , ::efl::File const , ::efl::File_Save const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::Orientation const , ::efl::canvas::Image_Internal const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::canvas::filter::Internal const , ::efl::gfx::Buffer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Fill const , ::efl::gfx::Filter const , ::efl::gfx::Hint const , ::efl::gfx::Image const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::gfx::View const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
::efl::eo::wref<Image> _get_wref() const { return ::efl::eo::wref<Image>(*this); }
|
||||
::efl::eo::concrete const& _get_concrete() const { return *this; }
|
||||
::efl::eo::concrete& _get_concrete() { return *this; }
|
||||
using ::efl::eo::concrete::_eo_ptr;
|
||||
using ::efl::eo::concrete::_release;
|
||||
using ::efl::eo::concrete::_reset;
|
||||
using ::efl::eo::concrete::_delete;
|
||||
using ::efl::eo::concrete::operator bool;
|
||||
#ifdef EFL_CXXPERIMENTAL
|
||||
const Image* operator->() const { return this; }
|
||||
Image* operator->() { return this; }
|
||||
operator Eo*() const { return _eo_ptr(); }
|
||||
#endif
|
||||
friend bool operator==(Image const& lhs, Image const& rhs)
|
||||
{ return lhs._get_concrete() == rhs._get_concrete(); }
|
||||
friend bool operator!=(Image const& lhs, Image const& rhs)
|
||||
{ return !(lhs == rhs); }
|
||||
};
|
||||
static_assert(sizeof(Image) == sizeof(Eo*), "");
|
||||
static_assert(std::is_standard_layout<Image>::value, "");
|
||||
}
|
||||
#endif
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef EVAS_IMAGE_IMPL_HH
|
||||
#define EVAS_IMAGE_IMPL_HH
|
||||
|
||||
#include "evas_image_eo.hh"
|
||||
|
||||
namespace evas {
|
||||
}
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
inline evas::Image::operator ::evas::Image() const { return *static_cast< ::evas::Image const*>(static_cast<void const*>(this)); }
|
||||
inline evas::Image::operator ::evas::Image&() { return *static_cast< ::evas::Image*>(static_cast<void*>(this)); }
|
||||
inline evas::Image::operator ::evas::Image const&() const { return *static_cast< ::evas::Image const*>(static_cast<void const*>(this)); }
|
||||
} }
|
||||
#endif
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef _EVAS_IMAGE_EO_LEGACY_H_
|
||||
#define _EVAS_IMAGE_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EVAS_IMAGE_EO_CLASS_TYPE
|
||||
#define _EVAS_IMAGE_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Image;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_IMAGE_EO_TYPES
|
||||
#define _EVAS_IMAGE_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
#include "evas_image_private.h"
|
||||
#include "evas_image.eo.h"
|
||||
#include "evas_image_eo.h"
|
||||
|
||||
#define EVAS_IMAGE_API(_o, ...) do { \
|
||||
if (EINA_UNLIKELY(!efl_isa(_o, EFL_CANVAS_IMAGE_INTERNAL_CLASS))) { \
|
||||
|
@ -1304,4 +1304,4 @@ _evas_image_efl_file_load(Eo *obj, void *pd EINA_UNUSED)
|
|||
return EFL_GFX_IMAGE_LOAD_ERROR_DOES_NOT_EXIST;
|
||||
}
|
||||
|
||||
#include "canvas/evas_image.eo.c"
|
||||
#include "canvas/evas_image_eo.c"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "../common/evas_convert_colorspace.h"
|
||||
#include "../common/evas_convert_yuv.h"
|
||||
|
||||
#include "canvas/evas_image.eo.h"
|
||||
#include "canvas/evas_image_eo.h"
|
||||
#include "canvas/efl_canvas_filter_internal.eo.h"
|
||||
#include "evas_filter.h"
|
||||
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
class Evas.Line extends Efl.Canvas.Object
|
||||
{
|
||||
[[Evas line class]]
|
||||
legacy_prefix: evas_object_line;
|
||||
eo_prefix: evas_obj_line;
|
||||
methods {
|
||||
@property xy {
|
||||
set {
|
||||
[[Sets the coordinates of the end points of the given evas line
|
||||
object.
|
||||
|
||||
@since 1.8
|
||||
]]
|
||||
}
|
||||
get {
|
||||
[[Retrieves the coordinates of the end points of the given evas
|
||||
line object.
|
||||
]]
|
||||
}
|
||||
values {
|
||||
x1: int; [[The X coordinate of the first point.]]
|
||||
y1: int; [[The Y coordinate of the first point.]]
|
||||
x2: int; [[The X coordinate of the second point.]]
|
||||
y2: int; [[The Y coordinate of the second point.]]
|
||||
}
|
||||
}
|
||||
}
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
|
||||
void _evas_line_xy_set(Eo *obj, Evas_Line_Data *pd, int x1, int y1, int x2, int y2);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_line_xy_set, EFL_FUNC_CALL(x1, y1, x2, y2), int x1, int y1, int x2, int y2);
|
||||
|
||||
void _evas_line_xy_get(const Eo *obj, Evas_Line_Data *pd, int *x1, int *y1, int *x2, int *y2);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_line_xy_get, EFL_FUNC_CALL(x1, y1, x2, y2), int *x1, int *y1, int *x2, int *y2);
|
||||
|
||||
Efl_Object *_evas_line_efl_object_constructor(Eo *obj, Evas_Line_Data *pd);
|
||||
|
||||
|
||||
static Eina_Bool
|
||||
_evas_line_class_initializer(Efl_Class *klass)
|
||||
{
|
||||
const Efl_Object_Ops *opsp = NULL;
|
||||
|
||||
const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
|
||||
|
||||
#ifndef EVAS_LINE_EXTRA_OPS
|
||||
#define EVAS_LINE_EXTRA_OPS
|
||||
#endif
|
||||
|
||||
EFL_OPS_DEFINE(ops,
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_line_xy_set, _evas_line_xy_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_line_xy_get, _evas_line_xy_get),
|
||||
EFL_OBJECT_OP_FUNC(efl_constructor, _evas_line_efl_object_constructor),
|
||||
EVAS_LINE_EXTRA_OPS
|
||||
);
|
||||
opsp = &ops;
|
||||
|
||||
return efl_class_functions_set(klass, opsp, ropsp);
|
||||
}
|
||||
|
||||
static const Efl_Class_Description _evas_line_class_desc = {
|
||||
EO_VERSION,
|
||||
"Evas.Line",
|
||||
EFL_CLASS_TYPE_REGULAR,
|
||||
sizeof(Evas_Line_Data),
|
||||
_evas_line_class_initializer,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
EFL_DEFINE_CLASS(evas_line_class_get, &_evas_line_class_desc, EFL_CANVAS_OBJECT_CLASS, NULL);
|
||||
|
||||
#include "evas_line_eo.legacy.c"
|
|
@ -0,0 +1,53 @@
|
|||
#ifndef _EVAS_LINE_EO_H_
|
||||
#define _EVAS_LINE_EO_H_
|
||||
|
||||
#ifndef _EVAS_LINE_EO_CLASS_TYPE
|
||||
#define _EVAS_LINE_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Line;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_LINE_EO_TYPES
|
||||
#define _EVAS_LINE_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
/** Evas line class
|
||||
*
|
||||
* @ingroup Evas_Line
|
||||
*/
|
||||
#define EVAS_LINE_CLASS evas_line_class_get()
|
||||
|
||||
EWAPI const Efl_Class *evas_line_class_get(void);
|
||||
|
||||
/**
|
||||
* @brief Sets the coordinates of the end points of the given evas line object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] x1 The X coordinate of the first point.
|
||||
* @param[in] y1 The Y coordinate of the first point.
|
||||
* @param[in] x2 The X coordinate of the second point.
|
||||
* @param[in] y2 The Y coordinate of the second point.
|
||||
*
|
||||
* @since 1.8
|
||||
*
|
||||
* @ingroup Evas_Line
|
||||
*/
|
||||
EOAPI void evas_obj_line_xy_set(Eo *obj, int x1, int y1, int x2, int y2);
|
||||
|
||||
/**
|
||||
* @brief Retrieves the coordinates of the end points of the given evas line
|
||||
* object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] x1 The X coordinate of the first point.
|
||||
* @param[out] y1 The Y coordinate of the first point.
|
||||
* @param[out] x2 The X coordinate of the second point.
|
||||
* @param[out] y2 The Y coordinate of the second point.
|
||||
*
|
||||
* @ingroup Evas_Line
|
||||
*/
|
||||
EOAPI void evas_obj_line_xy_get(const Eo *obj, int *x1, int *y1, int *x2, int *y2);
|
||||
|
||||
#endif
|
|
@ -0,0 +1,337 @@
|
|||
#ifndef EVAS_LINE_EO_HH
|
||||
#define EVAS_LINE_EO_HH
|
||||
#include <Eo.h>
|
||||
|
||||
extern "C" {
|
||||
#include "efl_canvas_object.eo.h"
|
||||
#include "efl_canvas_pointer.eo.h"
|
||||
#include "efl_class.eo.h"
|
||||
#include "efl_gfx_color.eo.h"
|
||||
#include "efl_gfx_entity.eo.h"
|
||||
#include "efl_gfx_hint.eo.h"
|
||||
#include "efl_gfx_mapping.eo.h"
|
||||
#include "efl_gfx_stack.eo.h"
|
||||
#include "efl_input_device.eo.h"
|
||||
#include "efl_input_focus.eo.h"
|
||||
#include "efl_input_hold.eo.h"
|
||||
#include "efl_input_interface.eo.h"
|
||||
#include "efl_input_key.eo.h"
|
||||
#include "efl_input_pointer.eo.h"
|
||||
#include "efl_loop.eo.h"
|
||||
#include "efl_loop_consumer.eo.h"
|
||||
#include "efl_object.eo.h"
|
||||
#include "efl_ui_i18n.eo.h"
|
||||
#include "evas_line_eo.h"
|
||||
}
|
||||
#include <Eina.hh>
|
||||
#include <Eo.hh>
|
||||
#include "efl_canvas_object.eo.hh"
|
||||
#include "efl_canvas_pointer.eo.hh"
|
||||
#include "efl_class.eo.hh"
|
||||
#include "efl_gfx_color.eo.hh"
|
||||
#include "efl_gfx_entity.eo.hh"
|
||||
#include "efl_gfx_hint.eo.hh"
|
||||
#include "efl_gfx_mapping.eo.hh"
|
||||
#include "efl_gfx_stack.eo.hh"
|
||||
#include "efl_input_device.eo.hh"
|
||||
#include "efl_input_focus.eo.hh"
|
||||
#include "efl_input_hold.eo.hh"
|
||||
#include "efl_input_interface.eo.hh"
|
||||
#include "efl_input_key.eo.hh"
|
||||
#include "efl_input_pointer.eo.hh"
|
||||
#include "efl_loop.eo.hh"
|
||||
#include "efl_loop_consumer.eo.hh"
|
||||
#include "efl_object.eo.hh"
|
||||
#include "efl_ui_i18n.eo.hh"
|
||||
#ifndef EVAS_LINE_FWD_GUARD
|
||||
#define EVAS_LINE_FWD_GUARD
|
||||
namespace evas {
|
||||
struct Line;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Line> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Line&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Line const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Line const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CLASS_FWD_GUARD
|
||||
#define EFL_CLASS_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Class;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_COLOR_FWD_GUARD
|
||||
#define EFL_GFX_COLOR_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Color;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_DEVICE_FWD_GUARD
|
||||
#define EFL_INPUT_DEVICE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Device;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_ENTITY_FWD_GUARD
|
||||
#define EFL_GFX_ENTITY_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Entity;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_HINT_FWD_GUARD
|
||||
#define EFL_GFX_HINT_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Hint;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_FOCUS_FWD_GUARD
|
||||
#define EFL_INPUT_FOCUS_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Focus;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_HOLD_FWD_GUARD
|
||||
#define EFL_INPUT_HOLD_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Hold;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_UI_I18N_FWD_GUARD
|
||||
#define EFL_UI_I18N_FWD_GUARD
|
||||
namespace efl { namespace ui {
|
||||
struct I18n;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
#define EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Interface;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_KEY_FWD_GUARD
|
||||
#define EFL_INPUT_KEY_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Key;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_FWD_GUARD
|
||||
#define EFL_LOOP_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
#define EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop_Consumer;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_MAPPING_FWD_GUARD
|
||||
#define EFL_GFX_MAPPING_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Mapping;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_OBJECT_FWD_GUARD
|
||||
#define EFL_OBJECT_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Object;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
#define EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Object;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_POINTER_FWD_GUARD
|
||||
#define EFL_CANVAS_POINTER_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_POINTER_FWD_GUARD
|
||||
#define EFL_INPUT_POINTER_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_STACK_FWD_GUARD
|
||||
#define EFL_GFX_STACK_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Stack;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
struct Line {
|
||||
::efl::eolian::return_traits<void>::type xy_get( ::efl::eolian::out_traits<int>::type x1, ::efl::eolian::out_traits<int>::type y1, ::efl::eolian::out_traits<int>::type x2, ::efl::eolian::out_traits<int>::type y2) const;
|
||||
::efl::eolian::return_traits<void>::type xy_set( ::efl::eolian::in_traits<int>::type x1, ::efl::eolian::in_traits<int>::type y1, ::efl::eolian::in_traits<int>::type x2, ::efl::eolian::in_traits<int>::type y2) const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_LINE_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Line *>(this))); }
|
||||
operator ::evas::Line() const;
|
||||
operator ::evas::Line&();
|
||||
operator ::evas::Line const&() const;
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Line, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Line const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
};
|
||||
}
|
||||
}
|
||||
namespace evas {
|
||||
struct Line : private ::efl::eo::concrete
|
||||
, EO_CXX_INHERIT(::efl::Loop_Consumer)
|
||||
, EO_CXX_INHERIT(::efl::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Pointer)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Color)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Entity)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Hint)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Mapping)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Stack)
|
||||
, EO_CXX_INHERIT(::efl::input::Interface)
|
||||
, EO_CXX_INHERIT(::efl::ui::I18n)
|
||||
{
|
||||
explicit Line( ::Eo* eo)
|
||||
: ::efl::eo::concrete(eo) {}
|
||||
Line(std::nullptr_t)
|
||||
: ::efl::eo::concrete(nullptr) {}
|
||||
explicit Line() = default;
|
||||
Line(Line const&) = default;
|
||||
Line(Line&&) = default;
|
||||
Line& operator=(Line const&) = default;
|
||||
Line& operator=(Line&&) = default;
|
||||
template <typename Derived>
|
||||
Line(Derived&& derived
|
||||
, typename std::enable_if<
|
||||
::efl::eo::is_eolian_object<Derived>::value
|
||||
&& std::is_base_of< Line, Derived>::value>::type* = 0)
|
||||
: ::efl::eo::concrete(derived._eo_ptr()) {}
|
||||
|
||||
Line( ::efl::eo::instantiate_t)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
|
||||
}
|
||||
template <typename T>
|
||||
explicit Line( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
|
||||
}
|
||||
template <typename F> Line( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Line >::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
template <typename T, typename F> Line( ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Line >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
|
||||
::efl::eolian::return_traits<void>::type xy_get( ::efl::eolian::out_traits<int>::type x1, ::efl::eolian::out_traits<int>::type y1, ::efl::eolian::out_traits<int>::type x2, ::efl::eolian::out_traits<int>::type y2) const;
|
||||
::efl::eolian::return_traits<void>::type xy_set( ::efl::eolian::in_traits<int>::type x1, ::efl::eolian::in_traits<int>::type y1, ::efl::eolian::in_traits<int>::type x2, ::efl::eolian::in_traits<int>::type y2) const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_LINE_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Line *>(this))); }
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Line, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Line const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
::efl::eo::wref<Line> _get_wref() const { return ::efl::eo::wref<Line>(*this); }
|
||||
::efl::eo::concrete const& _get_concrete() const { return *this; }
|
||||
::efl::eo::concrete& _get_concrete() { return *this; }
|
||||
using ::efl::eo::concrete::_eo_ptr;
|
||||
using ::efl::eo::concrete::_release;
|
||||
using ::efl::eo::concrete::_reset;
|
||||
using ::efl::eo::concrete::_delete;
|
||||
using ::efl::eo::concrete::operator bool;
|
||||
#ifdef EFL_CXXPERIMENTAL
|
||||
const Line* operator->() const { return this; }
|
||||
Line* operator->() { return this; }
|
||||
operator Eo*() const { return _eo_ptr(); }
|
||||
#endif
|
||||
friend bool operator==(Line const& lhs, Line const& rhs)
|
||||
{ return lhs._get_concrete() == rhs._get_concrete(); }
|
||||
friend bool operator!=(Line const& lhs, Line const& rhs)
|
||||
{ return !(lhs == rhs); }
|
||||
};
|
||||
static_assert(sizeof(Line) == sizeof(Eo*), "");
|
||||
static_assert(std::is_standard_layout<Line>::value, "");
|
||||
}
|
||||
#endif
|
|
@ -0,0 +1,62 @@
|
|||
#ifndef EVAS_LINE_IMPL_HH
|
||||
#define EVAS_LINE_IMPL_HH
|
||||
|
||||
#include "evas_line_eo.hh"
|
||||
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<void>::type Line::xy_get( ::efl::eolian::out_traits<int>::type x1, ::efl::eolian::out_traits<int>::type y1, ::efl::eolian::out_traits<int>::type x2, ::efl::eolian::out_traits<int>::type y2) const
|
||||
{
|
||||
int __out_param_x1 = {};
|
||||
int __out_param_y1 = {};
|
||||
int __out_param_x2 = {};
|
||||
int __out_param_y2 = {};
|
||||
::evas_obj_line_xy_get(_eo_ptr(),
|
||||
& __out_param_x1,
|
||||
& __out_param_y1,
|
||||
& __out_param_x2,
|
||||
& __out_param_y2);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x1, __out_param_x1);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y1, __out_param_y1);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x2, __out_param_x2);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y2, __out_param_y2);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Line::xy_set( ::efl::eolian::in_traits<int>::type x1, ::efl::eolian::in_traits<int>::type y1, ::efl::eolian::in_traits<int>::type x2, ::efl::eolian::in_traits<int>::type y2) const
|
||||
{
|
||||
::evas_obj_line_xy_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x1),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y1),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x2),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y2));
|
||||
}
|
||||
}
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<void>::type Line::xy_get( ::efl::eolian::out_traits<int>::type x1, ::efl::eolian::out_traits<int>::type y1, ::efl::eolian::out_traits<int>::type x2, ::efl::eolian::out_traits<int>::type y2) const
|
||||
{
|
||||
int __out_param_x1 = {};
|
||||
int __out_param_y1 = {};
|
||||
int __out_param_x2 = {};
|
||||
int __out_param_y2 = {};
|
||||
::evas_obj_line_xy_get(_eo_ptr(),
|
||||
& __out_param_x1,
|
||||
& __out_param_y1,
|
||||
& __out_param_x2,
|
||||
& __out_param_y2);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x1, __out_param_x1);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y1, __out_param_y1);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(x2, __out_param_x2);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(y2, __out_param_y2);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Line::xy_set( ::efl::eolian::in_traits<int>::type x1, ::efl::eolian::in_traits<int>::type y1, ::efl::eolian::in_traits<int>::type x2, ::efl::eolian::in_traits<int>::type y2) const
|
||||
{
|
||||
::evas_obj_line_xy_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x1),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y1),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(x2),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(y2));
|
||||
}
|
||||
inline evas::Line::operator ::evas::Line() const { return *static_cast< ::evas::Line const*>(static_cast<void const*>(this)); }
|
||||
inline evas::Line::operator ::evas::Line&() { return *static_cast< ::evas::Line*>(static_cast<void*>(this)); }
|
||||
inline evas::Line::operator ::evas::Line const&() const { return *static_cast< ::evas::Line const*>(static_cast<void const*>(this)); }
|
||||
} }
|
||||
#endif
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
EAPI void
|
||||
evas_object_line_xy_set(Evas_Line *obj, int x1, int y1, int x2, int y2)
|
||||
{
|
||||
evas_obj_line_xy_set(obj, x1, y1, x2, y2);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_line_xy_get(const Evas_Line *obj, int *x1, int *y1, int *x2, int *y2)
|
||||
{
|
||||
evas_obj_line_xy_get(obj, x1, y1, x2, y2);
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
#ifndef _EVAS_LINE_EO_LEGACY_H_
|
||||
#define _EVAS_LINE_EO_LEGACY_H_
|
||||
|
||||
#ifndef _EVAS_LINE_EO_CLASS_TYPE
|
||||
#define _EVAS_LINE_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Line;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_LINE_EO_TYPES
|
||||
#define _EVAS_LINE_EO_TYPES
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Sets the coordinates of the end points of the given evas line object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] x1 The X coordinate of the first point.
|
||||
* @param[in] y1 The Y coordinate of the first point.
|
||||
* @param[in] x2 The X coordinate of the second point.
|
||||
* @param[in] y2 The Y coordinate of the second point.
|
||||
*
|
||||
* @since 1.8
|
||||
*
|
||||
* @ingroup Evas_Object_Line_Group
|
||||
*/
|
||||
EAPI void evas_object_line_xy_set(Evas_Line *obj, int x1, int y1, int x2, int y2);
|
||||
|
||||
/**
|
||||
* @brief Retrieves the coordinates of the end points of the given evas line
|
||||
* object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] x1 The X coordinate of the first point.
|
||||
* @param[out] y1 The Y coordinate of the first point.
|
||||
* @param[out] x2 The X coordinate of the second point.
|
||||
* @param[out] y2 The Y coordinate of the second point.
|
||||
*
|
||||
* @ingroup Evas_Object_Line_Group
|
||||
*/
|
||||
EAPI void evas_object_line_xy_get(const Evas_Line *obj, int *x1, int *y1, int *x2, int *y2);
|
||||
|
||||
#endif
|
|
@ -2035,4 +2035,4 @@ EWAPI const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE =
|
|||
EFL_EVENT_DESCRIPTION("viewport,resize");
|
||||
|
||||
#include "evas_stack.x"
|
||||
#include "canvas/evas_canvas.eo.c"
|
||||
#include "canvas/evas_canvas_eo.c"
|
||||
|
|
|
@ -2009,4 +2009,4 @@ _evas_box_class_constructor(Efl_Class *klass)
|
|||
#define EVAS_BOX_EXTRA_OPS \
|
||||
EFL_CANVAS_GROUP_ADD_DEL_OPS(evas_box)
|
||||
|
||||
#include "canvas/evas_box.eo.c"
|
||||
#include "canvas/evas_box_eo.c"
|
||||
|
|
|
@ -507,4 +507,4 @@ evas_object_grid_mirrored_get(const Evas_Grid *obj)
|
|||
return efl_ui_mirrored_get(obj);
|
||||
}
|
||||
|
||||
#include "canvas/evas_grid.eo.c"
|
||||
#include "canvas/evas_grid_eo.c"
|
||||
|
|
|
@ -416,4 +416,4 @@ evas_object_line_coords_recalc(Evas_Object *eo_obj EINA_UNUSED,
|
|||
o->cur.cache.object.h = obj->cur->geometry.h;
|
||||
}
|
||||
|
||||
#include "canvas/evas_line.eo.c"
|
||||
#include "canvas/evas_line_eo.c"
|
||||
|
|
|
@ -2573,3 +2573,4 @@ EOAPI EFL_VOID_FUNC_BODYV(efl_canvas_object_type_set, EFL_FUNC_CALL(type), const
|
|||
EFL_OBJECT_OP_FUNC(efl_canvas_object_type_set, _efl_canvas_object_type_set)
|
||||
|
||||
#include "canvas/efl_canvas_object.eo.c"
|
||||
#include "canvas/efl_canvas_object_eo.legacy.c"
|
||||
|
|
|
@ -1870,3 +1870,4 @@ EOAPI EFL_VOID_FUNC_BODYV(efl_canvas_group_clipped_set, EFL_FUNC_CALL(enable), E
|
|||
EFL_OBJECT_OP_FUNC(efl_canvas_group_clipped_set, _efl_canvas_group_group_clipped_set)
|
||||
|
||||
#include "canvas/efl_canvas_group.eo.c"
|
||||
#include "canvas/efl_canvas_group_eo.legacy.c"
|
||||
|
|
|
@ -1456,4 +1456,4 @@ _evas_table_class_constructor(Efl_Class *klass)
|
|||
#define EVAS_TABLE_EXTRA_OPS \
|
||||
EFL_CANVAS_GROUP_ADD_DEL_OPS(evas_table)
|
||||
|
||||
#include "canvas/evas_table.eo.c"
|
||||
#include "canvas/evas_table_eo.c"
|
||||
|
|
|
@ -2439,4 +2439,4 @@ _evas_text_efl_text_font_font_bitmap_scalable_get(const Eo *eo_obj EINA_UNUSED,
|
|||
#define EVAS_TEXT_EXTRA_OPS \
|
||||
EFL_OBJECT_OP_FUNC(efl_dbg_info_get, _evas_text_efl_object_dbg_info_get)
|
||||
|
||||
#include "canvas/evas_text.eo.c"
|
||||
#include "canvas/evas_text_eo.c"
|
||||
|
|
|
@ -16626,4 +16626,5 @@ _efl_canvas_text_async_layout(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o)
|
|||
}
|
||||
|
||||
#include "canvas/efl_canvas_text.eo.c"
|
||||
#include "canvas/efl_canvas_text_eo.legacy.c"
|
||||
#include "canvas/efl_canvas_text_factory.eo.c" // interface
|
||||
|
|
|
@ -1502,4 +1502,4 @@ _evas_textgrid_efl_text_font_font_bitmap_scalable_get(const Eo *eo_obj EINA_UNUS
|
|||
#define EVAS_TEXTGRID_EXTRA_OPS \
|
||||
EFL_OBJECT_OP_FUNC(efl_dbg_info_get, _evas_textgrid_efl_object_dbg_info_get)
|
||||
|
||||
#include "canvas/evas_textgrid.eo.c"
|
||||
#include "canvas/evas_textgrid_eo.c"
|
||||
|
|
|
@ -1,211 +0,0 @@
|
|||
/* XXX: Remove the Object_ part once the relevant Eolian bugs are fixed. */
|
||||
enum Evas.Object_Table.Homogeneous_Mode {
|
||||
[[How to pack items into cells in a table.
|
||||
|
||||
See @Evas.Table.homogeneous for an explanation of the function of each one.]]
|
||||
legacy: Evas_Object_Table_Homogeneous;
|
||||
none = 0, [[No mode specified]]
|
||||
table = 1, [[Table mode]]
|
||||
item = 2 [[Item mode]]
|
||||
}
|
||||
|
||||
class Evas.Table extends Efl.Canvas.Group
|
||||
{
|
||||
[[Evas table class]]
|
||||
legacy_prefix: evas_object_table;
|
||||
eo_prefix: evas_obj_table;
|
||||
methods {
|
||||
@property homogeneous {
|
||||
[[Set how this table should layout children.
|
||||
|
||||
Todo: consider aspect hint and respect it.
|
||||
|
||||
@Evas.Object_Table.Homogeneous_Mode.none
|
||||
If table does not use homogeneous mode then columns and rows will
|
||||
be calculated based on hints of individual cells. This operation
|
||||
mode is more flexible, but more complex and heavy to calculate as
|
||||
well. Weight properties are handled as a boolean expand. Negative
|
||||
alignment will be considered as 0.5. This is the default.
|
||||
|
||||
Todo: @Evas.Object_Table.Homogeneous_Mode.none should balance weight.
|
||||
|
||||
@Evas.Object_Table.Homogeneous_Mode.table
|
||||
When homogeneous is relative to table the own table size is divided
|
||||
equally among children, filling the whole table area. That is, if
|
||||
table has $WIDTH and $COLUMNS, each cell will get _WIDTH /
|
||||
COLUMNS_ pixels. If children have minimum size that is larger
|
||||
than this amount (including padding), then it will overflow and be
|
||||
aligned respecting the alignment hint, possible overlapping sibling
|
||||
cells. Weight hint is used as a boolean, if greater than zero it
|
||||
will make the child expand in that axis, taking as much space as
|
||||
possible (bounded to maximum size hint). Negative alignment will be
|
||||
considered as 0.5.
|
||||
|
||||
@Evas.Object_Table.Homogeneous_Mode.item
|
||||
When homogeneous is relative to item it means the greatest minimum
|
||||
cell size will be used. That is, if no element is set to expand,
|
||||
the table will have its contents to a minimum size, the bounding
|
||||
box of all these children will be aligned relatively to the table
|
||||
object using evas_object_table_align_get(). If the table area is
|
||||
too small to hold this minimum bounding box, then the objects will
|
||||
keep their size and the bounding box will overflow the box area,
|
||||
still respecting the alignment. Weight hint is used as a
|
||||
boolean, if greater than zero it will make that cell expand in that
|
||||
axis, toggling the *expand mode*, which makes the table behave
|
||||
much like @Evas.Object_Table.Homogeneous_Mode.table, except that the
|
||||
bounding box will overflow and items will not overlap siblings. If
|
||||
no minimum size is provided at all then the table will fallback to
|
||||
expand mode as well.]]
|
||||
set {
|
||||
}
|
||||
get {
|
||||
}
|
||||
values {
|
||||
homogeneous: Evas.Object_Table.Homogeneous_Mode; [[Table homogeneous mode]]
|
||||
}
|
||||
}
|
||||
@property align {
|
||||
[[Control the alignment of the whole bounding box of contents.]]
|
||||
set {
|
||||
}
|
||||
get {
|
||||
}
|
||||
values {
|
||||
horizontal: double; [[Horizontal alignment]]
|
||||
vertical: double; [[Vertical alignment]]
|
||||
}
|
||||
}
|
||||
@property padding {
|
||||
[[Control the padding between cells.]]
|
||||
set {
|
||||
}
|
||||
get {
|
||||
}
|
||||
values {
|
||||
horizontal: int; [[Horizontal padding]]
|
||||
vertical: int; [[Vertical padding]]
|
||||
}
|
||||
}
|
||||
@property col_row_size {
|
||||
get {
|
||||
[[Get the number of columns and rows this table takes.
|
||||
|
||||
Note: columns and rows are virtual entities, one can specify a table
|
||||
with a single object that takes 4 columns and 5 rows. The only
|
||||
difference for a single cell table is that paddings will be
|
||||
accounted proportionally.]]
|
||||
}
|
||||
values {
|
||||
cols: int; [[Columns in table]]
|
||||
rows: int; [[Rows in table]]
|
||||
}
|
||||
}
|
||||
@property children {
|
||||
get {
|
||||
[[Get the list of children for the table.
|
||||
|
||||
Note: This is a duplicate of the list kept by the table internally.
|
||||
It's up to the user to destroy it when it no longer needs it.
|
||||
It's possible to remove objects from the table when walking this
|
||||
list, but these removals won't be reflected on it.]]
|
||||
return: list<Efl.Canvas.Object> @owned @warn_unused; [[Children list]]
|
||||
}
|
||||
}
|
||||
@property child {
|
||||
get {
|
||||
[[Get the child of the table at the given coordinates
|
||||
|
||||
Note: This does not take into account col/row spanning]]
|
||||
}
|
||||
keys {
|
||||
col: ushort; [[Child column]]
|
||||
row: ushort; [[Child row]]
|
||||
}
|
||||
values {
|
||||
child: Efl.Canvas.Object; [[Child object]]
|
||||
}
|
||||
}
|
||||
clear {
|
||||
[[Faster way to remove all child objects from a table object.]]
|
||||
|
||||
params {
|
||||
@in clear: bool; [[If $true, it will delete just removed children.]]
|
||||
}
|
||||
}
|
||||
accessor_new @const {
|
||||
[[Get an accessor to get random access to the list of children for the table.
|
||||
|
||||
Note: Do not remove or delete objects while walking the list.]]
|
||||
return: accessor<Efl.Canvas.Object> @owned
|
||||
@warn_unused; [[Accessor to children list]]
|
||||
}
|
||||
iterator_new @const {
|
||||
[[Get an iterator to walk the list of children for the table.
|
||||
|
||||
Note: Do not remove or delete objects while walking the list.]]
|
||||
return: iterator<Efl.Canvas.Object> @owned
|
||||
@warn_unused; [[Iterator to children]]
|
||||
}
|
||||
add_to {
|
||||
[[Create a table that is child of a given element $parent.]]
|
||||
|
||||
return: Efl.Canvas.Object @warn_unused; [[Children table]]
|
||||
}
|
||||
pack_get @const {
|
||||
[[Get packing location of a child of table
|
||||
|
||||
@since 1.1]]
|
||||
return: bool; [[$true on success, $false on failure.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object; [[The child object to add.]]
|
||||
@out col: ushort; [[Pointer to store relative-horizontal position to place child.]]
|
||||
@out row: ushort; [[Pointer to store relative-vertical position to place child.]]
|
||||
@out colspan: ushort; [[Pointer to store how many relative-horizontal positions to use for this child.]]
|
||||
@out rowspan: ushort; [[Pointer to store how many relative-vertical positions to use for this child.]]
|
||||
}
|
||||
}
|
||||
pack {
|
||||
[[Add a new child to a table object or set its current packing.
|
||||
|
||||
Note that columns and rows only guarantee 16bit unsigned values at best.
|
||||
That means that col + colspan AND row + rowspan must fit inside 16bit
|
||||
unsigned values cleanly. You will be warned once values exceed 15bit
|
||||
storage, and attempting to use values not able to fit in 16bits will
|
||||
result in failure.]]
|
||||
|
||||
return: bool; [[$true on success, $false on failure.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[The child object to add.]]
|
||||
@in col: ushort; [[Relative-horizontal position to place child.]]
|
||||
@in row: ushort; [[Relative-vertical position to place child.]]
|
||||
@in colspan: ushort; [[How many relative-horizontal positions to use for this child.]]
|
||||
@in rowspan: ushort; [[How many relative-vertical positions to use for this child.]]
|
||||
}
|
||||
}
|
||||
unpack {
|
||||
[[Remove child from table.
|
||||
|
||||
Note: removing a child will immediately call a walk over children in order
|
||||
to recalculate numbers of columns and rows. If you plan to remove
|
||||
all children, use @Evas.Table.clear instead.]]
|
||||
|
||||
return: bool; [[$true on success, $false on failure.]]
|
||||
params {
|
||||
@in child: Efl.Canvas.Object @nonull; [[Child to be removed]]
|
||||
}
|
||||
}
|
||||
count {
|
||||
[[Returns the number of items in the table]]
|
||||
legacy: null;
|
||||
return: int; [[Number of items in table]]
|
||||
}
|
||||
}
|
||||
implements {
|
||||
class.constructor;
|
||||
Efl.Object.constructor;
|
||||
Efl.Gfx.Entity.size { set; }
|
||||
Efl.Gfx.Entity.position { set; }
|
||||
Efl.Canvas.Group.group_calculate;
|
||||
Efl.Ui.I18n.mirrored { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,142 @@
|
|||
|
||||
void _evas_table_homogeneous_set(Eo *obj, Evas_Table_Data *pd, Evas_Object_Table_Homogeneous_Mode homogeneous);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_table_homogeneous_set, EFL_FUNC_CALL(homogeneous), Evas_Object_Table_Homogeneous_Mode homogeneous);
|
||||
|
||||
Evas_Object_Table_Homogeneous_Mode _evas_table_homogeneous_get(const Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_table_homogeneous_get, Evas_Object_Table_Homogeneous_Mode, 0);
|
||||
|
||||
void _evas_table_align_set(Eo *obj, Evas_Table_Data *pd, double horizontal, double vertical);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_table_align_set, EFL_FUNC_CALL(horizontal, vertical), double horizontal, double vertical);
|
||||
|
||||
void _evas_table_align_get(const Eo *obj, Evas_Table_Data *pd, double *horizontal, double *vertical);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_table_align_get, EFL_FUNC_CALL(horizontal, vertical), double *horizontal, double *vertical);
|
||||
|
||||
void _evas_table_padding_set(Eo *obj, Evas_Table_Data *pd, int horizontal, int vertical);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_table_padding_set, EFL_FUNC_CALL(horizontal, vertical), int horizontal, int vertical);
|
||||
|
||||
void _evas_table_padding_get(const Eo *obj, Evas_Table_Data *pd, int *horizontal, int *vertical);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_table_padding_get, EFL_FUNC_CALL(horizontal, vertical), int *horizontal, int *vertical);
|
||||
|
||||
void _evas_table_col_row_size_get(const Eo *obj, Evas_Table_Data *pd, int *cols, int *rows);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_table_col_row_size_get, EFL_FUNC_CALL(cols, rows), int *cols, int *rows);
|
||||
|
||||
Eina_List *_evas_table_children_get(const Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_table_children_get, Eina_List *, NULL);
|
||||
|
||||
Efl_Canvas_Object *_evas_table_child_get(const Eo *obj, Evas_Table_Data *pd, unsigned short col, unsigned short row);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_table_child_get, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(col, row), unsigned short col, unsigned short row);
|
||||
|
||||
void _evas_table_clear(Eo *obj, Evas_Table_Data *pd, Eina_Bool clear);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_table_clear, EFL_FUNC_CALL(clear), Eina_Bool clear);
|
||||
|
||||
Eina_Accessor *_evas_table_accessor_new(const Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_table_accessor_new, Eina_Accessor *, NULL);
|
||||
|
||||
Eina_Iterator *_evas_table_iterator_new(const Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(evas_obj_table_iterator_new, Eina_Iterator *, NULL);
|
||||
|
||||
Efl_Canvas_Object *_evas_table_add_to(Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY(evas_obj_table_add_to, Efl_Canvas_Object *, NULL);
|
||||
|
||||
Eina_Bool _evas_table_pack_get(const Eo *obj, Evas_Table_Data *pd, Efl_Canvas_Object *child, unsigned short *col, unsigned short *row, unsigned short *colspan, unsigned short *rowspan);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_table_pack_get, Eina_Bool, 0, EFL_FUNC_CALL(child, col, row, colspan, rowspan), Efl_Canvas_Object *child, unsigned short *col, unsigned short *row, unsigned short *colspan, unsigned short *rowspan);
|
||||
|
||||
Eina_Bool _evas_table_pack(Eo *obj, Evas_Table_Data *pd, Efl_Canvas_Object *child, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_table_pack, Eina_Bool, 0, EFL_FUNC_CALL(child, col, row, colspan, rowspan), Efl_Canvas_Object *child, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan);
|
||||
|
||||
Eina_Bool _evas_table_unpack(Eo *obj, Evas_Table_Data *pd, Efl_Canvas_Object *child);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(evas_obj_table_unpack, Eina_Bool, 0, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
|
||||
|
||||
int _evas_table_count(Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY(evas_obj_table_count, int, 0);
|
||||
|
||||
Efl_Object *_evas_table_efl_object_constructor(Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
|
||||
void _evas_table_efl_gfx_entity_size_set(Eo *obj, Evas_Table_Data *pd, Eina_Size2D size);
|
||||
|
||||
|
||||
void _evas_table_efl_gfx_entity_position_set(Eo *obj, Evas_Table_Data *pd, Eina_Position2D pos);
|
||||
|
||||
|
||||
void _evas_table_efl_canvas_group_group_calculate(Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
|
||||
void _evas_table_efl_ui_i18n_mirrored_set(Eo *obj, Evas_Table_Data *pd, Eina_Bool rtl);
|
||||
|
||||
|
||||
Eina_Bool _evas_table_efl_ui_i18n_mirrored_get(const Eo *obj, Evas_Table_Data *pd);
|
||||
|
||||
|
||||
static Eina_Bool
|
||||
_evas_table_class_initializer(Efl_Class *klass)
|
||||
{
|
||||
const Efl_Object_Ops *opsp = NULL;
|
||||
|
||||
const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
|
||||
|
||||
#ifndef EVAS_TABLE_EXTRA_OPS
|
||||
#define EVAS_TABLE_EXTRA_OPS
|
||||
#endif
|
||||
|
||||
EFL_OPS_DEFINE(ops,
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_homogeneous_set, _evas_table_homogeneous_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_homogeneous_get, _evas_table_homogeneous_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_align_set, _evas_table_align_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_align_get, _evas_table_align_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_padding_set, _evas_table_padding_set),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_padding_get, _evas_table_padding_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_col_row_size_get, _evas_table_col_row_size_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_children_get, _evas_table_children_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_child_get, _evas_table_child_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_clear, _evas_table_clear),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_accessor_new, _evas_table_accessor_new),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_iterator_new, _evas_table_iterator_new),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_add_to, _evas_table_add_to),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_pack_get, _evas_table_pack_get),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_pack, _evas_table_pack),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_unpack, _evas_table_unpack),
|
||||
EFL_OBJECT_OP_FUNC(evas_obj_table_count, _evas_table_count),
|
||||
EFL_OBJECT_OP_FUNC(efl_constructor, _evas_table_efl_object_constructor),
|
||||
EFL_OBJECT_OP_FUNC(efl_gfx_entity_size_set, _evas_table_efl_gfx_entity_size_set),
|
||||
EFL_OBJECT_OP_FUNC(efl_gfx_entity_position_set, _evas_table_efl_gfx_entity_position_set),
|
||||
EFL_OBJECT_OP_FUNC(efl_canvas_group_calculate, _evas_table_efl_canvas_group_group_calculate),
|
||||
EFL_OBJECT_OP_FUNC(efl_ui_mirrored_set, _evas_table_efl_ui_i18n_mirrored_set),
|
||||
EFL_OBJECT_OP_FUNC(efl_ui_mirrored_get, _evas_table_efl_ui_i18n_mirrored_get),
|
||||
EVAS_TABLE_EXTRA_OPS
|
||||
);
|
||||
opsp = &ops;
|
||||
|
||||
return efl_class_functions_set(klass, opsp, ropsp);
|
||||
}
|
||||
|
||||
static const Efl_Class_Description _evas_table_class_desc = {
|
||||
EO_VERSION,
|
||||
"Evas.Table",
|
||||
EFL_CLASS_TYPE_REGULAR,
|
||||
sizeof(Evas_Table_Data),
|
||||
_evas_table_class_initializer,
|
||||
_evas_table_class_constructor,
|
||||
NULL
|
||||
};
|
||||
|
||||
EFL_DEFINE_CLASS(evas_table_class_get, &_evas_table_class_desc, EFL_CANVAS_GROUP_CLASS, NULL);
|
||||
|
||||
#include "evas_table_eo.legacy.c"
|
|
@ -0,0 +1,338 @@
|
|||
#ifndef _EVAS_TABLE_EO_H_
|
||||
#define _EVAS_TABLE_EO_H_
|
||||
|
||||
#ifndef _EVAS_TABLE_EO_CLASS_TYPE
|
||||
#define _EVAS_TABLE_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Evas_Table;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _EVAS_TABLE_EO_TYPES
|
||||
#define _EVAS_TABLE_EO_TYPES
|
||||
|
||||
/**
|
||||
* @brief How to pack items into cells in a table.
|
||||
*
|
||||
* See @ref evas_obj_table_homogeneous_get for an explanation of the function
|
||||
* of each one.
|
||||
*
|
||||
* @ingroup Evas_Object_Table
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE = 0, /**< No mode specified */
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE = 1, /**< Table mode */
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_ITEM = 2 /**< Item mode */
|
||||
} Evas_Object_Table_Homogeneous_Mode;
|
||||
|
||||
|
||||
#endif
|
||||
/** Evas table class
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
#define EVAS_TABLE_CLASS evas_table_class_get()
|
||||
|
||||
EWAPI const Efl_Class *evas_table_class_get(void);
|
||||
|
||||
/**
|
||||
* @brief Set how this table should layout children.
|
||||
*
|
||||
* Todo: consider aspect hint and respect it.
|
||||
*
|
||||
* @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE If table does not use homogeneous
|
||||
* mode then columns and rows will be calculated based on hints of individual
|
||||
* cells. This operation mode is more flexible, but more complex and heavy to
|
||||
* calculate as well. Weight properties are handled as a boolean expand.
|
||||
* Negative alignment will be considered as 0.5. This is the default.
|
||||
*
|
||||
* Todo: @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE should balance weight.
|
||||
*
|
||||
* @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE When homogeneous is relative to
|
||||
* table the own table size is divided equally among children, filling the
|
||||
* whole table area. That is, if table has @c WIDTH and @c COLUMNS, each cell
|
||||
* will get _WIDTH / COLUMNS_ pixels. If children have minimum size that is
|
||||
* larger than this amount (including padding), then it will overflow and be
|
||||
* aligned respecting the alignment hint, possible overlapping sibling cells.
|
||||
* Weight hint is used as a boolean, if greater than zero it will make the
|
||||
* child expand in that axis, taking as much space as possible (bounded to
|
||||
* maximum size hint). Negative alignment will be considered as 0.5.
|
||||
*
|
||||
* @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_ITEM When homogeneous is relative to item
|
||||
* it means the greatest minimum cell size will be used. That is, if no element
|
||||
* is set to expand, the table will have its contents to a minimum size, the
|
||||
* bounding box of all these children will be aligned relatively to the table
|
||||
* object using evas_object_table_align_get(). If the table area is too small
|
||||
* to hold this minimum bounding box, then the objects will keep their size and
|
||||
* the bounding box will overflow the box area, still respecting the alignment.
|
||||
* Weight hint is used as a boolean, if greater than zero it will make that
|
||||
* cell expand in that axis, toggling the *expand mode*, which makes the table
|
||||
* behave much like @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE, except that the
|
||||
* bounding box will overflow and items will not overlap siblings. If no
|
||||
* minimum size is provided at all then the table will fallback to expand mode
|
||||
* as well.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] homogeneous Table homogeneous mode
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI void evas_obj_table_homogeneous_set(Eo *obj, Evas_Object_Table_Homogeneous_Mode homogeneous);
|
||||
|
||||
/**
|
||||
* @brief Set how this table should layout children.
|
||||
*
|
||||
* Todo: consider aspect hint and respect it.
|
||||
*
|
||||
* @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE If table does not use homogeneous
|
||||
* mode then columns and rows will be calculated based on hints of individual
|
||||
* cells. This operation mode is more flexible, but more complex and heavy to
|
||||
* calculate as well. Weight properties are handled as a boolean expand.
|
||||
* Negative alignment will be considered as 0.5. This is the default.
|
||||
*
|
||||
* Todo: @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE should balance weight.
|
||||
*
|
||||
* @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE When homogeneous is relative to
|
||||
* table the own table size is divided equally among children, filling the
|
||||
* whole table area. That is, if table has @c WIDTH and @c COLUMNS, each cell
|
||||
* will get _WIDTH / COLUMNS_ pixels. If children have minimum size that is
|
||||
* larger than this amount (including padding), then it will overflow and be
|
||||
* aligned respecting the alignment hint, possible overlapping sibling cells.
|
||||
* Weight hint is used as a boolean, if greater than zero it will make the
|
||||
* child expand in that axis, taking as much space as possible (bounded to
|
||||
* maximum size hint). Negative alignment will be considered as 0.5.
|
||||
*
|
||||
* @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_ITEM When homogeneous is relative to item
|
||||
* it means the greatest minimum cell size will be used. That is, if no element
|
||||
* is set to expand, the table will have its contents to a minimum size, the
|
||||
* bounding box of all these children will be aligned relatively to the table
|
||||
* object using evas_object_table_align_get(). If the table area is too small
|
||||
* to hold this minimum bounding box, then the objects will keep their size and
|
||||
* the bounding box will overflow the box area, still respecting the alignment.
|
||||
* Weight hint is used as a boolean, if greater than zero it will make that
|
||||
* cell expand in that axis, toggling the *expand mode*, which makes the table
|
||||
* behave much like @ref EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE, except that the
|
||||
* bounding box will overflow and items will not overlap siblings. If no
|
||||
* minimum size is provided at all then the table will fallback to expand mode
|
||||
* as well.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Table homogeneous mode
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Evas_Object_Table_Homogeneous_Mode evas_obj_table_homogeneous_get(const Eo *obj);
|
||||
|
||||
/**
|
||||
* @brief Control the alignment of the whole bounding box of contents.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] horizontal Horizontal alignment
|
||||
* @param[in] vertical Vertical alignment
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI void evas_obj_table_align_set(Eo *obj, double horizontal, double vertical);
|
||||
|
||||
/**
|
||||
* @brief Control the alignment of the whole bounding box of contents.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] horizontal Horizontal alignment
|
||||
* @param[out] vertical Vertical alignment
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI void evas_obj_table_align_get(const Eo *obj, double *horizontal, double *vertical);
|
||||
|
||||
/**
|
||||
* @brief Control the padding between cells.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] horizontal Horizontal padding
|
||||
* @param[in] vertical Vertical padding
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI void evas_obj_table_padding_set(Eo *obj, int horizontal, int vertical);
|
||||
|
||||
/**
|
||||
* @brief Control the padding between cells.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] horizontal Horizontal padding
|
||||
* @param[out] vertical Vertical padding
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI void evas_obj_table_padding_get(const Eo *obj, int *horizontal, int *vertical);
|
||||
|
||||
/**
|
||||
* @brief Get the number of columns and rows this table takes.
|
||||
*
|
||||
* @note columns and rows are virtual entities, one can specify a table with a
|
||||
* single object that takes 4 columns and 5 rows. The only difference for a
|
||||
* single cell table is that paddings will be accounted proportionally.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[out] cols Columns in table
|
||||
* @param[out] rows Rows in table
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI void evas_obj_table_col_row_size_get(const Eo *obj, int *cols, int *rows);
|
||||
|
||||
/**
|
||||
* @brief Get the list of children for the table.
|
||||
*
|
||||
* @note This is a duplicate of the list kept by the table internally. It's up
|
||||
* to the user to destroy it when it no longer needs it. It's possible to
|
||||
* remove objects from the table when walking this list, but these removals
|
||||
* won't be reflected on it.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Children list
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Eina_List *evas_obj_table_children_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Get the child of the table at the given coordinates
|
||||
*
|
||||
* @note This does not take into account col/row spanning
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] col Child column
|
||||
* @param[in] row Child row
|
||||
*
|
||||
* @return Child object
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Efl_Canvas_Object *evas_obj_table_child_get(const Eo *obj, unsigned short col, unsigned short row);
|
||||
|
||||
/**
|
||||
* @brief Faster way to remove all child objects from a table object.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] clear If @c true, it will delete just removed children.
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI void evas_obj_table_clear(Eo *obj, Eina_Bool clear);
|
||||
|
||||
/**
|
||||
* @brief Get an accessor to get random access to the list of children for the
|
||||
* table.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Accessor to children list
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Eina_Accessor *evas_obj_table_accessor_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Get an iterator to walk the list of children for the table.
|
||||
*
|
||||
* @note Do not remove or delete objects while walking the list.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Iterator to children
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Eina_Iterator *evas_obj_table_iterator_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Create a table that is child of a given element @c parent.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Children table
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Efl_Canvas_Object *evas_obj_table_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Get packing location of a child of table
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child The child object to add.
|
||||
* @param[out] col Pointer to store relative-horizontal position to place
|
||||
* child.
|
||||
* @param[out] row Pointer to store relative-vertical position to place child.
|
||||
* @param[out] colspan Pointer to store how many relative-horizontal positions
|
||||
* to use for this child.
|
||||
* @param[out] rowspan Pointer to store how many relative-vertical positions to
|
||||
* use for this child.
|
||||
*
|
||||
* @return @c true on success, @c false on failure.
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_table_pack_get(const Eo *obj, Efl_Canvas_Object *child, unsigned short *col, unsigned short *row, unsigned short *colspan, unsigned short *rowspan);
|
||||
|
||||
/**
|
||||
* @brief Add a new child to a table object or set its current packing.
|
||||
*
|
||||
* Note that columns and rows only guarantee 16bit unsigned values at best.
|
||||
* That means that col + colspan AND row + rowspan must fit inside 16bit
|
||||
* unsigned values cleanly. You will be warned once values exceed 15bit
|
||||
* storage, and attempting to use values not able to fit in 16bits will result
|
||||
* in failure.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child The child object to add.
|
||||
* @param[in] col Relative-horizontal position to place child.
|
||||
* @param[in] row Relative-vertical position to place child.
|
||||
* @param[in] colspan How many relative-horizontal positions to use for this
|
||||
* child.
|
||||
* @param[in] rowspan How many relative-vertical positions to use for this
|
||||
* child.
|
||||
*
|
||||
* @return @c true on success, @c false on failure.
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_table_pack(Eo *obj, Efl_Canvas_Object *child, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Remove child from table.
|
||||
*
|
||||
* @note removing a child will immediately call a walk over children in order
|
||||
* to recalculate numbers of columns and rows. If you plan to remove all
|
||||
* children, use @ref evas_obj_table_clear instead.
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
* @param[in] child Child to be removed
|
||||
*
|
||||
* @return @c true on success, @c false on failure.
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI Eina_Bool evas_obj_table_unpack(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
|
||||
|
||||
/**
|
||||
* @brief Returns the number of items in the table
|
||||
*
|
||||
* @param[in] obj The object.
|
||||
*
|
||||
* @return Number of items in table
|
||||
*
|
||||
* @ingroup Evas_Table
|
||||
*/
|
||||
EOAPI int evas_obj_table_count(Eo *obj);
|
||||
|
||||
#endif
|
|
@ -0,0 +1,380 @@
|
|||
#ifndef EVAS_TABLE_EO_HH
|
||||
#define EVAS_TABLE_EO_HH
|
||||
#include <Eo.h>
|
||||
|
||||
extern "C" {
|
||||
#include "efl_canvas_group.eo.h"
|
||||
#include "efl_canvas_object.eo.h"
|
||||
#include "efl_canvas_pointer.eo.h"
|
||||
#include "efl_class.eo.h"
|
||||
#include "efl_gfx_color.eo.h"
|
||||
#include "efl_gfx_entity.eo.h"
|
||||
#include "efl_gfx_hint.eo.h"
|
||||
#include "efl_gfx_mapping.eo.h"
|
||||
#include "efl_gfx_stack.eo.h"
|
||||
#include "efl_input_device.eo.h"
|
||||
#include "efl_input_focus.eo.h"
|
||||
#include "efl_input_hold.eo.h"
|
||||
#include "efl_input_interface.eo.h"
|
||||
#include "efl_input_key.eo.h"
|
||||
#include "efl_input_pointer.eo.h"
|
||||
#include "efl_loop.eo.h"
|
||||
#include "efl_loop_consumer.eo.h"
|
||||
#include "efl_object.eo.h"
|
||||
#include "efl_ui_i18n.eo.h"
|
||||
#include "evas_table_eo.h"
|
||||
}
|
||||
#include <Eina.hh>
|
||||
#include <Eo.hh>
|
||||
#include "efl_canvas_group.eo.hh"
|
||||
#include "efl_canvas_object.eo.hh"
|
||||
#include "efl_canvas_pointer.eo.hh"
|
||||
#include "efl_class.eo.hh"
|
||||
#include "efl_gfx_color.eo.hh"
|
||||
#include "efl_gfx_entity.eo.hh"
|
||||
#include "efl_gfx_hint.eo.hh"
|
||||
#include "efl_gfx_mapping.eo.hh"
|
||||
#include "efl_gfx_stack.eo.hh"
|
||||
#include "efl_input_device.eo.hh"
|
||||
#include "efl_input_focus.eo.hh"
|
||||
#include "efl_input_hold.eo.hh"
|
||||
#include "efl_input_interface.eo.hh"
|
||||
#include "efl_input_key.eo.hh"
|
||||
#include "efl_input_pointer.eo.hh"
|
||||
#include "efl_loop.eo.hh"
|
||||
#include "efl_loop_consumer.eo.hh"
|
||||
#include "efl_object.eo.hh"
|
||||
#include "efl_ui_i18n.eo.hh"
|
||||
#ifndef EVAS_TABLE_FWD_GUARD
|
||||
#define EVAS_TABLE_FWD_GUARD
|
||||
namespace evas {
|
||||
struct Table;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Table> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Table&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Table const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Table const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CLASS_FWD_GUARD
|
||||
#define EFL_CLASS_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Class;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_COLOR_FWD_GUARD
|
||||
#define EFL_GFX_COLOR_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Color;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_DEVICE_FWD_GUARD
|
||||
#define EFL_INPUT_DEVICE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Device;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_ENTITY_FWD_GUARD
|
||||
#define EFL_GFX_ENTITY_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Entity;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_HINT_FWD_GUARD
|
||||
#define EFL_GFX_HINT_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Hint;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_FOCUS_FWD_GUARD
|
||||
#define EFL_INPUT_FOCUS_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Focus;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_HOLD_FWD_GUARD
|
||||
#define EFL_INPUT_HOLD_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Hold;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_UI_I18N_FWD_GUARD
|
||||
#define EFL_UI_I18N_FWD_GUARD
|
||||
namespace efl { namespace ui {
|
||||
struct I18n;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
#define EFL_INPUT_INTERFACE_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Interface;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_KEY_FWD_GUARD
|
||||
#define EFL_INPUT_KEY_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Key;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_FWD_GUARD
|
||||
#define EFL_LOOP_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
#define EFL_LOOP_CONSUMER_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Loop_Consumer;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_OBJECT_FWD_GUARD
|
||||
#define EFL_OBJECT_FWD_GUARD
|
||||
namespace efl {
|
||||
struct Object;
|
||||
}
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_GROUP_FWD_GUARD
|
||||
#define EFL_CANVAS_GROUP_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Group;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Group const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_MAPPING_FWD_GUARD
|
||||
#define EFL_GFX_MAPPING_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Mapping;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
#define EFL_CANVAS_OBJECT_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Object;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_CANVAS_POINTER_FWD_GUARD
|
||||
#define EFL_CANVAS_POINTER_FWD_GUARD
|
||||
namespace efl { namespace canvas {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_INPUT_POINTER_FWD_GUARD
|
||||
#define EFL_INPUT_POINTER_FWD_GUARD
|
||||
namespace efl { namespace input {
|
||||
struct Pointer;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
#ifndef EFL_GFX_STACK_FWD_GUARD
|
||||
#define EFL_GFX_STACK_FWD_GUARD
|
||||
namespace efl { namespace gfx {
|
||||
struct Stack;
|
||||
} }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack&> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const> : ::std::true_type {}; } }
|
||||
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const&> : ::std::true_type {}; } }
|
||||
#endif
|
||||
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
struct Table {
|
||||
::efl::eolian::return_traits<Evas_Object_Table_Homogeneous_Mode>::type homogeneous_get() const;
|
||||
::efl::eolian::return_traits<void>::type homogeneous_set( ::efl::eolian::in_traits<Evas_Object_Table_Homogeneous_Mode>::type homogeneous) const;
|
||||
::efl::eolian::return_traits<void>::type align_get( ::efl::eolian::out_traits<double>::type horizontal, ::efl::eolian::out_traits<double>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type align_set( ::efl::eolian::in_traits<double>::type horizontal, ::efl::eolian::in_traits<double>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type padding_get( ::efl::eolian::out_traits<int>::type horizontal, ::efl::eolian::out_traits<int>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type padding_set( ::efl::eolian::in_traits<int>::type horizontal, ::efl::eolian::in_traits<int>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type col_row_size_get( ::efl::eolian::out_traits<int>::type cols, ::efl::eolian::out_traits<int>::type rows) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type children_get() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type child_get( ::efl::eolian::in_traits< unsigned short>::type col, ::efl::eolian::in_traits< unsigned short>::type row) const;
|
||||
::efl::eolian::return_traits<void>::type clear( ::efl::eolian::in_traits<bool>::type clear) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type accessor_new() const;
|
||||
::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type iterator_new() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type add_to() const;
|
||||
::efl::eolian::return_traits<bool>::type pack_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::out_traits< unsigned short>::type col, ::efl::eolian::out_traits< unsigned short>::type row, ::efl::eolian::out_traits< unsigned short>::type colspan, ::efl::eolian::out_traits< unsigned short>::type rowspan) const;
|
||||
::efl::eolian::return_traits<bool>::type pack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned short>::type col, ::efl::eolian::in_traits< unsigned short>::type row, ::efl::eolian::in_traits< unsigned short>::type colspan, ::efl::eolian::in_traits< unsigned short>::type rowspan) const;
|
||||
::efl::eolian::return_traits<bool>::type unpack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<int>::type count() const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_TABLE_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Table *>(this))); }
|
||||
operator ::evas::Table() const;
|
||||
operator ::evas::Table&();
|
||||
operator ::evas::Table const&() const;
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Table, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Group, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Table const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Group const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
};
|
||||
}
|
||||
}
|
||||
namespace evas {
|
||||
struct Table : private ::efl::eo::concrete
|
||||
, EO_CXX_INHERIT(::efl::Loop_Consumer)
|
||||
, EO_CXX_INHERIT(::efl::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Group)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Object)
|
||||
, EO_CXX_INHERIT(::efl::canvas::Pointer)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Color)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Entity)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Hint)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Mapping)
|
||||
, EO_CXX_INHERIT(::efl::gfx::Stack)
|
||||
, EO_CXX_INHERIT(::efl::input::Interface)
|
||||
, EO_CXX_INHERIT(::efl::ui::I18n)
|
||||
{
|
||||
explicit Table( ::Eo* eo)
|
||||
: ::efl::eo::concrete(eo) {}
|
||||
Table(std::nullptr_t)
|
||||
: ::efl::eo::concrete(nullptr) {}
|
||||
explicit Table() = default;
|
||||
Table(Table const&) = default;
|
||||
Table(Table&&) = default;
|
||||
Table& operator=(Table const&) = default;
|
||||
Table& operator=(Table&&) = default;
|
||||
template <typename Derived>
|
||||
Table(Derived&& derived
|
||||
, typename std::enable_if<
|
||||
::efl::eo::is_eolian_object<Derived>::value
|
||||
&& std::is_base_of< Table, Derived>::value>::type* = 0)
|
||||
: ::efl::eo::concrete(derived._eo_ptr()) {}
|
||||
|
||||
Table( ::efl::eo::instantiate_t)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
|
||||
}
|
||||
template <typename T>
|
||||
explicit Table( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
|
||||
}
|
||||
template <typename F> Table( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Table >::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
template <typename T, typename F> Table( ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Table >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
|
||||
{
|
||||
::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
|
||||
}
|
||||
|
||||
::efl::eolian::return_traits<Evas_Object_Table_Homogeneous_Mode>::type homogeneous_get() const;
|
||||
::efl::eolian::return_traits<void>::type homogeneous_set( ::efl::eolian::in_traits<Evas_Object_Table_Homogeneous_Mode>::type homogeneous) const;
|
||||
::efl::eolian::return_traits<void>::type align_get( ::efl::eolian::out_traits<double>::type horizontal, ::efl::eolian::out_traits<double>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type align_set( ::efl::eolian::in_traits<double>::type horizontal, ::efl::eolian::in_traits<double>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type padding_get( ::efl::eolian::out_traits<int>::type horizontal, ::efl::eolian::out_traits<int>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type padding_set( ::efl::eolian::in_traits<int>::type horizontal, ::efl::eolian::in_traits<int>::type vertical) const;
|
||||
::efl::eolian::return_traits<void>::type col_row_size_get( ::efl::eolian::out_traits<int>::type cols, ::efl::eolian::out_traits<int>::type rows) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type children_get() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type child_get( ::efl::eolian::in_traits< unsigned short>::type col, ::efl::eolian::in_traits< unsigned short>::type row) const;
|
||||
::efl::eolian::return_traits<void>::type clear( ::efl::eolian::in_traits<bool>::type clear) const;
|
||||
::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type accessor_new() const;
|
||||
::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type iterator_new() const;
|
||||
::efl::eolian::return_traits< ::efl::canvas::Object>::type add_to() const;
|
||||
::efl::eolian::return_traits<bool>::type pack_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::out_traits< unsigned short>::type col, ::efl::eolian::out_traits< unsigned short>::type row, ::efl::eolian::out_traits< unsigned short>::type colspan, ::efl::eolian::out_traits< unsigned short>::type rowspan) const;
|
||||
::efl::eolian::return_traits<bool>::type pack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned short>::type col, ::efl::eolian::in_traits< unsigned short>::type row, ::efl::eolian::in_traits< unsigned short>::type colspan, ::efl::eolian::in_traits< unsigned short>::type rowspan) const;
|
||||
::efl::eolian::return_traits<bool>::type unpack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const;
|
||||
::efl::eolian::return_traits<int>::type count() const;
|
||||
static Efl_Class const* _eo_class()
|
||||
{
|
||||
return EVAS_TABLE_CLASS;
|
||||
}
|
||||
Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Table *>(this))); }
|
||||
/// @cond LOCAL
|
||||
::efl::eolian::address_of_operator<Table, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Group, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
|
||||
::efl::eolian::address_of_operator<Table const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Group const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
|
||||
/// @endcond
|
||||
::efl::eo::wref<Table> _get_wref() const { return ::efl::eo::wref<Table>(*this); }
|
||||
::efl::eo::concrete const& _get_concrete() const { return *this; }
|
||||
::efl::eo::concrete& _get_concrete() { return *this; }
|
||||
using ::efl::eo::concrete::_eo_ptr;
|
||||
using ::efl::eo::concrete::_release;
|
||||
using ::efl::eo::concrete::_reset;
|
||||
using ::efl::eo::concrete::_delete;
|
||||
using ::efl::eo::concrete::operator bool;
|
||||
#ifdef EFL_CXXPERIMENTAL
|
||||
const Table* operator->() const { return this; }
|
||||
Table* operator->() { return this; }
|
||||
operator Eo*() const { return _eo_ptr(); }
|
||||
#endif
|
||||
friend bool operator==(Table const& lhs, Table const& rhs)
|
||||
{ return lhs._get_concrete() == rhs._get_concrete(); }
|
||||
friend bool operator!=(Table const& lhs, Table const& rhs)
|
||||
{ return !(lhs == rhs); }
|
||||
};
|
||||
static_assert(sizeof(Table) == sizeof(Eo*), "");
|
||||
static_assert(std::is_standard_layout<Table>::value, "");
|
||||
}
|
||||
#endif
|
|
@ -0,0 +1,260 @@
|
|||
#ifndef EVAS_TABLE_IMPL_HH
|
||||
#define EVAS_TABLE_IMPL_HH
|
||||
|
||||
#include "evas_table_eo.hh"
|
||||
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Table_Homogeneous_Mode>::type Table::homogeneous_get() const
|
||||
{
|
||||
Evas_Object_Table_Homogeneous_Mode __return_value = ::evas_obj_table_homogeneous_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Table_Homogeneous_Mode>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::homogeneous_set( ::efl::eolian::in_traits<Evas_Object_Table_Homogeneous_Mode>::type homogeneous) const
|
||||
{
|
||||
::evas_obj_table_homogeneous_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Table_Homogeneous_Mode, ::efl::eolian::in_traits<Evas_Object_Table_Homogeneous_Mode>::type>(homogeneous));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::align_get( ::efl::eolian::out_traits<double>::type horizontal, ::efl::eolian::out_traits<double>::type vertical) const
|
||||
{
|
||||
double __out_param_horizontal = {};
|
||||
double __out_param_vertical = {};
|
||||
::evas_obj_table_align_get(_eo_ptr(),
|
||||
& __out_param_horizontal,
|
||||
& __out_param_vertical);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(horizontal, __out_param_horizontal);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(vertical, __out_param_vertical);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::align_set( ::efl::eolian::in_traits<double>::type horizontal, ::efl::eolian::in_traits<double>::type vertical) const
|
||||
{
|
||||
::evas_obj_table_align_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<double, ::efl::eolian::in_traits<double>::type>(horizontal),
|
||||
::efl::eolian::convert_to_c<double, ::efl::eolian::in_traits<double>::type>(vertical));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::padding_get( ::efl::eolian::out_traits<int>::type horizontal, ::efl::eolian::out_traits<int>::type vertical) const
|
||||
{
|
||||
int __out_param_horizontal = {};
|
||||
int __out_param_vertical = {};
|
||||
::evas_obj_table_padding_get(_eo_ptr(),
|
||||
& __out_param_horizontal,
|
||||
& __out_param_vertical);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(horizontal, __out_param_horizontal);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(vertical, __out_param_vertical);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::padding_set( ::efl::eolian::in_traits<int>::type horizontal, ::efl::eolian::in_traits<int>::type vertical) const
|
||||
{
|
||||
::evas_obj_table_padding_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(horizontal),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(vertical));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::col_row_size_get( ::efl::eolian::out_traits<int>::type cols, ::efl::eolian::out_traits<int>::type rows) const
|
||||
{
|
||||
int __out_param_cols = {};
|
||||
int __out_param_rows = {};
|
||||
::evas_obj_table_col_row_size_get(_eo_ptr(),
|
||||
& __out_param_cols,
|
||||
& __out_param_rows);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(cols, __out_param_cols);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(rows, __out_param_rows);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type Table::children_get() const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_obj_table_children_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Table::child_get( ::efl::eolian::in_traits< unsigned short>::type col, ::efl::eolian::in_traits< unsigned short>::type row) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_table_child_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(col),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(row));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::clear( ::efl::eolian::in_traits<bool>::type clear) const
|
||||
{
|
||||
::evas_obj_table_clear(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Eina_Bool, ::efl::eolian::in_traits<bool>::type>(clear));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type Table::accessor_new() const
|
||||
{
|
||||
Eina_Accessor * __return_value = ::evas_obj_table_accessor_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type Table::iterator_new() const
|
||||
{
|
||||
Eina_Iterator * __return_value = ::evas_obj_table_iterator_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Table::add_to() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_table_add_to(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Table::pack_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::out_traits< unsigned short>::type col, ::efl::eolian::out_traits< unsigned short>::type row, ::efl::eolian::out_traits< unsigned short>::type colspan, ::efl::eolian::out_traits< unsigned short>::type rowspan) const
|
||||
{
|
||||
unsigned short __out_param_col = {};
|
||||
unsigned short __out_param_row = {};
|
||||
unsigned short __out_param_colspan = {};
|
||||
unsigned short __out_param_rowspan = {};
|
||||
Eina_Bool __return_value = ::evas_obj_table_pack_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
& __out_param_col,
|
||||
& __out_param_row,
|
||||
& __out_param_colspan,
|
||||
& __out_param_rowspan);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned short>::type, unsigned short>(col, __out_param_col);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned short>::type, unsigned short>(row, __out_param_row);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned short>::type, unsigned short>(colspan, __out_param_colspan);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned short>::type, unsigned short>(rowspan, __out_param_rowspan);
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Table::pack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned short>::type col, ::efl::eolian::in_traits< unsigned short>::type row, ::efl::eolian::in_traits< unsigned short>::type colspan, ::efl::eolian::in_traits< unsigned short>::type rowspan) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_table_pack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(col),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(row),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(colspan),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(rowspan));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Table::unpack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_table_unpack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Table::count() const
|
||||
{
|
||||
int __return_value = ::evas_obj_table_count(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
}
|
||||
namespace eo_cxx {
|
||||
namespace evas {
|
||||
inline ::efl::eolian::return_traits<Evas_Object_Table_Homogeneous_Mode>::type Table::homogeneous_get() const
|
||||
{
|
||||
Evas_Object_Table_Homogeneous_Mode __return_value = ::evas_obj_table_homogeneous_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Evas_Object_Table_Homogeneous_Mode>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::homogeneous_set( ::efl::eolian::in_traits<Evas_Object_Table_Homogeneous_Mode>::type homogeneous) const
|
||||
{
|
||||
::evas_obj_table_homogeneous_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Evas_Object_Table_Homogeneous_Mode, ::efl::eolian::in_traits<Evas_Object_Table_Homogeneous_Mode>::type>(homogeneous));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::align_get( ::efl::eolian::out_traits<double>::type horizontal, ::efl::eolian::out_traits<double>::type vertical) const
|
||||
{
|
||||
double __out_param_horizontal = {};
|
||||
double __out_param_vertical = {};
|
||||
::evas_obj_table_align_get(_eo_ptr(),
|
||||
& __out_param_horizontal,
|
||||
& __out_param_vertical);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(horizontal, __out_param_horizontal);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<double>::type, double>(vertical, __out_param_vertical);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::align_set( ::efl::eolian::in_traits<double>::type horizontal, ::efl::eolian::in_traits<double>::type vertical) const
|
||||
{
|
||||
::evas_obj_table_align_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<double, ::efl::eolian::in_traits<double>::type>(horizontal),
|
||||
::efl::eolian::convert_to_c<double, ::efl::eolian::in_traits<double>::type>(vertical));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::padding_get( ::efl::eolian::out_traits<int>::type horizontal, ::efl::eolian::out_traits<int>::type vertical) const
|
||||
{
|
||||
int __out_param_horizontal = {};
|
||||
int __out_param_vertical = {};
|
||||
::evas_obj_table_padding_get(_eo_ptr(),
|
||||
& __out_param_horizontal,
|
||||
& __out_param_vertical);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(horizontal, __out_param_horizontal);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(vertical, __out_param_vertical);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::padding_set( ::efl::eolian::in_traits<int>::type horizontal, ::efl::eolian::in_traits<int>::type vertical) const
|
||||
{
|
||||
::evas_obj_table_padding_set(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(horizontal),
|
||||
::efl::eolian::convert_to_c<int, ::efl::eolian::in_traits<int>::type>(vertical));
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::col_row_size_get( ::efl::eolian::out_traits<int>::type cols, ::efl::eolian::out_traits<int>::type rows) const
|
||||
{
|
||||
int __out_param_cols = {};
|
||||
int __out_param_rows = {};
|
||||
::evas_obj_table_col_row_size_get(_eo_ptr(),
|
||||
& __out_param_cols,
|
||||
& __out_param_rows);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(cols, __out_param_cols);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(rows, __out_param_rows);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type Table::children_get() const
|
||||
{
|
||||
Eina_List * __return_value = ::evas_obj_table_children_get(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::list< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Table::child_get( ::efl::eolian::in_traits< unsigned short>::type col, ::efl::eolian::in_traits< unsigned short>::type row) const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_table_child_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(col),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(row));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<void>::type Table::clear( ::efl::eolian::in_traits<bool>::type clear) const
|
||||
{
|
||||
::evas_obj_table_clear(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c<Eina_Bool, ::efl::eolian::in_traits<bool>::type>(clear));
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type Table::accessor_new() const
|
||||
{
|
||||
Eina_Accessor * __return_value = ::evas_obj_table_accessor_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::accessor< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type Table::iterator_new() const
|
||||
{
|
||||
Eina_Iterator * __return_value = ::evas_obj_table_iterator_new(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::eina::iterator< ::efl::canvas::Object>>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits< ::efl::canvas::Object>::type Table::add_to() const
|
||||
{
|
||||
::Efl_Canvas_Object* __return_value = ::evas_obj_table_add_to(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::canvas::Object>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Table::pack_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::out_traits< unsigned short>::type col, ::efl::eolian::out_traits< unsigned short>::type row, ::efl::eolian::out_traits< unsigned short>::type colspan, ::efl::eolian::out_traits< unsigned short>::type rowspan) const
|
||||
{
|
||||
unsigned short __out_param_col = {};
|
||||
unsigned short __out_param_row = {};
|
||||
unsigned short __out_param_colspan = {};
|
||||
unsigned short __out_param_rowspan = {};
|
||||
Eina_Bool __return_value = ::evas_obj_table_pack_get(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
& __out_param_col,
|
||||
& __out_param_row,
|
||||
& __out_param_colspan,
|
||||
& __out_param_rowspan);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned short>::type, unsigned short>(col, __out_param_col);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned short>::type, unsigned short>(row, __out_param_row);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned short>::type, unsigned short>(colspan, __out_param_colspan);
|
||||
::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned short>::type, unsigned short>(rowspan, __out_param_rowspan);
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Table::pack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child, ::efl::eolian::in_traits< unsigned short>::type col, ::efl::eolian::in_traits< unsigned short>::type row, ::efl::eolian::in_traits< unsigned short>::type colspan, ::efl::eolian::in_traits< unsigned short>::type rowspan) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_table_pack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(col),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(row),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(colspan),
|
||||
::efl::eolian::convert_to_c<unsigned short, ::efl::eolian::in_traits< unsigned short>::type>(rowspan));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<bool>::type Table::unpack( ::efl::eolian::in_traits< ::efl::canvas::Object>::type child) const
|
||||
{
|
||||
Eina_Bool __return_value = ::evas_obj_table_unpack(_eo_ptr(),
|
||||
::efl::eolian::convert_to_c< ::Efl_Canvas_Object*, ::efl::eolian::in_traits< ::efl::canvas::Object>::type>(child));
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
|
||||
}
|
||||
inline ::efl::eolian::return_traits<int>::type Table::count() const
|
||||
{
|
||||
int __return_value = ::evas_obj_table_count(_eo_ptr());
|
||||
return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
|
||||
}
|
||||
inline evas::Table::operator ::evas::Table() const { return *static_cast< ::evas::Table const*>(static_cast<void const*>(this)); }
|
||||
inline evas::Table::operator ::evas::Table&() { return *static_cast< ::evas::Table*>(static_cast<void*>(this)); }
|
||||
inline evas::Table::operator ::evas::Table const&() const { return *static_cast< ::evas::Table const*>(static_cast<void const*>(this)); }
|
||||
} }
|
||||
#endif
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue