Commit Graph

1281 Commits

Author SHA1 Message Date
Xavi Artigas df21c3770e calculator: Adapt to latest Text_Cursor API 2020-04-27 12:19:03 +02:00
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 6e77c4aae2 homescreen: Do not show apps that do not want to be shown
As mandated by the .desktop files.
Otherwise, you might get missing icons.
2020-02-20 16:55:35 +01:00
Xavi Artigas f3076c6d19 homescreen: Simplify code and UI structure
Remove global variables.
Add comments.
General beautification.
2020-02-20 16:55:35 +01:00
Xavi Artigas ac5879e3e5 homescreen: Initial import from bu5hm4n code
Just removed custom Edje classes and tried to replace them with
Efl.Ui classes (for simplicity).
2020-02-12 10:27:59 +01:00
Xavi Artigas b694a830af Updated .gitignore 2020-02-12 10:27:17 +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
Xavi Artigas dfa678e9dc Add the now-mandatory @since tags to example EO files 2020-02-07 09:11:59 +01:00
Xavi Artigas 4b6740b258 Adapt Eina.Array example to latest syntax 2020-01-17 10:18:13 +01:00
Ali Alzyod 870cda6730 EXAMPLES reflect updates
Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Differential Revision:
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 868ed77548 Update code comments (and typos) 2019-10-28 09:48:42 +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
Xavi Artigas 8caeaaf071 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-23 17:11:33 +02:00
Xavi Artigas 95c373e8e3 Only ignore topmost
This is autogenerated, but not all other files in subdirs.
2019-10-23 13:37:58 +02:00
Lauro Moura b8f57276ef Initial version of demo MVVM app
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:
2019-10-17 13:09:27 -03:00
Xavi Artigas b8fd0c3b74 Adapt examples to latest Unified API changes
Efl.Ui.Text headers have to be manually included for now, since they still depend
on Legacy headers.
Padding API has lost a parameter.
2019-10-03 12:19:03 +02:00
Xavi Artigas 0a23c904cb Game of Life: Remove last uses of Legacy API 2019-10-03 12:12:38 +02:00
Xavi Artigas 6dfa4bac1d cs snippets: small updates to Slider and Box 2019-10-02 16:27:28 +02:00
Lukasz Oleksak 9f0eebb54f Example code for Efl.Ui.* widgets
Reviewers: segfaultxavi, woohyun

Reviewed By: segfaultxavi

Differential Revision:
2019-10-02 16:24:48 +02:00
Lukasz Oleksak 670a6bc902 Example code for Efl.Ui.Win
Reviewers: segfaultxavi, woohyun

Reviewed By: segfaultxavi

Tags: #efl, #examples

Differential Revision:
2019-09-23 13:12:12 +02:00
Mike Blumenkrantz fea913d1e1 life: remove Elementary.h usage
Summary: this should not be needed

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Tags: #examples

Differential Revision:
2019-09-19 16:33:08 +02:00
Xavi Artigas fd32510f35 mono snippets: Added README in the snippets folder 2019-09-17 12:10:22 +02:00
Bruno da Silva Belo 242ed076f3 csharp: Basic components for all tests without Ui.
Uiless tests use basic components.
Make test terminate again.

Reviewers: lauromoura, felipealmeida, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: brunobelo, felipealmeida, lauromoura

Differential Revision:
2019-09-12 15:04:11 +02:00
Xavi Artigas f161620f9f mono-examples: Do not initialize the UI component if it is not needed 2019-09-12 11:20:37 +02:00
Lauro Moura 3aecb39a18 csharp: Use basic components in core event test
Summary: No need to start elm, as T7770 was fixed.

Reviewers: brunobelo, felipealmeida

Reviewed By: brunobelo

Differential Revision:
2019-09-11 18:05:28 -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
Ali Alzyod 17609ba6bf example: fix compilation error
Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi

Differential Revision:
2019-09-02 16:18:46 +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:
2019-08-16 15:31:38 -03:00
Xavi Artigas e8245fe5dd Remove EFL_EO_API_SUPPORT
This is not needed anymore.
2019-07-24 12:11:58 +02:00
Xavi Artigas 4c2c569c7e hello-gui: make text non-editable
Non-editable was the default when these tutorials were created, but not anymore.
2019-07-17 12:49:42 +02: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:
2019-06-28 20:04:38 -03:00
Xavi Artigas a49641d9b4 efl-mono: Make the script work again
It was broken when the snippets folder was added without a file.
2019-06-14 12:46:50 +02:00
Xavi Artigas b2c7e2c2dd efl-mono: Add custom widget example 2019-06-14 12:27:40 +02:00
Xavi Artigas d325da2119 efl-mono: Efl.Ui.Dir -> Efl.Ui.LayoutOrientation 2019-06-14 12:25:26 +02:00
Xavi Artigas 21567fcccf Efl.Ui.Dir -> Efl.Ui.Layout_Orientation 2019-06-14 11:18:23 +02:00
Xavi Artigas af73959386 Use direction instead of table_direction in table examples
Efl.Ui.Direction.direction is simpler to understand than
Efl.Pack_table.table_direction. Also, the latter might disappear very soon.
2019-05-17 15:26:02 +02:00
Xavi Artigas 836a9edf73 mono examples: Update to latest Efl.Ui.Clickable syntax 2019-05-15 12:01:16 +02:00
Xavi Artigas 05d9b74e19 texteditor app: no need to use efl_part
efl_content_set() will access that part, there's no need to retrieve "efl.content".
Plus, that part is not advertised in the button's EO file, so I am not sure it is
legal to access it.
2019-05-14 17:01:17 +02:00
Xavi Artigas 6cb115480e mono-examples: Update to latest Part syntax 2019-05-07 13:56:23 +02:00
Xavi Artigas fdeb87bb75 Fix alignment of some widgets
Commit 78ae9c0ae069ff86e701ff98cf5674cc491ee156 introduced a new API
(efl_gfx_hint_fill_set) and changed the default behavior of aligned widgets.
The same commit made the necessary changes to all examples in the efl repo,
but not in the examples repo.
This patch here aligns the widgets again they way they were meant to.
We have gone 6 months without anybody noticing that the examples did not
render correctly... let's try and add some unit tests later.

Test Plan: Try the hello-gui c tutorial. The text should be centered instead of in a corner.

Reviewers: YOhoho, bu5hm4n

Differential Revision:
2019-04-30 18:56:39 +02:00
Xavi Artigas b2c41e4e01 mono-examples: Adapt to changes in Efl.Pack 2019-04-26 12:58:15 +02:00