path: root/src/
diff options
authorDaniel Hirt <>2017-11-09 17:53:20 +0200
committerCedric BAIL <>2018-01-18 10:20:28 -0800
commit4a905a22a485388a5e4ba9fb25ff5ca381420ba7 (patch)
tree213dc03c164320ebd8edd7e5959fc31a9706c629 /src/
parent2eac0dd89d01544902d029604fe7328aca765c25 (diff)
Canvas image: add Efl.Canvas.Text.Factory + use in Ui.Text
This interface has a simple 'create' method to create Efl.Canvas.Object given a key. This is used higher-up in Ui.Text in the next commit. Ui text: add ability to set item factories Added API to set an item factory object. This is similar to the previous item providers (that worked with callbacks). You instantiate a factory object and set it on the Ui.Text object. Each factory implements the "create" method from Efl.Canvas.Text.Item_Factory. This also includes 3 public factories (Image, Emoticon and Fallback): - Image factory: creates images from added entries (key strings) - Emoticon factory: creates emoticons by querying the theme - Fallback: creates image, then falls back to emoticon If no factory is set, then the fallback (internal) factory is used. See the added "Ui.text Item Factory" test in elementary_test for an example of usage. @feature
Diffstat (limited to 'src/')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ b/src/
index 3629816..c26a978 100644
--- a/src/
+++ b/src/
@@ -7,6 +7,7 @@ evas_canvas_eolian_pub_files = \
7 lib/evas/canvas/efl_canvas_polygon.eo \ 7 lib/evas/canvas/efl_canvas_polygon.eo \
8 lib/evas/canvas/efl_canvas_rectangle.eo \ 8 lib/evas/canvas/efl_canvas_rectangle.eo \
9 lib/evas/canvas/efl_canvas_text.eo \ 9 lib/evas/canvas/efl_canvas_text.eo \
10 lib/evas/canvas/efl_canvas_text_factory.eo \
10 lib/evas/canvas/efl_canvas_group.eo \ 11 lib/evas/canvas/efl_canvas_group.eo \
11 lib/evas/canvas/efl_canvas_image_internal.eo \ 12 lib/evas/canvas/efl_canvas_image_internal.eo \
12 lib/evas/canvas/evas_canvas3d_camera.eo\ 13 lib/evas/canvas/evas_canvas3d_camera.eo\