Commit Graph

29 Commits

Author SHA1 Message Date
Daniel Hirt a7cb1eb502 Ui text: track changes made in text object
This is required when a user uses the Efl.Canvas.Text API to change the content.
2016-07-12 11:01:45 +00:00
Daniel Hirt 113f828b3c Ui text: bring back selection handlers support 2016-07-12 11:01:45 +00:00
Daniel Hirt fe69830261 Ui text: cleanup some port leftovers 2016-07-12 11:01:45 +00:00
Daniel Hirt 491b323d06 Ui text: instantiate canvas text obj before smart_add 2016-07-12 11:01:45 +00:00
Daniel Hirt 51e4ec2d5c Ui text: bring back some atspi support 2016-07-12 11:01:45 +00:00
Daniel Hirt 420d9373cf Ui text: cleanup ifdef 2016-07-12 11:01:45 +00:00
Daniel Hirt 2bc943d3bb Ui text: make scroller work 2016-07-12 11:01:45 +00:00
Daniel Hirt 1032198946 Ui text: use the right clip 2016-07-12 11:01:45 +00:00
Daniel Hirt dac18347c4 Ui text: remove old edje callbacks 2016-07-12 11:01:45 +00:00
Daniel Hirt f13b5aebc8 Ui text: port changed_cb from entry 2016-07-03 17:10:57 +00:00
Daniel Hirt 5c776eb534 Ui text: move defer call to a function
Make it easier to call/debug this.
2016-07-03 17:10:57 +00:00
Daniel Hirt eaee241348 Ui text: fix leak in selection_changed 2016-07-03 17:10:56 +00:00
Daniel Hirt 01872dc1e6 Ui text: fix invalid call to image api 2016-07-03 17:10:56 +00:00
Daniel Hirt 391fdc5cac Ui text: send signals to cursors explicitly
The edje code used to register the cursor objects as "edje sub-objects" of the
edje entry object. This is not edje API, so will send these signals explicitly
to the objects.
2016-07-03 17:07:29 +00:00
Jinyong Park 3271ec8d18 theme: return enum from elm_widget_style_set instead of bool
Summary:
if trying to apply incorrect theme, widget apply default theme and return TRUE.
so there is no way to check it really apply correct theme.
To resolve this problem, _elm_theme_set return three type enum

* related history : 4ca3ef4514
* elm_object_style_set is public api, so I didn't change it.
* typedef name [ Theme_Apply ] is temporarily, please suggest better one.

@fix

Reviewers: singh.amitesh, herb, Hermet, cedric, jpeg, raster

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4073
2016-07-01 15:09:43 +09:00
Jee-Yong Um 8a988717e1 elementary/layout: attach edje object API with eo compositing
Test Plan: make check

Reviewers: Hermet, jpeg, cedric

Subscribers: slotus.lee

Differential Revision: https://phab.enlightenment.org/D3871

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-06-27 11:18:05 -07:00
Daniel Hirt dac29ba70b Ui text: defer decorations to one job
Also, remove callbacks on the deletion.
2016-06-27 15:18:08 +00:00
Daniel Hirt 41de795530 Ui text: port item support from Entry
This uses the annotations API to retrieve items and their geometries, instead of
the old format API.
2016-06-27 15:18:08 +00:00
Daniel Hirt a9546e36ec Ui text: add cursor_new method
The cursor object is meant to be instantiated in the following manner:
   eo_add(EFL_CANVAS_TEXT_CURSOR_CLASS, text_obj,
      efl_canvas_text_cursor_text_object_set(eo_self, text_obj));

This can't be done directly on the Ui Text object, so it has to be with an
method call, sadly.

@feature
2016-06-27 15:18:08 +00:00
Tom Hacohen 2fd8861874 Ui text: Add an editable variant (tiny wrapper).
As part of this commit, also add a way to change whether the widget is
editable or not.
2016-06-22 14:34:38 +01:00
Jean-Philippe Andre 7bf8da2baa evas: Rename Evas.Object to Efl.Canvas.Object
One step closer to make the EO inheritance tree look like
it's all Efl.
2016-06-21 14:35:19 +09:00
Tom Hacohen 6202cc7485 Adjust the code according to the eo event stop changes.
This was changed in the previous commit.
2016-06-20 18:02:00 +01:00
Stefan Schmidt ecdbde7493 eo: remove now longer needed EO_BASE_BETA define from code base
This was needed when the eo composite object was still in beta. Since commit
d7c45e41d4 this is no longer the case. No beta
part left in eo base so we can safely remove this define.
2016-06-20 10:07:30 +02:00
Jean-Philippe Andre 52f9220b3f Evas: Rename smart object into Efl.Canvas.Group 2016-06-17 19:32:43 +09:00
Jean-Philippe Andre 42b63f5507 Evas: Add smart_ prefix to all smart functions (eo)
This is a first step at separating legacy smart
object features away from standard efl interfaces.
2016-06-17 19:25:48 +09:00
Jean-Philippe Andre 9a052a740d Evas: Move smart_callbacks_descriptions to legacy 2016-06-17 19:25:47 +09:00
Daniel Hirt 3c5b0bc1b5 Ui text: store SEL_FORMAT_TEXT only for now. 2016-06-16 19:15:20 +01:00
Daniel Hirt aa4b93e250 Ui text: fixup build 2016-06-16 19:15:20 +01:00
Daniel Hirt dbc82782d1 Ui text: introduce this new text widget
This composite object utilizes the Efl.Canvas.Text, Efl.Canvas.Text.Cursor and
Efl.Ui.Interactive API to server as a proper replacement for the Elm Entry
widget.

@feature
2016-06-16 19:15:20 +01:00