aboutsummaryrefslogtreecommitdiffstats
path: root/data/elementary/images/image_items.eet
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-11-09 17:53:20 +0200
committerCedric BAIL <cedric@osg.samsung.com>2018-01-18 10:20:28 -0800
commit4a905a22a485388a5e4ba9fb25ff5ca381420ba7 (patch)
tree213dc03c164320ebd8edd7e5959fc31a9706c629 /data/elementary/images/image_items.eet
parentEdje: remove item provider from eo api (diff)
downloadefl-4a905a22a485388a5e4ba9fb25ff5ca381420ba7.tar.gz
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 '')
-rw-r--r--data/elementary/images/image_items.eetbin0 -> 573646 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/data/elementary/images/image_items.eet b/data/elementary/images/image_items.eet
new file mode 100644
index 0000000000..1db45dfaa3
--- /dev/null
+++ b/data/elementary/images/image_items.eet
Binary files differ