path: root/src/examples/elementary/ (unfollow)
AgeCommit message (Collapse)Author
2019-07-09cxx: fix some compilation warnings in C++ examplesVitor Sousa
Summary: Fix some warnings in the C++ examples for elementary. These examples are build by default in the normal meson compilation. Only accidental warnings were fixed, explicit warnings using the `#warning` preprocessor directive were maintained. Test Plan: Compile with C++ binding. Reviewers: lauromoura, felipealmeida, segfaultxavi Reviewed By: segfaultxavi Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-06-19Fix miscellaneous build warningsXavi Artigas
Nothing serious, but they were driving me mad.
2019-05-02cxx: Rename Elementary.hh into Efl_Ui.hhLauro Moura
Also include Efl_Ui.h alongside Elementary.h (the latter is still needed by some widgets).
2019-03-11cxx: Fix examples compilation.Lauro Moura
Summary: - Changed beta methods guards from CLASS_NAME_GUARD to EFL_BETA_API_SUPPORT to use the same scheme as C. - Removed some includes to Efl_Ui.h from the examples. These were causing C's efl_part_get to not be generated due to EFL_PART_PROTECTED not being yet defined (it is defined in Elementary.hh, included afterwards). This was leading to Efl.Part.impl.hh trying to use a non-existent method. Fixes T7716 partially (missing stringshare issue) Test Plan: make examples Reviewers: stefan_schmidt, felipealmeida, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7716 Differential Revision:
2019-03-07elm: explicitly include Efl_Ui.h in binariesMike Blumenkrantz
it looks like people have been relying on Elementary.h to include eo apis even though this obviously makes no sense Reviewed-by: Cedric BAIL <> Differential Revision: remove all legacy types and functions from eo fileMike Blumenkrantz
Summary: most of the eo methods here will be marked beta, preventing them from generating legacy code ref T7511 Depends on D8082 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7511 Differential Revision:
2019-02-27efl.file: improve api a bitMike Blumenkrantz
Summary: the previous implementation/api had a number of issues: * "file" property contained both "file" and "key" values - also performed file loading operation * "load_error" property which was specific to image objects * no methods for controlling file loading/unloading this patch attempts the following changes: * split "file" property into "file" and "key" properties - also remove "key" from existing "mmap" property * remove "load_error" * directly return error codes from operations * add "load" and "unload" methods for directly controlling load state * add implicit file loading if file/mmap is set during construction * rewrite all efl.file implementations to move file loading into load() method * rewrite all usage of efl.file api based on these changes * add C extension functions to mimic previous behavior ref T7577 Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: vitor.sousa, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7577 Differential Revision:
2019-01-16gfx: Add size hint fill (EO)Yeongjong Lee
Summary: If widget use both hint_align(HINT_FILL) and hint_max together, there is no way to set to hint_align. See, elementary_test -to '' - "Button with a quite long text." button. you can control button position using "Box align" slider, but this is not proper implementation. When there are two widget which have hint_align(HINT_FILL) and hint_max, those positions are determined by box_align rather than hint_align. it means widget align cannot be set individually. To solve this problem, this patch add hint_fill property. in order to avoid conflict with legacy API named evas_object_size_hint_fill_set(), it only works for EO widgets(made by efl_add). Also, EFL_GFX_SIZE_HINT_FILL is removed. @feature Test Plan: elementary_test -to '' elementary_test -to 'efl.ui.table' Reviewers: jpeg, Hermet, Jaehyun_Cho, raster, barbieri Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T3912 Differential Revision:
2017-11-16win: Rename specific APIs to avoid clashesJean-Philippe Andre
This renames 3 basic APIs specific to Win: - name - type - role Ref T5322
2017-11-14win: Move autodel to C onlyJean-Philippe Andre
Note: this is C only, not legacy only. The problem is that bindings will hold a strong reference to the window, which will then die "under the rug" if autodel is enabled. This then leads to at least ERR if not crashes. Note: elm_policy needs to support autodel and quit on last del only for C applications. Bindings will require some other mechanism that doesn't break all assumptions wrt. references.
2017-11-07cxx: Fix a few examplesJean-Philippe Andre
- Calendar: Some examples can't be ported. Not good. - Toolbar: Needs the new API to be completed. - Clock: Crashes at runtime. Ping @felipealmeida
2017-09-19examples: cxx: fix examples for new size_set function signatureStefan Schmidt
This no longer takes two parameters. Update to the new signature.
2017-09-11Examples: fix C++ examplesDaniel Zaoui
The examples have not been updated after the last C++ changes.
2017-09-08eo-cxx: Require instantiate keyword for constructors calling efl_add to ↵Felipe Magno de Almeida
avoid ambiguity