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.
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
Summary:
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: https://phab.enlightenment.org/D8791
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
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
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
Summary:
I think this is the intended way to enable the focus highlight on the whole
window. The previous approach enabled the highlight but did not move the
focus, by the way.
Reviewers: vitor.sousa
Reviewed By: vitor.sousa
Differential Revision: https://phab.enlightenment.org/D7073
Summary:
It was a very poor example, the focus highlight did not show on startup,
and the Text widget has a weird management of the focus. Replaced it by
some check boxes, and the About button now moves the focus.
Reviewers: lauromoura, vitor.sousa, felipealmeida, bu5hm4n
Reviewed By: vitor.sousa
Differential Revision: https://phab.enlightenment.org/D7056
Summary: It is a guide, not a tutorial.
Reviewers: vitor.sousa, lauromoura
Reviewed By: vitor.sousa
Differential Revision: https://phab.enlightenment.org/D7055
Summary:
Adapt these two UI examples to the style of the Hello World tutorials,
using initialization methods, more comments, and try to avoid creating
vars for widgets.
Reviewers: vitor.sousa, lauromoura
Reviewed By: vitor.sousa
Differential Revision: https://phab.enlightenment.org/D7038
Summary: These guides needed to be adapted to the new C# API.
Test Plan:
Didn't build before, and now it can be built and run. It has some runtime
errors on exit.
Reviewers: felipealmeida, lauromoura, Hermet
Reviewed By: Hermet
Tags: #examples
Differential Revision: https://phab.enlightenment.org/D6575