#include "edje_part_helper.h"
#define MY_CLASS EFL_CANVAS_LAYOUT_INTERNAL_CLASS
+PROXY_IMPLEMENTATION(other, INTERNAL, EINA_FALSE)
+#undef PROXY_IMPLEMENTATION
+
PROXY_INIT(box)
PROXY_INIT(table)
PROXY_INIT(swallow)
PROXY_INIT(external)
+PROXY_INIT(other)
void
_edje_internal_proxy_shutdown(void)
_table_shutdown();
_swallow_shutdown();
_external_shutdown();
+ _other_shutdown();
}
void
#include "../evas/canvas/evas_box.eo.h"
-PROXY_IMPLEMENTATION(box, BOX, EINA_FALSE)
+PROXY_IMPLEMENTATION(box, INTERNAL_BOX, EINA_FALSE)
#undef PROXY_IMPLEMENTATION
typedef struct _Part_Item_Iterator Part_Item_Iterator;
ERR("Found invalid handle for efl_part. Reset."); \
_ ## type ## _proxy = NULL; \
} \
- proxy = efl_add(MY_CLASS, ed->obj, \
+ proxy = efl_add(EFL_CANVAS_LAYOUT_##TYPE##_CLASS, ed->obj, \
_edje_real_part_set(efl_added, ed, rp, rp->part->name)); \
__VA_ARGS__; \
if (!no_del_cb) efl_del_intercept_set(proxy, _ ## type ## _del_cb); \
#include "efl_canvas_layout_internal_swallow.eo.h"
#define MY_CLASS EFL_CANVAS_LAYOUT_INTERNAL_SWALLOW_CLASS
-PROXY_IMPLEMENTATION(swallow, SWALLOW, EINA_FALSE)
+PROXY_IMPLEMENTATION(swallow, INTERNAL_SWALLOW, EINA_FALSE)
#undef PROXY_IMPLEMENTATION
/* Swallow parts */
#include "../evas/canvas/evas_table.eo.h"
-PROXY_IMPLEMENTATION(table, TABLE, EINA_FALSE)
+PROXY_IMPLEMENTATION(table, INTERNAL_TABLE, EINA_FALSE)
#undef PROXY_IMPLEMENTATION
typedef struct _Part_Item_Iterator Part_Item_Iterator;
Evas_Event_Flags _edje_real_part_mask_flags_get(Edje *ed, Edje_Real_Part *rp);
void _edje_real_part_mask_flags_set(Edje *ed, Edje_Real_Part *rp, Evas_Event_Flags mask_flags);
+/* part proxy */
+Eo *_edje_other_internal_proxy_get(Edje_Object *obj, Edje *ed, Edje_Real_Part *rp);
+
/* part containers: box */
Eo *_edje_box_internal_proxy_get(Edje_Object *obj, Edje *ed, Edje_Real_Part *rp);
Eina_Bool _edje_part_box_append(Edje *ed, const char *part, Evas_Object *child);
return _edje_swallow_internal_proxy_get(obj, ed, rp);
else if (rp->part->type == EDJE_PART_TYPE_EXTERNAL)
return _edje_external_internal_proxy_get(obj, ed, rp);
- else return NULL; /* FIXME/TODO: text & others (color, ...) */
+ else
+ return _edje_other_internal_proxy_get(obj, ed, rp);
}
EOLIAN void