Commit Graph

24 Commits

Author SHA1 Message Date
Cedric Bail 91934fe8ec lifecycle: EAPI_MAIN need to be used as it is an application symbol, not a library one. 2017-11-30 02:48:27 -08:00
Andy Williams 326f860e39 hello-gui: Simplify gui basic example 2017-11-27 13:50:38 +00:00
Xavi Artigas 19b15a1f04 Adapt code to tutorial text
Minor modifications that make the code easier to explain.
2017-11-22 16:08:11 +01:00
Xavi Artigas 74cd796cba Adapt source code to tutorial text
Minor modifications only. The header file grouping all headers will be
introduced in the multiinherit tutorial, along with the shape interface.
2017-11-20 10:36:28 +01:00
Andy Williams 1acb71b216 Add a colored mixin so we can talk about multiple inheritance 2017-11-17 16:46:59 +00:00
Andy Williams 6e78b6caa3 eo-multiinherit: Clone from eo-inherit before interface removal
Mixins still to come
2017-11-17 15:37:35 +00:00
Andy Williams 09ff6b7b62 eo-inherit: Remove the interface as we will explain that in multiinherit 2017-11-17 15:35:45 +00:00
Andy Williams 399efc52fb Merge branch 'devs/xartigas/tutorials' 2017-11-17 11:48:02 +00:00
Andy Williams 4709a4d366 build: Assume latest eolian which knows system locations 2017-11-17 11:18:39 +00:00
Xavi Artigas 6b8dac2677 Ehem... do not leak the test objects 2017-11-16 18:39:06 +01:00
Andy Williams 0782aa5671 build: Update deps to efl-core 2017-11-15 18:22:44 +00:00
Andy Williams 4a12c6f802 efl_ui: Update deps and includes to match
Also don't worry about multiple efl deps - just grab the one you need
2017-11-15 18:05:20 +00:00
Xavi Artigas ae932ce226 Simplify eo-inherit even more
Square does not need "side", can use the parent's setters to make sure width=height always.
2017-11-15 18:20:42 +01:00
Xavi Artigas 1e380eace9 Reorganize inheritance example
Added circle to illustrate shape interface
Removed shape interface from square, since it inherits from rectangle.
Removed square private data and use its parent's data through the public accessors.
Do not overwrite rectangle's accessors in square, only define the new side.
Removed class cons/destructors which are not used (tutorial is complex enough)
Removed color property from interface (tutorial is complex enough)
2017-11-15 16:02:37 +01:00
Xavi Artigas 4380baece8 Split eo-classes in two: classes and inherit
This simplifies the first tutorial (classes).
2017-11-15 11:55:04 +01:00
Cedric BAIL 269519a369 hello-gui: depends on Efl_Ui.h 2017-11-14 16:37:38 -08:00
Cedric BAIL 12ae9924a3 cmdline: depend on efl-core actually. 2017-11-14 14:41:12 -08:00
Cedric BAIL 2d94f1ce3b cmdline: rely on Efl_Core.h only. 2017-11-14 14:09:13 -08:00
Andy Williams 4c360bb660 c-lib: Remove OS path separator from meson 2017-11-14 11:53:21 +00:00
Andy Williams 693845d2cc eo-classes: Update meson usage to build correct paths 2017-11-14 11:48:57 +00:00
Xavi Artigas 1f0b3626ba Remove eo_prefix
In this small example it is not necessary, so the tutorial is simpler.
2017-11-14 11:05:29 +01:00
Andy Williams bbad6e9923 eo-classes: Use a single header from all c files 2017-11-10 12:16:54 +00:00
Andy Williams 782edcff12 eo-classes: Update includes to be as designed 2017-11-10 11:13:24 +00:00
Andy Williams 0e754f1684 Correct name for tutorial folder 2017-11-10 10:51:57 +00:00