elementary: add internal Efl_Ui_Model_Average.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 11 Jan 2019 00:40:25 +0000 (16:40 -0800)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 31 Jan 2019 03:45:42 +0000 (12:45 +0900)
commitc48532b6f92d8633b1218dd6fc5a45f988b164cf
tree72e6e7fe329d49165775220a028e5d5110af06b2
parent679d99bc53a0c0cae7231c8d7b816e92d82c029d
elementary: add internal Efl_Ui_Model_Average.

This model enable View that require to compute the size of their item
to rely on its logic to store all items size independently. It has the
same interface as the Homogeneous and should be exchangeable for a View.
It provide an average total size at all time. It use Efl.Ui.Model_Exact
to do most of the work and is a good example on how to alter a Model
logic.

Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7661
src/Makefile_Elementary.am
src/lib/elementary/efl_ui_model_average.c [new file with mode: 0644]
src/lib/elementary/efl_ui_model_average.eo [new file with mode: 0644]
src/lib/elementary/elm_priv.h
src/lib/elementary/meson.build