Commit Graph

34 Commits

Author SHA1 Message Date
Xavi Artigas f835d45622 mono calculator: fix font size of main screen
Apparently setting editable=false resets the font size.
While we investigate that, this is a workaround.
2020-02-20 18:57:35 +01:00
Xavi Artigas 5f1be675ee mono-examples: Adapt to latest syntax
Setter and Getters have disappeared. Now everything is accessed through properties like:
Text, Disabled, Autohide, Color, Orientation, ContentPadding, Size, ScrollableText, Align, Name.
Also the Life and Containers examples had several issues.
Text override from custom widgets is still not solved.
2020-02-20 18:48:55 +01:00
Xavi Artigas 6a470840d9 mono-examples: Adapt to latest syntax (EventArgs.arg -> Arg)
Also workaround some temporary inability to set struct members.
2020-02-07 09:49:57 +01:00
Ali Alzyod 870cda6730 EXAMPLES efl.text.style: reflect updates
Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Differential Revision: https://phab.enlightenment.org/D10898
2019-12-20 10:01:00 +01:00
Xavi Artigas be0ade4350 Adapt to latest Textbox changes 2019-12-17 16:34:34 +01:00
Xavi Artigas 6f183d62c2 Adapt to latest changes
Including removal of the manual inclusion of text headers!
2019-12-13 13:27:06 +01:00
Xavi Artigas cba451e99b More adaptation to latest Text changes
Previous fix relied on old headers still being present, which is not good.
2019-12-11 15:51:03 +01:00
Xavi Artigas aeaba83065 Adapt to latest Text changes 2019-12-09 15:46:27 +01:00
Xavi Artigas d57c8e2d28 Add documentation for C and C# calculator examples 2019-10-24 12:44:25 +02:00
Xavi Artigas f9486b6bfd Example C# calculator app
For simplicity, only integer operations and no direct editing of the numbers.
This is meant as a simple UI example, not as a CS exercise.
2019-10-24 10:54:17 +02:00
Lauro Moura b8f57276ef Initial version of demo MVVM app
Summary:
For now, a static model with a simple CollectionView.

The idea is to create a model that fetches some info from the web,
like weather forecast, and show it to the user.

Depends on D10300

Reviewers: SanghyeonLee, felipealmeida, cedric, bu5hm4n

Reviewed By: SanghyeonLee

Subscribers: brunobelo

Differential Revision: https://phab.enlightenment.org/D10302
2019-10-17 13:09:27 -03:00
Xavi Artigas 5a4c817d16 mono-examples: Use Del() to dispose of widgets 2019-09-09 22:10:43 +02:00
Xavi Artigas 40801d9285 mono-examples: adapt to latest bindings syntax 2019-09-06 16:10:16 +02:00
Xavi Artigas 5472a77fb3 mono-examples: adapt to latest bindings syntax 2019-09-06 16:01:45 +02:00
Xavi Artigas 93120a13f5 Adapt to latest changes in Efl.Ui.AlertPopup 2019-08-27 13:22:00 +02:00
Bruno da Silva Belo fa93b9f7c0 Fixing compiles errors from examples, c and c#.
Summary: Change from efl broke the compilation of examples, updating names to the new changes.

Reviewers: lauromoura, felipealmeida

Reviewed By: lauromoura

Differential Revision: https://phab.enlightenment.org/D9581
2019-08-16 15:31:38 -03:00
Lauro Moura 9ed9d94501 csharp: Make examples build again.
Summary: OnInitialize changed signature in D9178

Reviewers: vitor.sousa, segfaultxavi

Reviewed By: vitor.sousa

Differential Revision: https://phab.enlightenment.org/D9213
2019-06-28 20:04:38 -03:00
Xavi Artigas d325da2119 efl-mono: Efl.Ui.Dir -> Efl.Ui.LayoutOrientation 2019-06-14 12:25:26 +02:00
Xavi Artigas 836a9edf73 mono examples: Update to latest Efl.Ui.Clickable syntax 2019-05-15 12:01:16 +02:00
Lauro Moura 595be4aa12 csharp: Update examples after repeated method name
Summary:
In essence, IPack.DoPack became IPack.Pack

Depends on D8650

Reviewers: felipealmeida, vitor.sousa, segfaultxavi

Reviewed By: segfaultxavi

Differential Revision: https://phab.enlightenment.org/D8651
2019-04-23 12:33:00 +02:00
Xavi Artigas b55e5150c9 mono examples: Adapt to Efl.Csharp.Application
This class simplifies app development, so the examples have to showcase it.
Basically:
- Your app inherits form it
- You do not need to init() or shutdown()
- You override the methods you want (like OnInitialize).

Fixes T7655
Differential Revision: https://phab.enlightenment.org/D8477
2019-03-26 16:24:20 +01:00
Lauro Moura 735b848660 csharp: Changes after adding I to interfaces
Summary:
 Ref T7751
 Depends on D8397 in the EFL repo

Reviewers: segfaultxavi, vitor.sousa, felipealmeida

Reviewed By: segfaultxavi

Tags: #efl_language_bindings

Maniphest Tasks: T7751

Differential Revision: https://phab.enlightenment.org/D8398
2019-03-22 09:14:27 +01:00
Xavi Artigas 43bb6e3896 mono examples: Adapt to latest event names 2019-03-09 16:00:08 +01:00
Xavi Artigas 3e1aefa7ea Further fixes to adapt to latest API changes 2019-03-04 18:17:36 +01:00
Lauro Moura 780ebf91c5 examples: Changes after optional parameters
Summary:
After a new iteration of D7789, constructor parameters were split among
required and optionals.

This patch depends on making some Efl.Ui.Win parameters optional.

Reviewers: segfaultxavi, vitor.sousa

Reviewed By: vitor.sousa

Tags: #efl_language_bindings

Differential Revision: https://phab.enlightenment.org/D7851
2019-02-07 18:42:36 -02:00
Felipe Magno de Almeida 1d5a5322df efl-mono: Fix examples based on new D7789 2019-01-28 16:03:49 +09:00
Xavi Artigas 500049f1eb mono-examples: Adapt to latest syntax
Summary:
Removed initializer methods as much as possible to prepare
for when they are removed from the C# bindings.
No functional changes in the examples.
Tutorial text needs to be adapted now.

Test Plan: All examples work as before (the containers one is currently broken, FML).

Reviewers: lauromoura, felipealmeida, vitor.sousa

Reviewed By: lauromoura

Maniphest Tasks: T7508

Differential Revision: https://phab.enlightenment.org/D7695
2019-01-23 14:49:38 +01:00
Marcel Hollerbach a7c5ff510e Adapt examples to new App API
loop_main has been renamed to app_main.
2018-12-20 16:33:33 +01:00
Xavi Artigas d74a4df994 csharp examples: Adapt to new classes syntax
Summary: Mainly use PascalCase Namespaces and Classes and proper event names.

Test Plan: Check all examples still build.

Reviewers: lauromoura, vitor.sousa, felipealmeida, bu5hm4n

Reviewed By: bu5hm4n

Differential Revision: https://phab.enlightenment.org/D7479
2018-12-19 16:51:15 +01:00
Xavi Artigas e6aa5e6aa0 csharp-texteditor: adapt to new efl.ui.Popup API 2018-11-16 11:50:50 +01:00
Xavi Artigas a040529352 csharp texteditor app: Revamping of this example
Summary:
Added save and load buttons.
Added information popups.
Adapted to the style of the rest of the csharp examples.

Reviewers: lauromoura, vitor.sousa, felipealmeida, ajwillia.ms

Reviewed By: lauromoura

Differential Revision: https://phab.enlightenment.org/D7173
2018-10-19 15:30:42 +02:00
Xavi Artigas 779e0a2cb8 tutorials: Fix C# Life tutorial
Summary:
Fix API changes, plus several logic and syntax errors... again, this had
never been built.

Test Plan:
Didn't build before, builds and runs now, although with some runtime issues
that will be tracked on a separate issue.

Reviewers: felipealmeida, lauromoura, bu5hm4n

Differential Revision: https://phab.enlightenment.org/D6649
2018-07-23 13:16:54 -03:00
Xavi Artigas 15aa26eb16 tutorials: Fix C# texteditor app
Summary: Adapt to new API and part names.

Reviewers: felipealmeida, lauromoura

Differential Revision: https://phab.enlightenment.org/D6513
2018-07-05 12:51:30 +02:00
Vitor Sousa 6009c1046c apps_mono: add text editor and Game of Life example apps for C# binding 2018-02-22 15:08:55 -03:00