summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces (follow)
AgeCommit message (Collapse)Author
2017-12-22Efl.Gfx.Color: add color_code{}Amitesh Singh
color_code allows user to pass/get the color hex string (e.g. efl_gfx_color_code_set(o, "#FFAA22CC")) Also make this interface as mixin class.
2017-12-22interface: add Efl.Gfx.Color interface for color related APIsAmitesh Singh
This would eventually turn into mixin class later after adding more color related helper functions.
2017-12-19interface : change efl_pack_grid and efl_ui_grid to efl_pack_table and ↵SangHyeon Lee
efl_ui_table Summary: Change name of 'grid' to 'table' for matching on common ui naming and avoiding confusion with 'gengrid' and 'grid view'. grid will be introduced as grid image view after. Test Plan: checked make & make install checked make check - there are errors but not related with these changes. checked make examples - there are errors in cxx but not related with these changes. checked make discheck - failed test in elementary_test with Efl.Ui.Table and Table_static. Reviewers: raster, cedric, jpeg, felipealmeida Differential Revision: https://phab.enlightenment.org/D5668
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: https://phab.enlightenment.org/D5222 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-18efl_ui_bg: add Efl.Ui.Bg interfaceSungtaek Hong
Summary: - Previous class efl_ui_bg moved to efl_ui_bg_widget. - Scale_type moved to efl_image from efl_ui_image. - Previous enum Efl_Ui_Image_Scale_Type moved to Efl_Image_Scale_Type. Test Plan: Run elementary_test 1.Image Scale Type 2.Efl.Ui.Bg 3.Efl.Ui.Win 4.Part Background Reviewers: jpeg, woohyun, cedric Differential Revision: https://phab.enlightenment.org/D5616
2017-12-14efl: Add simple API for "blur" effectsJean-Philippe Andre
This will use the Efl.Gfx.Filter interface internally, but makes it usable by normal people.
2017-12-14efl.image.load: fix eolian redefine warnings for load_error{}Amitesh Singh
load_error{} was defined in efl.file as well. remove load_error{} from efl.image.load intf and implement Efl.File.load_error{} instead. Ref T6514
2017-12-13text: Merge changed,user eventsJean-Philippe Andre
Efl.Ui.Text and Efl.Ui.Text.Interactive were both defining it.
2017-12-13efl: Move VG-specific change event to efl.gfx.pathJean-Philippe Andre
2017-12-12docs: Fix referencing formatAndy Williams
All except references to Efl.Ui.Win_Inline
2017-12-12efl_interfaces_main: Fix NULL API of Efl.Canvas pointer_iterateJaehyun Cho
The Efl.Canvas beta API, pointer_iterate, was not found correctly due to the absence of EFL_CANVAS_BETA macro.
2017-12-12Efl.Canvas: make pointer_iterate a beta APIAmitesh Singh
Gesture framework should implement it.
2017-12-12format: Fixup the string format implementationJean-Philippe Andre
Use eina value convert and to_string. Do not fail. This removes unreachable code by making it active (to_string). Fixes T6204
2017-12-11interface: rename Efl.Dup to Efl.Duplicate.Amitesh Singh
dup is considered too short and maybe confusing, hence rename it to duplicate instead.
2017-12-08docs: add the last missing items for eo files in efl/interfacesStefan Schmidt
2017-12-08docs: add missing items for efl_gfx* eo classesStefan Schmidt
2017-12-08interface: add Efl.Canvas.Pointer intf for pointer related functions.Amitesh Singh
and remove pointer_inside function from Efl.Canvas{}
2017-12-05format: Use strbuf builtin type instead of ptr()Jean-Philippe Andre
2017-12-04efl.gfx: move scale{} from efl.ui.base to efl.gfxAmitesh Singh
2017-11-30Efl.Ui.Base: remove base_scale.get{} from interface.Amitesh Singh
base_scale for edje would be legacy now.
2017-11-30Efl.Gfx.Shape: fix efl_super() call.Amitesh Singh
2017-11-30Efl.Gfx.Path: add missing EOLIAN prefixes to eolian functions.Amitesh Singh
2017-11-30Efl.Gfx.Shape: add missing EOLIAN prefixes to eolian functions.Amitesh Singh
2017-11-30Efl.Gfx.Shape: implement Gfx.Path.interpolate{}Amitesh Singh
This fixes the Eolian 'interpolate' redefine warning.
2017-11-30efl: Introduce interface Efl.DupJean-Philippe Andre
A few classes allow their objects to be duplicated, so they should all use the same interface. Also, rename VG's dup to copy_from as it's not conforming to the definition of dup.
2017-11-29edje: Implement Efl.File.load_errorJean-Philippe Andre
Don't create a new function with the same name, it's absurd.
2017-11-28Efl.Ui.Format: do format check once only.Amitesh Singh
2017-11-28Efl.Ui.Format: do proper checking for string template.Amitesh Singh
Add support to take action based on string format specifier. If string template is '%d' and value type is double, do safe conversion to int from double.
2017-11-27efl_ui_spin: Add new spin and spin_button widgetsWoochan Lee
Summary: https://phab.enlightenment.org/T5900 Creating base class(efl_ui_spin) to support various shape of spinner. Added button interaction widget efl_ui_spin_button inherited from efl_ui_spin. Test Plan: Add tests in elementary_test. Reviewers: Jaehyun_Cho, woohyun, jpeg, singh.amitesh Subscribers: jenkins, id213sin, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5424
2017-11-27Efl.Ui.Format: remove the dupicalte codeAmitesh Singh
struct tm check is already done at the beginning of the function.
2017-11-24Efl.Ui.Format: add string format checking for user inputAmitesh Singh
2017-11-20efl: Split Efl.Container and Efl.ContentJean-Philippe Andre
When I first implemented the Efl.Container interface I made a mistake of mixing "single slot" content API's with "multiple children" content API's. This should fix that, by separating API's that are for a single part and those that deal with a list of children. Efl.Content: Single slot. This will be used a lot by efl_part() objects, and for the default content of widgets (eg. the window content). Efl.Container: Multiple children. Used by lists, boxes, layouts (edje/elm), etc... I didn't see any class that implemented both interfaces (note: Layout implements Container and Button implements Content, so technically Button implements both through inheritance). For now the eo_prefix is not changed in Efl.Container. I wonder if it should be reset (to efl_container) or not. This would only affect the C API. Ref T5328
2017-11-14Efl.Ui.Format: Add support for "struct tm" in string format.Amitesh Singh
2017-11-10Canvas text: change halign/valign to use doublesDaniel Hirt
There are use cases where you would want to align by a value. The wordy alignment values are thus removed. This commit also separates auto-modes (none, normal, locale) for horizontal alignment to its own API. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-11-08Efl: add class interfaces (color/text/size)Jee-Yong Um
Summary: implement Efl.Gfx.Class interface Reviewers: jpeg, cedric Subscribers: taxi2se, herdsman Differential Revision: https://phab.enlightenment.org/D4403
2017-11-07Efl.Ui.Slider: implement Slider.part & Ui.format functionsAmitesh Singh
indicator_format_set/get & indicator_format_function_set are now legacy APIs. indicator format can be set by using generic Ui.Format function e.g. efl_ui_format_string_set(efl_part(sliderObj, "indicator"), "1.0%f");
2017-11-07efl_gfx_path: fix typo in _path_bounds_getVitalii Vorobiov
Wrong position was used while going through the array of points @fix
2017-11-07cxx: Fix binding temporarily (efl/interfaces)Jean-Philippe Andre
This uses the new cref keyword instead of inout, as the c++ code has no access to the internals of struct Efl.Text.Cursor.Cursor Something tells me cref may not be the perfect solution here (we lose information on whether this is in, out or inout).
2017-11-02eo files: convert various to use @crefDaniel Kolesa
2017-11-02eolian: only allow reference (ownable) types in containersDaniel Kolesa
2017-11-01elementary: use @cref where possibleDaniel Kolesa
2017-11-01evas: Add seat argument to 'pointer_inside' (EO)Jean-Philippe Andre
This merges pointer_inside and pointer_inside_by_device. Affects only EO.
2017-11-01evas: Remove specific pointer_inside APIJean-Philippe Andre
This is a name clash. It doesn't matter too much since Evas.Canvas isn't meant to be exposed to the EO API.
2017-10-26Efl.Ui.Format: implement generic format_string functionAmitesh Singh
This generic format_string would be used in slider,progressbar and other widgets.This default function handles INT and DOUBLE eina value types for now. Ref T6204
2017-10-26evas textblocke: add align=end for putting a text at the opposite side of ↵Youngbok Shin
LTR/RTL Summary: There is a requirement for putting text at right side for LTR and at left side for RTL. It satisfies that reqirement easily. It also add "start" keywork for "align" tag. "start" will be same with "auto". Intuitionally, developer will try "align=start" if they once saw "align=end" in elsewhere. On the other hand, it only add "END" as new enumeration value for efl interface. @feature Test Plan: N/A Reviewers: herdsman, cedric, jpeg, raster Reviewed By: raster Subscribers: woohyun Differential Revision: https://phab.enlightenment.org/D5342
2017-10-18config: Simplify EO APIJean-Philippe Andre
This is: - using a property (but terribly ugly due to the ownership on the returned value) - removing an unused function Note: This interface Efl.Config covers only elm_config for now. But it's very generic and could be used in the future for application specific configuration.
2017-10-17slider/progressbar: implement format_string of Efl.Ui.FormatAmitesh Singh
remove the unit_format from Efl.Ui.Range.
2017-10-17efl_ui_format: change Eina.Strbug to @in typeAmitesh Singh
2017-10-17efl_ui_format: fix the namings and docsAmitesh Singh
it is based on review comments by Gustavo and JP.
2017-10-16efl intf: Add format interfaceAmitesh Singh
Ref T6204