Xavi Artigas
792db6f59b
Whitespace
2017-12-04 18:01:49 +01:00
Xavi Artigas
c106ec6d44
Proper renaming of vars and methods
...
To reflect what they really are. I was confused for a while about loops and FDs.
2017-12-04 09:47:44 +01:00
Xavi Artigas
f16cef85db
Minor cosmetic fixes to core_io
2017-12-04 09:47:44 +01:00
Andy Williams
fc7503113a
apps: Add first pass Game of Life :)
2017-12-01 22:27:35 +00:00
Andy Williams
f6dd1b7ab3
texteditor: Add a "new" button
...
Also make the textarea multiline... oops
2017-11-30 11:04:58 +00:00
Andy Williams
93af3a55ae
texteditor: Better simulate a toolbar until we have one ready
2017-11-30 11:04:58 +00:00
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
6be0a68c19
apps: Add a first app WiP - texteditor
2017-11-29 14:50:07 +00:00
Andy Williams
bc275959dd
core: Add Efl_Io_File example into efl-core reference
...
Refactor the copier code into a separate method for clarity.
2017-11-28 09:21:09 +00:00
Jaehyun Cho
379d7cc128
examples: Add popup cxx example
2017-11-28 17:15:42 +09:00
Andy Williams
c41c0cc319
Merge branch 'master' into devs/xartigas/tutorials
2017-11-27 14:00:02 +00:00
Andy Williams
326f860e39
hello-gui: Simplify gui basic example
2017-11-27 13:50:38 +00:00
Andy Williams
d4beab8013
ui: Add containers reference
2017-11-27 13:18:42 +00:00
Xavi Artigas
17032f60a3
Simplify core_io example
...
No need to unref src and dst since copier does that.
No need to unref copier since it is a child of main loop.
And therefore, no need to use EFL_MAIN_EX().
2017-11-27 12:39:04 +01:00
Xavi Artigas
e134283999
Minor tweaks to simplify the loop example
2017-11-24 17:32:11 +01:00
Andy Williams
597ba6d98c
ui: Add a new sizing example - much nicer using the new pack capabilities
2017-11-24 14:18:20 +00:00
Lauro Moura
e4c1d11e1f
elementary: fix compilation of cxx examples
...
Summary: Missing ecore_con library
Reviewers: felipealmeida, jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5517
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-11-23 15:34:54 -08:00
Andy Williams
231d1f08f6
Merge branch 'devs/xartigas/tutorials'
2017-11-22 15:42:35 +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
Andy Williams
4f12494667
core: Tidy up some core example variables
2017-11-22 14:39:45 +00:00
Andy Williams
e58ac7d5c8
core: Add a polling example
2017-11-22 14:32:32 +00:00
Andy Williams
07c0c68cc7
core: Add idler reference
2017-11-22 13:11:38 +00:00
Andy Williams
8035919a32
net: Add a simple net_io example simulating an HTTP client
...
We connect to a remote host and execute a HEAD request and print the response
2017-11-22 11:41:55 +00:00
Andy Williams
9549086432
core: Add mising summary
2017-11-21 19:10:05 +00:00
Andy Williams
b6c382900c
core: Add an io example (copier)
2017-11-21 19:07:45 +00:00
Andy Williams
981d59e32d
core: Add first efl_core reference, loop
2017-11-21 18:45:33 +00:00
Jean-Philippe Andre
015a1eb27e
cxx: Fix slider example (bad downcast)
2017-11-20 20:42:39 +09:00
Jean-Philippe Andre
7a8880cda4
cxx: Disable spinner example (broken)
...
A new API for spinner is coming soon. This example code is now broken
since my change on Efl.Content vs. Efl.Container.
2017-11-20 20:31:07 +09:00
Jean-Philippe Andre
133b49be57
efl: Split Efl.Container and Efl.Content
...
When I first implemented the Efl.Container interface I made a mistake of
mixing "single slot" content API's with "multiple children" content
API's. This should fix that, by separating API's that are for a single
part and those that deal with a list of children.
Efl.Content: Single slot. This will be used a lot by efl_part()
objects, and for the default content of widgets (eg. the window
content).
Efl.Container: Multiple children. Used by lists, boxes, layouts
(edje/elm), etc...
I didn't see any class that implemented both interfaces (note: Layout
implements Container and Button implements Content, so technically
Button implements both through inheritance).
For now the eo_prefix is not changed in Efl.Container. I wonder if it
should be reset (to efl_container) or not. This would only affect the C
API.
Ref T5328
2017-11-20 19:02:09 +09: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
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
Jean-Philippe Andre
d267a3beaa
win: Rename specific APIs to avoid clashes
...
This renames 3 basic APIs specific to Win:
- name
- type
- role
Ref T5322
2017-11-16 19:11:51 +09: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