summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_object.eo
Commit message (Collapse)AuthorAgeFilesLines
* eo: make the parent a optional constructorMarcel Hollerbach2020-06-091-0/+3
| | | | | | | | | | | this is needed in order to sanely bind parent calls to some objejcts, but not all. However, from the canvas structure up we *need* a parent, so we can fetch the evas from it. So declare it there a none optional Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11734
* evas: remove dead struct definitionMarcel Hollerbach2020-04-211-1/+0
| | | | | | this is not used anywhere Differential Revision: https://phab.enlightenment.org/D11737
* evas/object: remove weird gesture manager methodMike Blumenkrantz2020-02-051-5/+1
| | | | | | | | these two objects have zero relation, and I don't know why this ever existed Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11243
* efl_gesture: rename Efl.Gesture.Events to Efl.Canvas.Gesture_EventsJaehyun Cho2020-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | Summary: Since the current Efl.Gesture.Events has canvas gesture events only, Efl.Gesture.Events should be renamed to Efl.Canvas.Gesture_Events. If other types of gesture events are newlly required later, which are not based on canvas, then class Efl.XXX.Gesture_Events is required to be introduced. Reviewers: CHAN, segfaultxavi, bu5hm4n, zmike Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11073
* introduce efl_canvas_object_animationMarcel Hollerbach2019-11-201-1/+1
| | | | | | | | | | this brings the animation to the canvas object. All the controls of the animation now do now require a player object anymore, you can just use the API that is directly on the Efl.Canvas.Object object. wip animation player replacement Differential Revision: https://phab.enlightenment.org/D10615
* efl: Make stable single-valued getters consistent.Lauro Moura2019-11-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Instead of a getter with an explicit return type, change it to be a single-valued property. The eolian C generator takes care of making this single value the actual return value of the C function. This also makes these properties able to be reflected on. The stack properties returns just a pointer and not a new ref, so no @move needed. Beta properties will be handled in a future commit. Depends on D10601 Reviewers: segfaultxavi, bu5hm4n, q66, cedric Reviewed By: segfaultxavi Subscribers: #reviewers, #committers, brunobelo, felipealmeida Tags: #efl Differential Revision: https://phab.enlightenment.org/D10602
* efl: add code to enforce presence of @since tagsDaniel Kolesa2019-09-301-1/+4
| | | | | | | This is not yet enabled because there's too many instances where this is broken. Ref T7704
* Use proper Eolian syntax for default values instead of docsXavi Artigas2019-09-201-7/+4
| | | | | | | | | | | | | | | | | | | | | | Summary: Eolian supports reporting the defaults for parameters and return values, but in some places we have been writing this information in the documentation instead. This patch moves it to its proper place, where documentation generators can pick it up and render it in a consistent manner. Ref T8171 Reviewers: zmike, bu5hm4n, lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8171 Differential Revision: https://phab.enlightenment.org/D10051
* docs: Move property docs to property level instead of set/getXavi Artigas2019-09-131-167/+135
| | | | | | | | | | | | | | Eolian @properties should be documented at the property level, and documentation at the setter or getter level should be left to setter- or getter-specific comments. There is usually no need at all to have setter- or getter- specific comments. Also, a property is not a method so descriptions should match that. This patch removes lots of duplicated text, and will allow enabling by default the eolian check that ensures that properties have proper property-level docs. No functional changes.
* docs: Fix typos and wrap EO files to 120 charsXavi Artigas2019-09-021-3/+5
| | | | | As per our style guide: https://www.enlightenment.org/contrib/docs/eo-guide.md
* efl/hints: add restricted and combined max size hintsMike Blumenkrantz2019-08-141-0/+2
| | | | | | | | | | | | | | these function the same as the min size hint versions and enable distinction between internally-set max size hints and user-set max size hints @feature ref T8122 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9553
* efl: remove Efl.Ui.I18n from canvas object inheritanceMike Blumenkrantz2019-08-141-1/+1
| | | | | | | | | | | | | | | | | | Summary: canvas objects do not need localization because they are not directly user-facing this should only be inherited by objects which need to be localized Depends on D9559 Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9560
* evas: add 'has_fixed_size' property for canvas objectsMike Blumenkrantz2019-08-081-0/+17
| | | | | | | | | | | this provides a hint for rendering that the object is not going to resize for as long as the flag is set and allows for some optimizations to be made during rendering based on this knowledge @feature Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8887
* eolian: rename @warn_unused and its associated APIDaniel Kolesa2019-05-261-3/+3
| | | | | | | | | | | | @warn_unused in syntax is now called @no_unused - this is because "warning about unused" is a C thing (or rather, an extension to C) and various languages might want to use stricter behavior for this. Its associated API does the reverse now - it lets you query whether being unused is allowed at all. This is to match future behavior of Eolian (once it supports versioning) that will likely reverse it. @feature
* eolian: remove param @nonullDaniel Kolesa2019-05-261-3/+3
| | | | | | | | | | | This has been deprecated for a while and is not strictly necessary - as a part of an effort to stabilize Eolian, remove this. Eolian will eventually gain support for versioning and use a reversed behavior (i.e. no NULL by default), but the API it wlll use for that will be very different. Features can always be added, it's much harder to drop them. @feature
* Gesture Manager: Add gestures and fix gesture managing, recognizer logic.Woochanlee2019-05-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: https://phab.enlightenment.org/T7544 Provides a way for a user to get a gesture manager, recognizer instance. Supports different recognizer properties for each target(Eo). Gesture, Touch Class Life-cycle re-implementation. for supporting multiple touches. Add below gestures. efl_canvas_gesture_tap efl_canvas_gesture_double_tap efl_canvas_gesture_triple_tap efl_canvas_gesture_long_tap efl_canvas_gesture_momentum efl_canvas_gesture_zoom efl_canvas_gesture_flick Test Plan: Simple test -> test_gesture_framework.c More test cases will upload. Reviewers: woohyun, smohanty, segfaultxavi, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: Jaehyun_Cho, segfaultxavi, cedric Tags: #efl, #do_not_merge Differential Revision: https://phab.enlightenment.org/D7579
* docs: Add @since 1.22 to all stable classes' EO docsXavi Artigas2019-03-221-1/+4
| | | | | | | | | | | | | | | | Summary: Previous @since tags have already been removed from eo files. Test Plan: Everything builds, but stable classes now have Since tags in the docs. Reviewers: zmike, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8446
* docs: Remove obsolete @since tags from EO filesXavi Artigas2019-03-201-13/+1
| | | | | | | | | | | | | | | | | | | | | | Summary: All legacy @since tags have already moved to the *.legacy.h files. EO files are now devoid of @since tags (except some eldbus still needed for legacy). Upcoming patches will add @since 1.22 to those APIs which come out of beta in this release. APIs marked @beta do not need @since tags. Test Plan: Everything builds, EO docs (like DocFX) have no Since tags. Reviewers: zmike, bu5hm4n, lauromoura, cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8430
* efl: apply the stabilzed column of the efl api boardMarcel Hollerbach2019-03-091-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The project https://phab.enlightenment.org/tag/efl_api/ has been used in the last few weeks to figure out which classes can be stablized and which cannot. This commit moves those dedicated classes outside beta. And makes them stable. ref T7601 ref T7600 ref T7599 ref T7598 ref T7597 ref T7596 ref T7594 ref T7593 ref T7591 ref T7590 ref T7589 ref T7588 ref T7583 ref T7582 ref T7581 ref T7576 ref T7570 ref T7567 ref T7564 ref T7563 ref T7560 ref T7559 ref T7672 ref T7584 ref T7577 ref T7571 ref T7558 ref T7555 ref T7554 ref T7553 ref T7512 ref T7511 Depends on D8272 Reviewers: cedric, stefan_schmidt, zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7672, T7601, T7600, T7599, T7598, T7597, T7596, T7594, T7593, T7591, T7590, T7589, T7588, T7584, T7583, T7582, T7581, T7577, T7576, T7571, T7570, T7567, T7564, T7563, T7560, T7559, T7558, T7555, T7554, T7553, T7512, T7511 Differential Revision: https://phab.enlightenment.org/D8273
* eo files: mark a bunch of types with @betaMike Blumenkrantz2019-03-081-1/+1
| | | | | | | | | | | | | | | | | Summary: these are all types that we do not currently want to release Depends on D8102 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric Tags: #efl_api Differential Revision: https://phab.enlightenment.org/D8241
* efl.canvas.object: mark pointer_mode betaMike Blumenkrantz2019-03-071-2/+2
| | | | | | | | | this requires a type that looks very sketchy ref T7726 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8240
* evas: remove all legacy usage from eo filesMike Blumenkrantz2019-03-061-21/+0
| | | | | | | | | | | | this takes the current generated output from eolian for legacy code in evas and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D8107
* efl.canvas.object: clip -> clipper && clipees -> clipped_objectsMike Blumenkrantz2019-02-271-9/+10
| | | | | | | | | | | | | | | | | | | | | Summary: also clipees_has -> clipped_objects_count ref T7555 Depends on D8039 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7555 Differential Revision: https://phab.enlightenment.org/D8040
* efl_canvas_object: remove event_freezeMarcel Hollerbach2019-02-251-38/+6
| | | | | | | | | this is now done via Efl.Object.event_freeze / Efl.Object.event_thaw. ref T7555 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8011
* efl_canvas_object: make is_frame_object internalMarcel Hollerbach2019-02-251-16/+0
| | | | | | | | | | it was decided that this property should be internal. So now it is internal. ref T7555 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8010
* efl_canvas_object: get rid of event_animation set/getMarcel Hollerbach2019-02-251-17/+0
| | | | | | | | | | | | | | | | | | the API is a little bit problematic. The API takes events as an parameter. However, only the hide and show events can be used, because move for example is not intercepted, which leads to a situation that you cannot attach a translation animation to the event. Further more, handling the animations directory instead of pipeing them through events seems to be a little bit easier as the case study of the previous events have shown. Further more, we should never ever overwrite the callback_call function of a eo base object, those methods are an incredible hotpath, by the time we would have 1-2 animations on a object, the event submission would be significetly slowned down. ref T7555 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8009
* interfaces: move animator,tick to efl.canvas.object and remove efl.animatorMike Blumenkrantz2019-02-211-1/+6
| | | | | | | | | | | | | | | | | | | | Summary: this interface only contains a single event which is implemented only by the canvas object ref T7561 Reviewers: cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7561 Differential Revision: https://phab.enlightenment.org/D7905
* Rename Efl.Gfx.Map -> Efl.Gfx.MappingXavi Artigas2019-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | Summary: For clarity, since there are all kinds of maps, including a navigation map widget. Also, corrected some misspellings. Test Plan: make && make check && make examples all work Reviewers: cedric, zmike, bu5hm4n Reviewed By: cedric Subscribers: Jaehyun_Cho, #reviewers, #committers Tags: #efl Maniphest Tasks: T7564 Differential Revision: https://phab.enlightenment.org/D7974
* api: efl.gfx.size_hints -> efl.gfx.hintsMike Blumenkrantz2019-02-211-10/+10
| | | | | | | | | | | | | | | | | | | | Summary: these hints are not strictly size-related, so renaming them is more consistent with their actual function ref T7563 Depends on D7968 Reviewers: segfaultxavi, cedric, bu5hm4n Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7563 Differential Revision: https://phab.enlightenment.org/D7977
* Mark BETA classes individuallyXavi Artigas2019-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: Instead of surrounding all the #include "*.eo.h" lines in Efl.h with #ifdef EFL_BETA_API_SUPPORT, include these files unconditionally, but mark all classes as @beta in the eo files. This will allow taking them out of beta one by one as we deem them stable enough. Otherwise, the current procedure involves moving the #include line out of the ifdef block, which is cumbersome and messes include order. Depends on D7950 Fixes T7692 Test Plan: Nothing changes Reviewers: zmike, bu5hm4n, cedric Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7692 Differential Revision: https://phab.enlightenment.org/D7951
* Efl.Gfx.Stack: Rename raise and lowerXavi Artigas2019-02-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Summary: to move_to_top and move_to_bottom since the previous names seemed to indicate that the object only moved one step instead of all the way through the top or the bottom of the stack. Ref T7560 Test Plan: make && make check && make examples work as before Reviewers: cedric, zmike Reviewed By: zmike Subscribers: kimcinoo, #reviewers, #committers Tags: #efl Maniphest Tasks: T7560 Differential Revision: https://phab.enlightenment.org/D7934
* efl: convert all abstracts to the new eolian syntaxMarcel Hollerbach2019-01-181-3/+3
| | | | | | | | ref T7459 Reviewed-by: Daniel Kolesa <daniel@octaforge.org> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7686
* gfx: Add size hint fill (EO)Yeongjong Lee2019-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'efl.ui.box' - "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 'efl.ui.box' 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: https://phab.enlightenment.org/D7409
* efl: rename Efl.Ui.Base -> Efl.Ui.I18n as that is really what it does.Cedric BAIL2019-01-021-1/+1
| | | | | Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7506
* canvas: disable an eolian-style api referenceDaniel Kolesa2018-12-061-1/+2
| | | | | | | | | This references a file that is not being installed, so the eo file will fail to parse when used as a system-wide .eo file. Introduced in 05682eed7d572874928424af82fba819790c4228. Fixes T7495.
* eo-docs: Remove Doxygen tags from efl*.eo filesXavi Artigas2018-11-281-17/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: - Replace '\@ref name' with '@name' - Remove unused \@internal tag This tag affects text AFTER it, and there is no text after it. - Remove \@note tag Replaced with a simple NOTE: text, since eolian does not have an equivalent tag. - Remove spurious \@Efl... tags They should really be @Efl... - Remove \@p tags There is no eolian equivalent, and a simpler $ suffices in this case. Fixes T7482 Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7482 Differential Revision: https://phab.enlightenment.org/D7372
* efl: Remove unnecessary abstract/class inheritanceJaehyun Cho2018-09-101-2/+2
| | | | | | | | | | | | | | | | | Summary: Remove unnecessary abstract and class inheritance from eo file because those abstracts and classes are duplicate. e.g. if class B (class A) in B.eo file, then class C (class A, class B) in C.eo file. Reviewers: woohyun, felipealmeida, Hermet, bu5hm4n Reviewed By: Hermet, bu5hm4n Subscribers: bu5hm4n, cedric, segfaultxavi, q66, #reviewers, lauromoura, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6982
* Revert "efl: Remove unnecessary abstract/class inheritance"Jaehyun Cho2018-09-051-2/+2
| | | | | | | | | | This reverts commit 4067fafe07c4d22ac2e2672921c268ae8866029f. As commented on D6982, the original patch changes the widget's behavior. e.g. Efl.Ui.Win cannot be called with Efl.Config_Gloabal APIs. Elm.Combobox cannot provide events of Button and Hover. Until the above changes are resolved, the original patch is reverted.
* efl: Remove unnecessary abstract/class inheritanceJaehyun Cho2018-09-051-2/+2
| | | | | | | | | | | | | | | | | Summary: Remove unnecessary abstract and class inheritance from eo file because those abstracts and classes are duplicate. e.g. if class B (class A) in B.eo file, then class C (class A, class B) in C.eo file. Reviewers: woohyun, felipealmeida, Hermet Reviewed By: Hermet Subscribers: cedric, segfaultxavi, q66, #reviewers, lauromoura, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6982
* docs: Fix typos in API reference doc and comments.Yeongjong Lee2018-08-311-2/+2
| | | | | | | | | | | | Reviewers: Hermet, segfaultxavi Reviewed By: Hermet, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6948
* evas: do not override lifecycle by overriding efl_parent_set.Cedric Bail2018-05-241-1/+0
|
* evas: move the del event to match invalidate and free event to the end of ↵Cedric Bail2018-05-241-1/+1
| | | | the destructor.
* evas: try to protect old legacy lifecycle without overloading Efl.Del.Cedric BAIL2018-05-241-1/+2
|
* efl: rename Efl.Text.Bidirectional_Type -> Efl.Text_Bidirectional_TypeXavi Artigas2018-05-231-1/+1
|
* efl: rename Efl.Event.Description -> Efl.Event_DescriptionXavi Artigas2018-05-231-1/+1
|
* efl: rename Efl.Canvas.Object.Animation.* -> Efl.Canvas.Object_Animation_*Xavi Artigas2018-05-231-4/+4
|
* efl_canvas_object: Add event info to animation events in eoJaehyun Cho2018-05-011-3/+5
|
* efl_canvas_object: Remove unnecessary importJaehyun Cho2018-04-301-1/+0
|
* Efl.Loop_* (from Efl.Loop.*)Xavi Artigas2018-04-241-2/+2
| | | | | | Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
* Efl.Gfx.Size_Hint* (from Efl.Gfx.Size.Hint*)Xavi Artigas2018-04-241-9/+9
| | | | | | Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>