path: root/src/lib/evas/canvas/efl_canvas_object.eo (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gfx: Remove size hint request (EO)Jean-Philippe Andre2017-08-231-1/+0
| | | | | | | This hint is simply not supported by any container. Add the EO API back if the containers support it. Ref T5487
* eo debug name: Use strbuf instead of slstrJean-Philippe Andre2017-08-041-1/+1
| | | | | This should be a little bit more efficient, even if more "risky" in terms of leaks. The final API still looks exactly the same.
* evas/edje/elm: Override debug_name in core classesJean-Philippe Andre2017-08-041-0/+1
| | | | | | | | | | | | This is really only a demonstration of what kind of information we can print with efl_debug_name_get(). Hopefully this can help debugging with printf/ERR logs and even help with live debugging inside gdb. This shouldn't be used for other purposes than debugging, as the exact string format is not defined. @feature
* evas: Make all EO canvas objects visible by defaultJean-Philippe Andre2017-08-041-0/+1
| | | | | | | | | | | | | | All legacy objects remain invisible by default. Any call to visible_set() will prevent the automatic show() to happen. show() will be done just before render time, which may be a bit too late in order to propagate the necessary changes. This may break some things where some objects are created internally using efl_add() instead of the legacy API, and the intent was not to show the object. @feature
* evas: add some functions for determining if pointer coords are inside an objectMike Blumenkrantz2017-06-091-0/+50
| | | | @feature
* interfaces: Remove display_mode from EO size hintsJean-Philippe Andre2017-05-311-1/+0
| | | | | | | | | This size hint is only used by naviframe, which is not part of our EO widgets. I also believe it might be an even more confusing hint than the others. I kept the typedef as is in Evas_Legacy.h in case an app is written using EFL_GFX_ instead of EVAS_...
* evas: Make Efl.Canvas.Object.type internalJean-Philippe Andre2017-05-191-12/+0
* evas: Make Efl.Canvas.Object.legacy_ctor internalJean-Philippe Andre2017-05-191-4/+0
| | | | Continuing...
* evas: Remove unnecessary imports of evas_typesJean-Philippe Andre2017-05-161-1/+0
| | | | Ref T5312
* evas: Replace Evas.Modifier_Mask with Efl.Input enumsJean-Philippe Andre2017-05-161-26/+10
| | | | | | | | | | | | | | | | | This removes Evas.Modifier_Mask from EO. This introduces two new types instead: - Efl.Input.Modifier - Efl.Input.Lock Those are enums, not strings, containing all the known and currently supported lock and modifier keys. The enums are bit masks. This effectively removes the ability for an application to create and handle specific modifier or lock keys - with EO API (legacy compatibility is unchanged, of course). I wonder who ever required this?
* evas map: Introduce new API for maps (Efl.Gfx.Map)Jean-Philippe Andre2017-05-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements an entirely new API model for Evas Map by relying on high-level transformations on the object rather than an external Evas_Map structure that needs to be constantly updated manually. The implementation relies on Evas_Map. To rotate an object all you need to do now is efl_gfx_map_rotate(obj, 45.0, NULL, 0.5, 0.5); Or with a C++ syntax: obj.rotate(45.0, NULL, 0.5, 0.5); Or even simply (with default arguments): obj.rotate(45.0); The map transformation functions are: - rotate - rotate_3d - rotate_quat - zoom - translate (new!) - perspective_3d - lightning_3d @feature
* evas: adjust pointer mode set to work in headless scenario.Cedric BAIL2017-05-091-0/+6
| | | | | | | With the wayland backend, it is posible to have no seat connected until later. This would lead to calling evas_object_pointer_mode_set and fail without returning a boolean it was impossible to detect it did fail. This patch correct it.
* eo: hide dbg_info from eo filesDaniel Kolesa2017-04-211-1/+0
| | | | Continues b780cf2af299ce17be260486bb7ab64badddbaec.
* eo: move unbindable event APIs to CDaniel Kolesa2017-04-201-2/+0
| | | | | | | | | In a few classes, this requires some manual expansion. This should not break anything but it's also fairly ugly; a better solution would be appreciated, for now we do this. Similar changes will be done to a few other Efl.Object APIs as well at later point.
* Efl.Canvas.Object: Multi-seat API should not be exposed to legacy.Guilherme Iscaro2017-03-021-2/+16
| | | | | | | | | | | | | | Summary: This new kind of APIs should be EO only. Reviewers: jpeg, cedric, barbieri, bdilly, stefan_schmidt Reviewed By: cedric, barbieri Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4696 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: use new property impl syntaxDaniel Kolesa2016-12-271-40/+22
* evas: Make evas object loop usersJean-Philippe Andre2016-12-131-1/+2
| | | | | | This makes efl_loop_get() work on evas objects, returning the main loop as expected. Also make the loop a property of the Loop_User class (shouldn't it be called Efl.Loop.User instead?)
* Efl.Canvas.Object: Override efl_event_callback_[legacy]_call.Guilherme Iscaro2016-12-121-0/+2
| | | | | | In order to properly block events from a given seat, Efl.Canvas.Object must override the efl_event_callback_[legacy]_call to check if the event is allowed or not.
* Evas: Add seat_event_filter_set()/get() API.Guilherme Iscaro2016-12-121-0/+2
| | | | | | With this new API one can block or unblock keyboard, mouse and focus events that was originated from a seat. This is useful to create applications that wants to establish some kind of seat segregation.
* Evas: Add support for per mouse pointer mode/properties.Guilherme Iscaro2016-12-021-1/+32
| | | | | | This patch introduces the possibility to set the pointer mode and query other properties like current position per pointer device. The old API will still works, however it will only act on the default seat.
* Efl.Canvas.Object: Remove focus,in/out events.Guilherme Iscaro2016-11-241-6/+0
| | | | | Since this object already inherist Efl.Input.Interface there's no need to have those events reimplemented.
* evas: Add function on object to check is pointer is inJean-Philippe Andre2016-11-231-0/+14
| | | | | | | | | | | | | | | | | | | | This fixes invalid mouse cursor used when windows are created. Due to the changes in the border theme and the fact that a border is now always created, the event region "elm.resize.bl" contains the point (0,0) when the window size itself is 1x1. As a consequence every EFL application would permanently have a cursor like the resize bottom/left handle. This fixes that by properly checking whether the pointer is inside an object based on the ins list, and not just the object geometry. @feature See also: b735386a459d7f432f4aad63c017ede2ae0026d1
* elm/evas: Fix disappearance of window icons with CSDJean-Philippe Andre2016-11-161-7/+11
| | | | | | | | | | | | | | | | | | | After a few patches trying to fix clipping of frame or non-frame objects the icon finally ended up invisible. Even if the elm_icon was marked as is_frame, its internal evas object image would not have the flag set, thus it would be clipped out. Solution: Propagate the is_frame flag to all smart children, not only when setting it but also when adding new members. A hack with the API indicates that the frame edje is a very special object that does not propagate the flag. See also: 7ce79be1a1748c32c4d0e58358ce2242902cf89b 0f6c33eff106f7235351dd51ce7835041f548cc1 9c9c8809a7d90a5ab61c2c930c4cdaeb1d8e8c6a ac5ca9281c5ea374fb6d77c867cf478f29e70a83
* docs: evas_canvas: fill gaps in evas canvas eo file documentationStefan Schmidt2016-11-151-4/+6
* Evas: Add support for multiple focused objects.Guilherme Iscaro2016-11-081-0/+53
| | | | | | | Using the multi-seat support, Evas is able to handle multiple focused objects. This implementation allows one focused object per seat. This patch introduces new APIs and events to handle this new scenario, while keeping compatible with the old focus APIs.
* evas: Move clip_unset to legacy, remove group_clipJean-Philippe Andre2016-10-121-40/+7
| | | | | | | | | | | | Similarly to group_color_set, group_clip_[un]set should not exist and should be a result of efl_super and inheritance. This patch also removes clip_unset from the EO API and keeps only clip_set(NULL). The reason is that it will avoid bad overrides of clip_unset() vs. clip_unset(NULL). This also simplifies the code a bit. Ideally we should be able to reintroduce clip_unset in EO if we can have a "@final" tag (like java's final keyword), to prevent overrides.
* efl: Rename Efl.Event.XX to Efl.Input.XXJean-Philippe Andre2016-08-261-4/+4
| | | | | | | | | | | | | | | | | This removes: Efl.Event interface And renames: Efl.Event.Input -> Efl.Input.Event Efl.Event -> Efl.Input.Event (merged) Efl.Event.Pointer -> Efl.Input.Pointer Efl.Event.Key -> Efl.Input.Key Efl.Event.Hold -> Efl.Input.Hold This also moves some interfaces from efl/ to evas/ where they belong better. This allows renaming Eo_Event to Efl_Event.
* evas: Remove deprecated events from public EO classJean-Philippe Andre2016-08-261-2/+0
| | | | | del and free eo events don't need to be exposed, even as beta API. They are still required for legacy callbacks.
* evas: Fix ordering of input eventJean-Philippe Andre2016-08-161-12/+0
| | | | | | | | | | The previous patch 1185c40e508ca2ecc4c5e86b shows how having two event types for the same thing (key or mouse input events) was a bad idea. The only guaranteed order of callbacks is the priority but even that was not enforced (since legacy or eo style event had to come first). Fixes T4310
* Change the EFL to follow the new Eo rename.Tom Hacohen2016-08-111-6/+6
* evas object: Move display_mode to Efl.Gfx.Size.HintJean-Philippe Andre2016-06-301-22/+2
* evas: Move map to a separate mixinJean-Philippe Andre2016-06-291-95/+4
| | | | | | Evas map is not translated to proper eo apis yet. Efl.Canvas.Map will be a mixin implementing the evas map API in a bindable API.
* Evas events: Implement support for hold eventJean-Philippe Andre2016-06-271-1/+1
* evas object: Hide "del" eventJean-Philippe Andre2016-06-271-1/+1
| | | | In EO world, we should stick to EO_EVENT_DEL.
* evas: Remove common interface and use provider_findJean-Philippe Andre2016-06-211-4/+3
| | | | | | | | Evas.Common_Interface not only had a bad name, it also wasn't in line with how we can get a loop object, for instance. Use eo_provider_find in each implementing class.
* evas: Rename Evas.Object to Efl.Canvas.ObjectJean-Philippe Andre2016-06-211-0/+731
One step closer to make the EO inheritance tree look like it's all Efl.