efl/src/lib/efl
Daniel Hirt 4a905a22a4 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
2018-01-18 10:20:28 -08:00
..
cxx eo: Move hacky API auto_unref to C only 2017-12-05 15:06:34 +09:00
interfaces Canvas image: add Efl.Canvas.Text.Factory + use in Ui.Text 2018-01-18 10:20:28 -08:00
.gitignore CMake: rework to use some helper macros. 2017-01-23 18:23:40 +01:00
CMakeLists.txt efl: Merge Flipable and Orientation 2018-01-18 17:29:28 +09:00
Efl.h all: Simplify definition of EAPI 2018-01-18 18:04:03 +09:00
Efl.hh cxx: Use per-function guards in efl object 2017-12-05 15:01:45 +09:00
Efl_Config.h.cmake cmake: sync EFL_EO_API_SUPPORT definition with autotools. 2017-02-03 12:36:50 -02:00
Efl_Config.h.in Add "--with-id" configure option that can be used to specify a 2013-11-04 22:12:12 +09:00
Efl_Model_Common.h efl: add since tag to new invalid object error type 2017-02-14 21:47:15 +01:00
config.h.cmake cmake: add ector. 2017-01-27 10:56:02 -02:00