Commit Graph

44 Commits

Author SHA1 Message Date
Marcel Hollerbach ddb06ddc1b meson: rename a few targets
this is in preparation for the next commit
2018-10-31 13:40:50 +01:00
Xavi Artigas d1e530d256 Moved focus example to proper place
Summary: It is a guide, not a tutorial.

Reviewers: vitor.sousa, lauromoura

Reviewed By: vitor.sousa

Differential Revision: https://phab.enlightenment.org/D7055
2018-09-18 12:43:11 -03:00
Xavi Artigas ad93666875 C# Hello Gui tutorial: bring it closer to the C version
Summary:
Configure all widgets inside their constructors and a couple more minor things
to make the C# Hello Gui more similar to the C version, which should simplify
the tutorial.

Reviewers: lauromoura, vitor.sousa

Reviewed By: vitor.sousa

Differential Revision: https://phab.enlightenment.org/D6906
2018-08-24 11:42:01 -03:00
Xavi Artigas 006760cdf6 C# Hello World tutorial
Summary: This is the first C# tutorial: Hello World. It just creates a window.

Reviewers: vitor.sousa, lauromoura

Reviewed By: vitor.sousa

Differential Revision: https://phab.enlightenment.org/D6900
2018-08-23 13:33:47 -03:00
Xavi Artigas f6cc19575f csharp tutorials: Add comments to hello-world-gui
Reviewers: lauromoura, vitor.sousa

Reviewed By: vitor.sousa

Differential Revision: https://phab.enlightenment.org/D6892
2018-08-22 10:23:15 -03:00
Lauro Moura 62ca316375 csharp: Fix gui_main.cs compilation.
Summary:
- Removed the Concrete suffixes
- Changed interfaces to IFoobar
- Event names are now camelcase with 'Evt' suffix
- Methods with the same name as its class are prefixed with 'Do'
  due to C# CamelCase methods (Pack.Pack -> Pack.DoPack)
- Updated efl.ui.win.Type to efl.ui.Win_Type after API renaming

Reviewers: segfaultxavi, felipealmeida

Reviewed By: segfaultxavi

Differential Revision: https://phab.enlightenment.org/D6508
2018-07-13 10:13:02 -03:00
Xavi Artigas aa68b683e5 tutorials: Fix C# eo_intro
Summary: Adapt to API changes plus some other issues (has this ever built for anyone?).

Reviewers: lauromoura, felipealmeida

Differential Revision: https://phab.enlightenment.org/D6505
2018-07-04 15:01:27 +02:00
Xavi Artigas 33dad0d59c Update examples to efl_new / efl_add / efl_add_ref
Reviewers: cedric, q66, bu5hm4n

Reviewed By: cedric, bu5hm4n

Differential Revision: https://phab.enlightenment.org/D6058
2018-05-25 10:17:51 -07:00
Xavi Artigas 4a8b562a40 Update examples after EFL API rename
Differential Revision: https://phab.enlightenment.org/D6002
2018-05-01 13:21:12 -04:00
Xavi Artigas 0448e6cfa4 Update examples to latest EFL API
Summary:
Some of the EFL tutorials are not currently building due to changes in the API :
* const Eo* in getters.
* Efl.Loop -> Efl.App
* efl_net_session_name -> efl_net_session_network_name

Reviewers: cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D5977
2018-04-23 13:35:36 -07:00
Carsten Haitzler bc7793f138 update examples to match args change 2018-03-11 04:46:47 +09:00
Vitor Sousa e989e18864 eo_mono: add eo-intro tutorial for C# 2018-02-26 14:09:07 -03:00
Vitor Sousa 0e7a34e074 ui_mono: Add hello-gui and focus tutorials for C# 2018-02-09 19:06:13 -02:00
Xavi Artigas 2c0fb1cb00 Simplify focus example and add Meson 2018-01-02 16:28:30 +01:00
Marcel Hollerbach 0cf89de464 added a focus example 2017-12-19 17:27:31 +01:00
Andy Williams 0a95fa88b2 Merge branch 'devs/xartigas/tutorials' 2017-12-12 11:00:47 +00:00
Andy Williams 9cbbb37750 lifecycle_ui: Add almost-working lifecycle gui demo
This is pending some Elm fixes to function correctly
2017-12-12 10:56:17 +00:00
Xavi Artigas 37a5123360 Simplified lifecycle example
When window minimization works, we can remove the simulation code or create
another example.
2017-12-12 11:45:30 +01:00
Andy Williams c99595e00a Let's use the window callback to avoid elm_policy needs 2017-12-07 12:39:59 +00:00
Andy Williams 36b64dfca1 hello-gui: Reduce to a minimal Efl.Ui app 2017-12-06 13:12:07 +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 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