path: root/src/lib/elementary/efl_ui_image_zoomable.eo (follow)
AgeCommit message (Collapse)Author
2019-10-14eolian: fix eolian errors with EOLIAN_ENFORCE_SINCE=1WooHyun Jung
Summary: This is not the end of fixing eolian errors. I need to keep fixing more. Test Plan: 1. export EOLIAN_ENFORCE_SINCE=1 2. ninja Reviewers: q66, segfaultxavi, zmike, bu5hm4n, Jaehyun_Cho Reviewed By: segfaultxavi, Jaehyun_Cho Subscribers: Jaehyun_Cho, stefan_schmidt, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-09-25api: mark Efl.Ui.Image_Zoomable stableMike Blumenkrantz
Summary: ref T7875 Depends on D10125 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7875 Differential Revision:
2019-09-24efl_ui/image: implement efl.player::playback_speed methodsMike Blumenkrantz
Reviewed-by: Cedric BAIL <> Differential Revision:
2019-09-24efl_ui/image: implement efl.player::playback_progress methodMike Blumenkrantz
Reviewed-by: Cedric BAIL <> Differential Revision:
2019-09-24efl_ui/image: implement required efl.player::playback_position methodsMike Blumenkrantz
Reviewed-by: Cedric BAIL <> Differential Revision:
2019-09-24efl/player: rename 'play' property to 'pause'Mike Blumenkrantz
this is a bit of an overhaul wherein the existing 'play' mechanics are all inverted. 'pause' is a state which stops playback but does not affect the playback_position property. this patch also includes implementations of Efl.Player::playing for a couple classes which (now) only implement pause, as this is a requirement for the objects to actually activate their animations test cases: * unit tests * all elm_test animation cases * elm_test video * rage Reviewed-by: Cedric BAIL <> Differential Revision:
2019-09-24efl/player: prune properties duplicated in efl.playableMike Blumenkrantz
efl.playable implements a number of properties which are also present in efl.player. playable was intended to be separate, so enforce this split in all classes which use player ref T7877 Reviewed-by: Cedric BAIL <> Differential Revision:
2019-09-23efl_ui_scrollable: remove ui_scrollable_interactive and move all into ↵WooHyun Jung
ui_scrollable Summary: Based on the discussion T7883, there is no reason to keep those interfaces separately. So, now, efl_ui_scrollable will support the events and methods together. @ref T7883 Reviewers: eagleeye, bu5hm4n, zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7883 Differential Revision:
2019-09-19efl: replace composite with composites and dedup implementsDaniel Kolesa
Since using 'composites' now automatically implements what has not been implemented yet, remove the unnecessary duplicates.
2019-09-13docs: Move property docs to property level instead of set/getXavi Artigas
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.
2019-09-06eolian: change composite syntax from block to inheritance sectionDaniel Kolesa
This makes more sense as these are related to inheritance tree. Therefore, change while we still can. Fixes T8183
2019-08-29efl: implement efl.file::unload for classes that implement loadMike Blumenkrantz
unload is a crucial method for classes that implement load, as this is the method which is called during e.g., efl_file_simple_load() when a new file is specified in order to destroy the previous object data Reviewed-by: Marcel Hollerbach <> Differential Revision:
2019-07-12Rename orientation -> image_orientation.Hosang Kim
Summary: Efl.Gfx.Image_Orientable and Efl.Ui.Layout_Orientable have same property name. So when class extends both interfaces, it makes conflict. Relates to T7924 Reviewers: woohyun, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-07-08docs: Fill last missing docs from EO filesXavi Artigas
Some docs have been filled with placeholder text ("TBD") or with preliminary text (marked with //TODO). Having 0 doc warning we can now enable Warnings as Errors in mono, and in Eolian later on.
2019-05-22Rename Efl.Gfx.Orientation -> Efl.Gfx.Image_OrientationXavi Artigas
Summary: This will help disambiguate later on when we rename Efl.Ui.Direction to Efl.Ui.Layout_Orientation. Relates to T7919 Test Plan: Everything still builds and passes tests. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-05-20Rename Efl.Orient -> Efl.Gfx.OrientationXavi Artigas
Summary: And the Efl.Orientation interface -> Efl.Gfx.Orientable (with proper c_prefix so it is not too cumbersome to use from C). Also, turned the theme_rotation_apply() parameter into an int to avoid confusion. Fixes T7919 Depends on D8912 Test Plan: Everything continues to build and pass tests Reviewers: zmike, bu5hm4n, cedric, Hermet, Jaehyun_Cho Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7919 Differential Revision:
2019-05-20Merge Efl.Orient and Efl.Flip into the same enumXavi Artigas
Summary: This is similar to how it is in Evas, and simplifies the Efl.Orientation interface, which only needs one property now. Relates to T7919 Test Plan: Everything builds and tests pass. There's only one example of efl_orientation_set() so there's not much to test yet. Reviewers: zmike, bu5hm4n, cedric, Hermet, Jaehyun_Cho Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7919 Differential Revision:
2019-03-26elm_photocam: fix file_get,set operationsYeongjong Lee
Summary: This patch fixes bug that elm_photocam_file_get always return NULL. Test Plan: make check Reviewers: Hermet, zmike, bu5hm4n Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-03-20docs: Remove obsolete @since tags from EO filesXavi Artigas
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:
2019-03-06efl_ui_image_zoomable: remove all legacy usage from eo filesMike Blumenkrantz
this takes the current generated output from eolian for legacy code in efl 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: Cedric BAIL <> Differential Revision:
2019-03-04efl.ui.widget: widget_event -> widget_input_event_handlerMike Blumenkrantz
Summary: ref T7553 Depends on D8081 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7553 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-02-14Mark BETA classes individuallyXavi Artigas
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:
2019-01-23elm: note down all composite sections for widgetsMarcel Hollerbach
Summary: A lot of new widgets are using the new Scrollmanager class, the instance of this class is then attached via composition to the widget. This is providing the implementation for Efl.Ui.Scrollbar & Efl.Ui.Scrollable_Interactive. In the text widgets the same applies to the internal interactive text widgets. The tags widget is using the text entry as composite, and thus provides efl.ui.text api. The addition of those composite { } sections are removing the particular unimplemented APIs from the eolian errors. ref T7652 Depends on D7737 Reviewers: zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7652 Differential Revision:
2019-01-18efl: convert all classes to the new eolian syntaxMarcel Hollerbach
ref T7459 Reviewed-by: Daniel Kolesa <> Reviewed-by: Xavi Artigas <> Differential Revision:
2018-09-04Clean up efl_ui_XXX eo files.Woochanlee
Summary: Delete unnecessary interface references. Delete unnecessary annotations. Reviewers: Hermet, Jaehyun_Cho, zmike Reviewed By: Hermet Subscribers: segfaultxavi, q66, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-05-19efl: Add missing event typesXavi Artigas
Summary: All events must have a type now, otherwise bindings don't know how to handle the event_info field. Most of the missing event types were actually "void" (no event_info present). Some struct definitions had to be moved to eo instead of h files, so they are available to bindings. Some have not, and are marked with FIXME. Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb). In general, there are hundreds of changed files, but mostly to add a type which was not present before, so there's no harm done. Also, A lot of FIXMEs have been added which should be, like, fixed. For example, some events can send different types of event_info, which is very inconvenient (and error prone). Test Plan: make with c# bindings works, make check and make examples work too. Reviewers: cedric, q66, lauromoura Subscribers: zmike Tags: #efl Differential Revision:
2018-04-24Efl.Ui.Scrollable_Interactive (from Efl.Ui.Scrollable.Interactive)Xavi Artigas
Ref Reviewed-by: Cedric Bail <>
2018-04-24Efl.Gfx.Image* (From Efl.Image*)Xavi Artigas
Ref Reviewed-by: Cedric Bail <>
2018-04-24Efl.Gfx.Entity (from Efl.Gfx)Xavi Artigas
Ref Reviewed-by: Cedric Bail <>
2018-02-15Efl.Ui.Zoom: zoom -> zoom_levelMike Blumenkrantz
2018-02-12eolian: convert all of cedric's tabs to spaces in .eo filesMike Blumenkrantz
2018-01-19widget: Move on_focus_update to Focus.ObjectJean-Philippe Andre
Following @taxi2se's recommendation. This is indeed a focus method, and Widget already inherits from Focus.Object. Ping @bu5hm4n who probably wants to adapt this further. Ref T5363
2018-01-18efl: Merge Flipable and OrientationJean-Philippe Andre
No need to split: those two are used in all the same classes, since the split between Orientation and Ui.Dir. Note that the enum types remain in the main namespace.
2018-01-08widget: rename elm widget to Efl.Ui.Widget.Amitesh Singh
2017-12-19scroller: Introducing Efl.Ui.ScrollerWonki Kim
Summary: scrollable widgets had a interface_scrollable as a mixin so that the widgets had a 'is-a' relation with interface_scrollabe. however, new scroller concept don't have 'is-a' relationship, but 'has-a' relationship. scrollable widgets should have a scroll manager inside them, then scroll manager handles event from user and api implementations. and also we cut the features such as paging because there will be aka 'elm_pager'. we are expecting that the new concept make us to maintain the scroller easier. please excuse for many unorganized code and logics. : ( [contained commit] scrollable: add efl_ui_scroller example scrollable: refactoring for behavior in case of multiple scroller scrollable: remove repetitive scrollbar code. scrollable: combine calculating bounce distance code. scroll_manager: mouse up function refactoring scroll_manager: mouse move function refactoring scroll_manager: warp animator wip scroll_manager: fix denominator value when calculating flicking behavior. Fix to disconnect bounce animator once animation is done gather duplicated animator drop logics gather duplicated conditions Rearrange prototypes and append comment Add manipulate functions for animators scroll_manager: change member_add function. scroll_manger: apply mirroring logic scroll_manager: apply scrollbar apply API to scroller widget scroll_manager: apply scroll event callback Change logics for all about scroll animating efl_ui_pan: add efl_ui_pan scrollable: change content_min_limit to match_content scroll theme: apply overlapped scrollbar + many others! Reviewers: akanad, woohyun, cedric, jpeg Subscribers: jenkins, cedric, jpeg Differential Revision: Note by @jpeg: Unfortunately this patch comes in a massive single blob, after too many rebase operations. It has now come to a point where I think the API is nice and it works as I'd expect. Now I only wonder how applicable this will be for Efl.Ui.List. As we can see Photocam (legacy and unified API) could be transformed to use this new API.
2017-12-05edje: rename intf Efl.Canvas.Layout_Group to Efl.Layout.GroupAmitesh Singh
2017-11-16elm: Rename elm_interface_atspi_widget_action mixinLukasz Stanislawski
Reviewers: jpeg Subscribers: jenkins, cedric, jpeg Differential Revision:
2017-09-19photocam: Use Eina.Rect for image_regionJean-Philippe Andre
2017-09-01widget: Rename on_focus to on_focus_update (EO)Jean-Philippe Andre
on_focus seems to imply that focus was just given to the widget, but that function is called on any focus change (in and out). Ref T5363
2017-08-23elm: Rename some EO widget class namesJean-Philippe Andre
It was discussed a while ago that Zoomable was a poor name in some languages, like python. This changes, in Efl.Ui, to use underscores: - Image.Zoomable - Grid.Static - Box.Flow - Box.Stack
2017-08-04edje: Move size_min/max and data to an interfaceJean-Philippe Andre
The new interface is: Efl.Canvas.Layout_Group I'm not fan of the name. Ref T5315
2017-07-27efl.ui.image.zoomable: Add missing edje.group_size_min/max_getAmitesh Singh
This supresses the warnings when photocam is used as an external edje object.
2017-07-14efl.ui.image.zoomable: mark setter of img_region property as eo apiAmitesh Singh
thanks to stefan for reporting.
2017-06-08Efl.Ui.Image.Zoomable: inherit elm.widget as classAmitesh Singh
this fixes a mistake done in cb1d53c835ef465 Thanks to jp for notifying it. ref T5352
2017-06-08Efl.Ui.Image.Zoomable: implement Singh
ref T5352
2017-06-08Efl.Ui.Image.Zoomable: implement efl.player.playable.getAmitesh Singh
ref T5352
2017-06-02Efl.Ui.Image.Zoomable: implement Ui.Image.icon propertyAmitesh Singh
2017-05-31Efl.Ui.Image.Zoomable: inherit from Efl.Ui.ImageAmitesh Singh
2017-05-29elm: rename elm_photocam to Efl.Ui.Image.ZoomableAmitesh Singh
Signed-off-by: Amitesh Singh <>