Jean-Philippe Andre
bb7edc2ed4
Evas: Fix clipees_get and return an iterator
...
The legacy function was broken: it was returning the
private data.
2016-06-17 11:37:39 +09:00
Jean-Philippe Andre
84a91ec6d4
Evas: Move smart_type_check[_ptr] to legacy
2016-06-17 11:37:39 +09:00
Jean-Philippe Andre
ab4e15e9c3
Evas: Move object static_clip to legacy
...
This is a horrible API used for internal optimizations. Which
may or may not be partly broken anyway.
We can do better, in the future. Let's not expose this kind
of API.
2016-06-17 11:37:39 +09:00
Jean-Philippe Andre
cc427152bd
Evas: Move object name to legacy
...
All EO objects have a name now. No need for evas object
names anymore.
Also move name_child_find.
2016-06-17 11:37:39 +09:00
Jean-Philippe Andre
d4b96d33d6
Evas: Mark type as legacy and protected
...
Only set() is allowed for EO, and it's a constructor,
protected function. Unfortunately, this means a lot
of #define EVAS_OBJECT_PROTECTED
2016-06-17 11:37:39 +09:00
Daniel Hirt
ed512ea49e
Canvas Text: continue porting api and fixup bugs
...
Also: This merges style user and normal style into a list with precedence. This
allows for more flexibility while keeping the API clean.
@feature
2016-06-16 19:15:20 +01:00
Daniel Hirt
3a6c648d28
Canvas text: introduce new text object
...
The implementation depends on creating different code paths from the now-legacy
behavior of text appending.
The annotation system introduced in this commit replaces the current way of
applying formats on text.
Up until now it has been quite a hassle for the user to control the formats, as
it required keeping track of the format positions with an opener and closer
formats almost every time (with the exception of own-closing formats).
The combination of Efl.Text API along with the Efl.Canvas.Text annotation API
essentially replaces the capabilities of the old format.
There is additional annotation API to allow more control, so be sure to check
the documentation/.eo files and the wiki page of Efl.Canvas.Text.
The style API now accepts actual strings of format style. There is not longer
need to instantiate as style with style_new() followed later by style_free().
@feature
2016-06-16 19:15:20 +01:00
Ji-Youn Park
a75fb5763a
evas_canvas: move evas_output_XXX API from eo to legach.
...
evas canvas will be removed from eo.
evas_output_XXX APIs are usually used by widget or e17.
I decided not open these kind of APIs to eo.
app can use the size of elm win instead of evas output apis.
2016-06-13 18:53:06 +08:30
Jean-Philippe Andre
7872690e73
Efl: Move evas size hints to Efl.Gfx.Size.Hint
...
This includes:
- align
- min (now content_min)
- request
- max
- padding (now margin)
- weight
This does NOT include:
- display mode (compress, expand... a hint used by naviframe only).
2016-06-08 17:10:07 +09:00
Jean-Philippe Andre
7d5811a99a
Evas: Move aspect ratio to Efl.Gfx.Size.Hint
...
Problem:
- edje aspect ratio is defined by 1 enum and 2 double (min, max)
- window aspect ratio is defined by only 1 double
- evas object aspect ratio is defined by 1 enum and 2 ints (w, h)
Which one is the best interface? Are min/max a better option?
Also, not sure how to call the enum...
2016-06-08 15:14:11 +09:00
Jean-Philippe Andre
915e09aed3
Evas: Rename Evas.Rectangle as Efl.Canvas.Rectangle
2016-06-02 18:57:30 +09:00
Jean-Philippe Andre
b0a32b0bd0
Efl: Rename Efl.Pointer.Event into Efl.Event.Pointer
...
Also renames two types: Efl.Pointer.Flags and Efl.Event.Flags
2016-05-31 19:03:04 +09:00
Jean-Philippe Andre
f119327495
evas: Move event feed and input to legacy
2016-05-31 19:03:04 +09:00
Jean-Philippe Andre
fb35171186
Evas.Canvas: Move some event_feed to legacy
...
Paving the way to Efl.Pointer.Event...
2016-05-31 19:03:04 +09:00
Derek Foreman
72b1997f06
evas: Add wayland dmabuf native surface type
...
Add the structures required for supporting dmabuf native surfaces
2016-05-18 11:52:24 -05:00
Tom Hacohen
d64f2fdd43
Efl vg: Remove the no longer needed .Base hack.
2016-05-11 13:13:27 +01:00
Subhransu Mohanty
648422c60b
efl: add new efl_gfx_shape_append_arc() api.
...
Reviewers: Hermet, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3895
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-04-18 15:32:39 -07:00
Jean-Philippe Andre
a5b89d8ab3
Evas.Image: Remove pixels_dirty and pixels_callback
...
Those APIs belong to legacy, not Eo. Also, the image object
shouldn't be used directly for GL rendering, instead the GLview
widget should be used.
2016-03-29 14:54:03 +09:00
Jean-Philippe Andre
b8f682b842
Efl.Gfx.Fill: Rename filled to fill_auto
...
fill_filled is a strange name for the property.
fill_auto seems to make more sense. If you disagree, scream at
me or revert this commit.
2016-03-18 13:28:45 +09:00
Jean-Philippe Andre
055ea6445a
Evas image: Move content_hint and scale_hint to Efl.Image
2016-03-15 11:11:59 +09:00
Jean-Philippe Andre
35f8d81d97
Evas image: Deprecate evas_object_image_alpha_mask_set
2016-03-15 11:11:59 +09:00
Jean-Philippe Andre
0c95b69474
Evas.Image: Move native surfaces to Efl.Canvas.Surface
...
X11, TBM and Wayland support are implemented for now.
2016-03-15 11:11:59 +09:00
Jean-Philippe Andre
a58a3532e3
Evas.Image: remove video surface
...
Video stuff should move to a proper player class. I still wonder
how exactly Tizen video should be handled, as they continue to
reject emotion.
2016-03-15 11:11:59 +09:00
Jean-Philippe Andre
06cf9e6bea
Evas.Image: Complete implementation of proxy and snapshot
...
This moves the EO APIs away from Evas.Image and adds the required
legacy bindings.
2016-03-15 11:11:59 +09:00
Jean-Philippe Andre
ba53f0e785
Efl.Gfx.Buffer: Introduce buffer_set/get/copy_set
...
Hopefully the doc and signature are better than the current
evas image equivalents data_get/data_set.
Those APIs are not like map/unmap so we need to decide which
model we prefer.
2016-03-15 11:11:59 +09:00
Jean-Philippe Andre
b458341a13
Efl.Gfx.Buffer: Add interface skeletton
2016-03-15 11:11:59 +09:00
Jean-Philippe Andre
fd2c4b4a26
Evas image: Create interface Efl.Image.Animated
...
This interface groups all low-level animated image functions.
FIXME:
- Rename to Efl.Image.Animated once eolian is fixed
- Fix mess with emile enum (loop_hint)
2016-03-15 11:11:59 +09:00
Jean-Philippe Andre
2d10127524
Evas image: Move filled property to Efl.Gfx.Fill and set as default
...
The filled property should be set to true by default since it
makes more sense. Legacy APIs behaviour is preserved by setting
the default to false.
2016-03-15 11:11:59 +09:00
Cedric BAIL
0ff7429ea7
evas: move Evas_Polygon to become Efl_Canvas_Polygon.
...
TODO: add support for 2 points (aka line).
2016-03-14 15:12:52 -07:00
Tom Hacohen
f24210caac
Revert "Automatic migration to the new eo_add syntax."
...
This reverts commit 4f949a2757
.
2016-03-11 12:29:03 +00:00
Tom Hacohen
4f949a2757
Automatic migration to the new eo_add syntax.
2016-03-09 16:09:14 +00:00
Tom Hacohen
f21ade6123
Automatic migration to Eo4.
...
I just ran my script (email to follow) to migrate all of the EFL
automatically. This commit is *only* the automatic conversion, so it can
be easily reverted and re-run.
2016-03-03 09:58:08 +00:00
Ji-Youn Park
c11764534b
evas: Updated documentation of evas_object_image_save.
2016-01-23 18:06:07 +08:30
Ji-Youn Park
d395a867a4
evas: Updated documentation of evas_object_image_save.
2016-01-23 17:16:34 +08:30
Amitesh Singh
83beb559e9
evas: fix typos in documentation
2015-09-29 09:14:28 +05:30
Jean-Philippe Andre
32dc8f092c
Evas.Image: Deprecate some functions and remove from Eo
...
This patch deprecates the following functions:
- evas_object_image_data_convert
- evas_object_image_pixels_import
- evas_object_image_reload
I could not find any place where they are used.
The old documentation is kept in the header, but not as a doxygen
anymore.
2015-07-02 14:32:07 +09:00
Amitesh Singh
24a5e2cdba
evas: fix typo in API documentation.
...
Summary: Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: raster, Hermet
Subscribers: seoz, cedric, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2462
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-05 10:44:41 +02:00
Cedric BAIL
0b4d525e59
evas: make all of Evas_Object_VG API part of BETA
...
As JP pointed out there is no point of having an API if the only way to use
it is through a BETA API.
2015-04-07 13:11:21 +02:00
Cedric BAIL
899b70d3dc
evas: mark Evas VG API as beta API to.
2015-04-03 16:57:35 +02:00
Subhransu Sekhar Mohanty
f73352adec
evas : add documentation to legacy vector api's.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:02 +02:00
Subhransu Sekhar Mohanty
e80a759139
evas: add legacy api for creating vg_shape and vg_container object.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:00 +02:00
Cedric BAIL
9f8c35002b
efl: add Efl.Gfx.Shape.append_rect following SVG specification.
...
SVG rectangle can have rounded corner.
2015-04-03 16:31:53 +02:00
Cedric BAIL
eb2bd9a8d8
evas: move Evas.VG_* to Efl.VG.*
...
This also introduce legacy API for all of them.
2015-04-03 16:30:59 +02:00
Subhransu Sekhar Mohanty
a068378c83
evas: add documentation for Evas_Object_VG
2015-04-03 16:30:36 +02:00
Cedric BAIL
a395f5ded5
efl: add Efl.Gfx.View and use it in Evas.Image.
2015-04-03 16:23:26 +02:00
Cedric BAIL
7ba7ed4a1c
efl: add Efl.Gfx.Fill and migrate Evas.Image to it.
2015-04-03 16:23:24 +02:00
Cedric BAIL
500fe6ef1b
efl: add Efl.Gfx.Stack interface and update Evas_Object accordingly.
2015-04-03 16:23:22 +02:00
Cedric BAIL
c08f8e26a6
efl: add Efl.Gfx.Base and fix inheritance for Evas_Object.
2015-04-03 16:23:17 +02:00
Cedric BAIL
c2e75544e1
efl: move mmap API to be part of Efl_File class.
2015-04-03 16:23:13 +02:00
Amitesh Singh
0f32ab49ce
evas callback: Fix typo in documentation of evas_object_event_callback_del_full
...
Reviewers: cedric, seoz
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1904
2015-02-03 11:02:20 +09:00