Commit Graph

63 Commits

Author SHA1 Message Date
Andy Williams 13fb2b4b1b eina: Add a little more documentation for our examples 2017-11-16 15:13:01 +00:00
Andy Williams a688d5a1af eina: Add str/strbuf/stringshare reference examples 2017-11-16 12:39:52 +00:00
Andy Williams e45396c48d eina: Add custom eina_value reference using timezone 2017-11-16 09:52:34 +00:00
Andy Williams 866bfc8a49 eina: Add struct value reference 2017-11-16 08:53:54 +00:00
Andy Williams fb84558bde eina: Add a first pass for value reference 2017-11-15 21:43:51 +00:00
Andy Williams badb4f912e eina: Add an int hash to the reference 2017-11-15 18:57:07 +00:00
Andy Williams 14b77cfe82 build: Update to match headers with deps 2017-11-15 18:25:15 +00: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 22f356282b eina: depends only on efl_core. 2017-11-14 14:32:39 -08:00
Cedric BAIL 2d94f1ce3b cmdline: rely on Efl_Core.h only. 2017-11-14 14:09:13 -08:00
Cedric BAIL a45f16f5d1 eina: we can now rely solely on Efl_Core.h 2017-11-14 14:07:54 -08:00
Cedric BAIL 5cd1e7fd27 eina: add an example of EINA_ITERATOR_FOREACH in the iterator references code. 2017-11-14 13:39:59 -08:00
Cedric BAIL a082087b84 eina: improve Eina_Hash example by using EINA_ITERATOR_FOREACH macro. 2017-11-14 13:39:29 -08:00
Andy Williams f10e9e9413 Add a first pass Eina_Hash reference as well 2017-11-14 17:28:42 +00:00
Andy Williams b8a5fc8d9a eina: shorter file names - thye don't all need to be _main.c 2017-11-14 16:15:29 +00:00
Andy Williams 9d06cb5923 eina: Add a list reference example 2017-11-14 14:45:44 +00:00
Andy Williams d89bd6fb61 eina: Add an array reference example 2017-11-14 13:31:39 +00:00
Andy Williams e29ed754fc eina: Move to a reference dir per namespace 2017-11-14 12:18:39 +00:00
Andy Williams 9c6395967a eina_iterator: Fix language for iterator printing 2017-11-14 12:12:09 +00: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
Andy Williams ad5287a9e3 eina-iterator: Add first reference example 2017-11-09 18:46:02 +00:00
Andy Williams 632662aeee Move examples into examples/c/ and rename them to remove the extra namespace 2017-11-09 18:18:52 +00:00
Andy Williams a9a0bd4d5a c-eo-classes: Fix out of dir build 2017-11-09 16:14:30 +00:00
Xavi Artigas 20d06678ec Proper capitalization 2017-11-09 12:30:51 +01:00
Xavi Artigas 1f73f7e3aa Split eo-intro into two examples
This eases the tutorials.
2017-11-09 11:52:29 +01:00
Xavi Artigas b1d7440a6e Use efl_unref instead of efl_del for simplicity
It is easier to explain in the tutorials.
2017-11-08 12:25:27 +01:00
Xavi Artigas cb1ccc372c Fix indentation 2017-11-08 10:38:29 +01:00
Xavi Artigas 54fe5e8945 Small method rename for consistency 2017-11-08 10:38:29 +01:00
Andy Williams b3f6e19657 Update to efl_ref_count 2017-11-08 09:34:28 +00:00
Andy Williams c2fd813ea6 eo-classes: Add an example using eolian to define a class heirarchy 2017-11-07 17:35:34 +00:00
Xavi Artigas 84383a46c4 Remove tracking of "finalized" during construction
It is a bit off-topic for this tutorial
2017-11-07 10:52:37 +01:00
Xavi Artigas 76695cb1c7 Cosmetic changes to ease step-by-step tutorial
Otherwise, each step of the tutorial needed to change too much from previous step.
2017-11-07 10:27:31 +01:00
Xavi Artigas 6ecd94ecce eo-intro: Simplify and prettify output
And add comments
2017-11-06 13:42:52 +01:00
Andy Williams 756ea2231e eo-intro: Clean up callbacks 2017-11-06 10:39:37 +00:00
Andy Williams 213277ef74 Add event handling to eo-intro 2017-11-03 18:14:13 +00:00
Andy Williams 6794ec7e62 print referenec counts instead, a little more human readable 2017-11-03 17:40:50 +00:00
Andy Williams e2d0cbf52a Add first pass Eo intro example 2017-11-03 17:20:33 +00:00
Andy Williams eb05a8b520 Remove unneeded config references 2017-11-03 17:19:46 +00:00
Andy Williams c6db404395 Remove config.h from our examples, it is not needed
We do still need BETA defines, move them to the code for now
2017-10-31 16:51:52 +00:00