summaryrefslogtreecommitdiff
path: root/src/Makefile_Efl.am
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-12 16:20:54 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-20 10:47:40 +0900
commit24eccb6d62dc8de443bbd3db8f0d61248a170cf2 (patch)
tree770f9de1c3eaa04cca263809b935e8f55f1c1aca /src/Makefile_Efl.am
parent94228d2683df57ef3ef3299ce6f686c589679773 (diff)
Efl.Ui.Box: Implement way to override layout function
So, since we don't have function pointers, all the solutions to reimplementing the layout function are quite convoluted: 1. use events 2. reimplement layout func 3. use an extra object 4. use a generic class (non instanciated) Promises don't apply here (layout will run multiple times). Problems: 1. Multiple event callbacks will be called, resulting in potential performance impact, extra events, etc... Also, there is no way to define standard implementations that would be provided by the framework. 2. Reimplementation of a function requires extra EO work (create an EO class, etc...), doesn't allow on-the-fly change of the layout method. 3. Probably the best solution is to have an object implementing the layout. But this means creating an extra object along with the container. 4. To avoid the extra object, use a class, and reimplement a @class function. This unfortunately requires extra EO work. Solution 4. has been selected, but it's not very nice...
Diffstat (limited to 'src/Makefile_Efl.am')
-rw-r--r--src/Makefile_Efl.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am
index d0ef34bb15..6c1d678490 100644
--- a/src/Makefile_Efl.am
+++ b/src/Makefile_Efl.am
@@ -26,6 +26,7 @@ efl_eolian_files = \
26 lib/efl/interfaces/efl_orientation.eo \ 26 lib/efl/interfaces/efl_orientation.eo \
27 lib/efl/interfaces/efl_flipable.eo \ 27 lib/efl/interfaces/efl_flipable.eo \
28 lib/efl/interfaces/efl_pack.eo \ 28 lib/efl/interfaces/efl_pack.eo \
29 lib/efl/interfaces/efl_pack_engine.eo \
29 lib/efl/interfaces/efl_pack_linear.eo \ 30 lib/efl/interfaces/efl_pack_linear.eo \
30 lib/efl/interfaces/efl_pack_grid.eo \ 31 lib/efl/interfaces/efl_pack_grid.eo \
31 lib/efl/interfaces/efl_pack_named.eo \ 32 lib/efl/interfaces/efl_pack_named.eo \