Commit Graph

43 Commits

Author SHA1 Message Date
Jean-Philippe Andre e1092b84eb Edje: Adapt to Efl.Container
This basically renames swallow into content.
2016-04-26 11:36:23 +09:00
Jee-Yong Um 076037bd55 edje: add note to the reference of .part_object_get()
Summary:
For EDJE_RP_TYPE_SWALLOW objects (like GROUP, SWALLOW, EXTERNAL),
edje_object_part_object_get() will return NULL or transparent rectangle.
The note is added to have developers use edje_object_part_swallow_get()
in that case.

Reviewers: jpeg, Hermet, cedric

Reviewed By: cedric

Subscribers: Hermet

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-22 15:17:05 -07:00
Jean-Philippe Andre 8fb8e6d257 Evas render: Fix no-render with smart objects
Setting the no-render flag on an elm widget had no effect,
as it was not properly propagated to its children. This should
fix that, but I'm not a fan of the solution.

Fixes T3371
2016-03-29 10:43:00 +09:00
Jee-Yong Um aa92044422 edje: add edje_object_box_part_insert_after()
Summary:
In evas and elm box, function for inserting child object after
referenced one is available, but edje doesn't have it.
This adds edje_object_box_part_insert_after() API.

@feature

Reviewers: raster, jpeg, cedric

Reviewed By: jpeg

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-28 11:24:06 -07:00
Shuhrat Dehkanov 7e411ecf76 Docs: change 'emittion' to 'emission'
Reviewers: cedric, stefan_schmidt

Subscribers: minkyu, cedric, seoz, jpeg

Differential Revision: https://phab.enlightenment.org/D3823
2016-03-23 11:22:44 +01:00
Jee-Yong Um ee31bb541e edje: add "keys" block to classes setter/getter
Summary:
With "keys" block, make color/text/size_class setter/getter
to @property methods.

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-03 15:27:43 -08:00
Cedric BAIL dae9581d21 edje: correct function that should have been Eo API already. 2016-01-07 16:27:57 -08:00
Jee-Yong Um c963a0f9cb edje: add edje_object_color_class_clear()
Summary: clear all color classes defined in edje object

Reviewers: raster, jpeg

Subscribers: woohyun, cedric, kimcinoo

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:11:01 -08:00
Jee-Yong Um 3e31eda3bd edje: introduce size_class attribute
Edje_Part can change its min or max size in code level with
size_class.

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

PS: Manual commit, arc refused to work...

@feature

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-12-08 12:25:15 +09:00
Youngbok Shin a9b4be11e1 Evas object: Add paragraph_direciton APIs
Summary:
It adds evas_object_paragraph_direction_set, get APIs.
The APIs set or get paragraph direction to/from the given object.
It changes BiDi calculations and affect the direction and aligning of text.
It doesn't have any effect to text without Fribidi library.

The default paragraph direction is EVAS_BIDI_DIRECTION_INHERIT.
If dir is EVAS_BIDI_DIRECTION_INHERIT, paragraph direction is changed
according to smart parent object. If there is no smart parent object,
paragraph direction works as EVAS_BIDI_DIRECTION_NEUTRAL.

@feature

Test Plan:
Test cases included to the following files.
- evas_test_textblock.c
- evas_test_text.c
- evas_test_object_smart.c

Run "make check".

Reviewers: woohyun, raster, herdsman, tasn

Subscribers: c, raster, cedric

Differential Revision: https://phab.enlightenment.org/D1690
2015-11-19 11:43:39 +00:00
Amitesh Singh 86993e172a fix typos in API doc 2015-09-19 09:24:58 +05:30
Amitesh Singh 2710f1fabb edje: set file permission back to 644 2015-08-14 15:29:21 +05:30
ChunEon Park 9027cde720 The default return value of edje_object_base_scale_get API is 1.0.
The return value is used for divisor in many case.
If it return 0.0 when it fail, it can break app with div by zero.

@fix

Signed-Off-By: YoungBok Shin(id213sin) (youngb.shin@samsung.com)
2015-07-15 12:22:41 +09:00
Daniel Kolesa 8b3c3b5a7f edje_object: fix some minor doc problems 2015-07-10 14:02:32 +01:00
Srivardhan Hebbar 7b075a9a96 edje: convert doc of edje_object.eo
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Subscribers: q66, cedric

Differential Revision: https://phab.enlightenment.org/D2797
2015-07-10 11:07:00 +01:00
Cedric BAIL a3c7a83196 edje: add possibility to speed up animation per object.
This could come handy for previewing the effect of accelerating animation.

@feature
2015-06-22 18:46:12 +02:00
Daniel Kolesa 27237976ad eo: move all event doc comments to new syntax 2015-06-11 17:09:02 +01:00
Tom Hacohen a023a04b53 Edje object: Fix remaining Eolian warnings. 2015-06-10 17:23:30 +01:00
Tom Hacohen f716d70008 Edje object: Fix some Eolian warnings regarding callbacks. 2015-06-10 17:07:14 +01:00
Tom Hacohen 24eaad059e Edje object: Fix Eolian warnings (and migrate types).
Also add an eot file for general edje types.
2015-06-10 16:56:48 +01:00
Avi Levin b563efc52f edje: porting evas smart callbacks to eo
It's the first stage of replacing calls of evas_object_smart_callback_add/del/call
with eo_callback_add/del/call.
This will reduce the use of legacy events and callbacks lists in
smart_object which in turn will improve performance and reduce memory
use.
2015-06-07 09:55:41 +03:00
Tom Hacohen 6190f3cb46 Edje object: Fix more Eolian warnings. 2015-06-03 11:30:41 +01:00
katpavalli ff1184df2e edje: add ability to change the language on one specific edje object.
Summary:
   Add a new property to edje_object.eo for setting the language on one Edje_Object.

Test Plan:
Test Code to test this implementation is done as part of efl/src/examples/edje/edje-text.c and efl/src/examples/edje/text.edc
   edje_cc -md <dir path>/efl/src/examples/edje/ text.edc && gcc -o edje-text edje-text.c `pkg-config --libs --cflags ecore-evas edje evas ecore eo`
   ./edje-text

   1) Click On the text "Click here"
      The language gets changed as per the specific edje object.

   2) Click on the text object at bottom. "Click here"
      The system language gets changed and the below two edje objects language are changed globally.

Reviewers: cedric, shilpasingh

Subscribers: poornima.srinivasan, govi, rajeshps, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-01 17:50:02 +02:00
Tom Hacohen 86e2e52baa Evas object: Migrate (some) types to .eo files. 2015-06-01 14:01:11 +01:00
Daniel Kolesa 378e161cd3 eolian: remove @const_get occurences in the EFL 2015-05-20 17:48:52 +01:00
Daniel Kolesa 058a9c9d88 eolian: new syntax for params/values/keys
Instead of "@in type name;" we now use "@in name: type;". This change
is done because of consistency with the rest of Eolian; pretty much
every other part of Eolian syntax uses the latter form.

This is a big breaking change in the .eo format, so please update your
.eo files accordingly and compile Elementary together with the EFL.

@feature
2015-05-18 16:14:31 +01:00
Daniel Kolesa ed0988a22d eolian: change all EFL .eo files to use new syntax for properties 2015-05-07 16:36:58 +01:00
Cedric BAIL c2e75544e1 efl: move mmap API to be part of Efl_File class. 2015-04-03 16:23:13 +02:00
Sohyun Kim 10670094c1 edje: add text_class_get() APIs
Summary: No APIs to get text_class for global hash and object hash

Reviewers: woohyun, cedric, raster

Reviewed By: cedric, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2213
2015-03-26 02:53:22 +09:00
Mike Blumenkrantz 1cf630f2bd edje color classes can now have text descriptions
@feature
2015-03-07 13:44:52 -05:00
Jaehwan Kim 1e21a4c323 scale: add the API edje_object_base_scale_get.
This function returns the base_scale factor set on the
Edje object.
The base_scale can be set in the collection of edc.
If it isn't set, the default value is 1.0.
2014-10-16 13:45:30 +09:00
Daniel Kolesa f86c2d4e5a eolian: remove accessor params feature
Temporarily replace it with @const_get and @const_set tags in values section.
2014-09-10 15:06:43 +01:00
Daniel Kolesa 4875123472 eo: update the EFL to use builtin complex types 2014-09-09 14:21:39 +01:00
Jihoon Kim 715da43d3a Add edje_object_part_text_input_hint_set/get API
Sets or get the input hint which allows input methods to fine-tune their behavior.
2014-09-01 19:01:54 +09:00
Tom Hacohen ceada9523f Efl interfaces: Drop interface namespace from the used interfaces.
We don't need this namespace, it just makes the names long and complicated.
2014-08-21 11:02:11 +01:00
Tom Hacohen 3a468f7ad3 Efl interface file: Start using the new interface. 2014-08-21 11:02:11 +01:00
Daniel Kolesa 459638c2b9 eolian: more consistent syntax
"legacy foo" is now "legacy: foo" and "return foo" is now "return: foo".
2014-08-21 09:26:03 +01:00
Daniel Kolesa d8e54e2636 eolian: use new syntax for const methods as per wiki 2014-07-22 17:13:24 +01:00
Daniel Kolesa 3798eb2f99 eolian: move eina types to namespaced syntax 2014-07-21 16:30:23 +01:00
Daniel Kolesa c9744596de eolian: builtin bool type, and change the eo files to use that 2014-07-11 14:40:49 +01:00
Tom Hacohen 25ef15dedc Evas object smart eolian: Update namespace. 2014-06-30 17:47:07 +01:00
Tom Hacohen 37bc841fcc Evas smart clipped eolian: Update namespace. 2014-06-30 17:47:07 +01:00
Tom Hacohen aa450fa8dd Edje eolian: Fix namespaces for all of the edje classes. 2014-06-30 17:47:06 +01:00