Evas text: Add legacy filter APIs
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 29 Feb 2016 06:47:36 +0000 (15:47 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 2 Mar 2016 03:57:23 +0000 (12:57 +0900)
Those should now be considered stable, even if their internals
may change. Also, these APIs are in Tizen so adding these will
help merging Tizen EFL and upstream.

src/lib/evas/canvas/evas_object_text.c

index 70f527f..0820b60 100644 (file)
@@ -2342,6 +2342,18 @@ _evas_text_efl_gfx_filter_filter_program_set(Eo *obj, Evas_Text_Data *pd EINA_UN
    eo_do_super(obj, MY_CLASS, efl_gfx_filter_program_set(code, name));
 }
 
+EAPI void
+evas_object_text_filter_program_set(Evas_Object *obj, const char *code, const char *name)
+{
+   eo_do(obj, efl_gfx_filter_program_set(code, name));
+}
+
+EAPI void
+evas_object_text_filter_source_set(Evas_Object *obj, const char *name, Evas_Object *source)
+{
+   eo_do(obj, efl_gfx_filter_source_set(name, source));
+}
+
 EOLIAN static void
 _evas_text_evas_object_paragraph_direction_set(Eo *eo_obj, Evas_Text_Data *o, Evas_BiDi_Direction dir)
 {