Commit Graph

142 Commits

Author SHA1 Message Date
Vorobiov Vitalii 2155e8a3fb edje_edit: Add edje_edit_part_item_aspect_mode functions.
Summary:
Add two main functions for TABLE and BOX part items:
- edje_edit_part_item_aspect_mode_get
- edje_edit_part_item_aspect_mode_set

Also add support to generate source code of changed aspect mode for an item

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1075
2014-07-03 16:59:16 +09:00
Andrii Kroitor 8c74a8fbb0 Edje_Edit: added API for group.limits
Summary:
added functions:
edje_edit_group_limits_vertical_list_get
edje_edit_group_limits_vertical_add
edje_edit_group_limits_vertical_del
edje_edit_group_limits_horizontal_list_get
edje_edit_group_limits_horizontal_add
edje_edit_group_limits_horizontal_del
edje_edit_limits_list_free

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1073
2014-07-03 16:54:44 +09:00
Igor Gala ddac21534f edje: Edje-Edit: edje_edit_state_map_perspective_xet()
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set  part's name which is used as 'perspective point'
for giving a part '3d look'.
@feature

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D1047
2014-07-03 16:23:15 +09:00
Tom Hacohen aa450fa8dd Edje eolian: Fix namespaces for all of the edje classes. 2014-06-30 17:47:06 +01:00
Kateryna Fesyna 7c1a78cfd2 edje: Edje_Edit - add edje_edit_sound_tone_add() function that allows user to add new tone to collection
Summary:
New function provides the ability to add new tones to currently loaded collection.
It takes the name that will define new tone in collection and its frequency as parameters.

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:25 +02:00
Kateryna Fesyna 244d42b280 edje: Edje_Edit - add functions that provide the ability to set and get source for proxy parts state
Summary:
This commit contains two new functions that provide the ability to set and get
source property of proxy parts state:
edje_edit_state_proxy_source_get() and edje_edit_state_proxy_source_set().
Also it contains the implementation of printing source data on
edc code generation.

@feature

Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:24 +02:00
Kateryna Fesyna 7c8764bf39 edje: Edje_Edit - add missed iterator and object deletion in _delete_play_actions() function
Summary:
this commit adds missed eina_iterator_free() and evas_object_del() calls
in _delete_play_actions() functions.

@feature

Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v, tasn

Reviewed By: reutskiy.v.v

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:24 +02:00
Maksym Volodin 748e548763 edje: Edje_Edit - add edje_edit_part_item_del.
Summary:
Delete exist item from part. This part should have BOX or TABLE type.
In parametr - name of exist item to delete it from BOX or TABLE.

@feature

Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:24 +02:00
Andrii Kroitor cdc477e2f7 edje: Edje_Edit - add API for missing map properties
Summary:
added getters & setters for
collections.group.parts.part.description.perspective.zplane
collections.group.parts.part.description.perspective.focal
collections.group.parts.part.description.map.rotation: x, y, z
collections.group.parts.part.description.map.smooth
collections.group.parts.part.description.map.alpha
collections.group.parts.part.description.map.perspective_on
collections.group.parts.part.description.map.backface_cull

@feature

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 11:33:24 +02:00
Jean-Philippe Andre 476d5245ec Edje_Edit: Fix shadow warnings 2014-06-18 16:28:37 +09:00
Jean-Philippe Andre b06af7ace0 Edje: Add LOSSY_ETC2 to Edje_Edit
Found out using edje_inspector...
2014-06-18 16:28:37 +09:00
Mykyta Biliavskyi e7550e7bbf edje: Edje_Edit - add edje_edit_without_source save function.
Summary:
Add function, which provide fast save group(s) back into edj file,
bypassing the source code generation.

Reviewers: raster, seoz, cedric, Hermet, reutskiy.v.v

CC: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 17:08:27 +02:00
Vorobiov Vitalii 7d381a01ef edje: Edje_Edit - fix compiler warnings for edje_edit_part_item_source_get/set
Summary:
Just fixing compiler warning giving NULL to the main variable inside of those functions.

@fix

Reviewers: cedric, seoz, Hermet, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 17:07:27 +02:00
Igor Gala 8370b22fa8 edje: Edje_Edit - add edje_edit_part_entry_mode_xet()
Summary:
There are new 'get and set' API for block 'entry_mode'. These
 properties have only parts with type 'TEXTBLOCK'. These functions return or set
entry mode for a given part.
@feature

Reviewers: seoz, cedric, Hermet, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 16:04:43 +02:00
Igor Gala 036267c4f5 edje: Edje_Edit - add edje_edit_state_map_rotation_center_xet()
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set part's name which is used as center for rotation.
@feature

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 16:04:43 +02:00
Vorobiov Vitalii bb878758e6 edje: Edje_Edit - add edje_edit_part_item_align functions.
Summary:
Getters and setters of align for box/table items.
Following functions were added:
- edje_edit_part_item_align_x_set
- edje_edit_part_item_align_x_get
- edje_edit_part_item_align_y_set
- edje_edit_part_item_align_y_get
@feature

Reviewers: raster, seoz, cedric, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 16:04:43 +02:00
Igor Gala 7e4b9b6f09 edje: Edje_Edit - add edje_edit_state_map_light_xet()
Summary:
There are new 'get and set' API for block 'map'.
Those functions return or set part's name which is used as 'light'
for calculating the brightness.
@feature

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-17 16:04:43 +02:00
Kateryna Fesyna 782b93a65e edje: Edje_Edit - add functions that allow user to set and get the value of states limit property
Summary:
This commit contains two new functions edje_edit_state_limit_get() and
edje_edit_state_limit_set(). These functions allow user to set and get value of
states 'limit' property value. Also it provides an internal type to represent
limits (Edje_Edit_State_Limit) and implements printing of limits value on edc code
generation.

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-16 17:01:31 +02:00
Vorobiov Vitalii 32024b076a edje: Edje_Edit - add edje_edit_part_item_padding functions.
Summary:
1. Changing item's paddings and getting current padding of the item.
Add getter and setter functions for padding of the item.
- edje_edit_part_item_padding_get
- edje_edit_part_item_padding_set

2. Also some code generatings fixes for paddings, box/table and max values.

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-16 16:59:02 +02:00
Kateryna Fesyna 8ae41a547b edje: Edje_Edit - add functions that allow user to set and get value of fill type
Summary:
This commit contains two new functions for setting and getting value of
fill type of IMAGE and PROXY parts: edje_edit_state_fill_type_get() and edje_edit_state_fill_type_set()
Also with this commit printing of not default value of fill type (TILE) on generation of edc code is added.

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-16 16:56:32 +02:00
Igor Gala 0500f4f33f edje: Edje_Edit - edje_edit_sound_compression_type_xet()
Summary:
There are new 'get and set' API for block 'sound'.
Those functions return or set compression type for a given sound.
@feature

Reviewers: cedric, raster, Hermet, seoz

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-16 16:51:31 +02:00
Igor Gala 6d62dab6ab edje: Edje_Edit - edje_edit_part_select_mode_xet()
Summary:
There are new 'get and set' API for block 'select_mode'. These
properties have only parts with type 'TEXTBLOCK'. These functions return or set
select mode for a given part.
@feature

Reviewers: seoz, cedric, Hermet, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-13 18:13:01 +02:00
Vorobiov Vitalii 08075be885 edje: Edje_Edit - add bunch of BOX and TABLE param get/set functions.
Summary:
Add some functions for setting and getting params of the items in BOX or TABLE parts.
Next item's params are added:
- min
- max
- prefer
- aspect

Functions of them looks like that:
- edje_edit_part_item_min_w_get
- edje_edit_part_item_min_w_set
- edje_edit_part_item_min_h_get
- edje_edit_part_item_min_h_set
- edje_edit_part_item_prefer_w_set
- ... etc

Also this commit adds code generation for them.

@feature

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-13 18:11:29 +02:00
Vorobiov Vitalii 246df08184 edje: Edje_Edit - add edje_edit_part_item_source functions.
Summary:
Changing item's sources and getting current source of the item.
Add getter and setter for functions with source value in item.
Main functions:
- edje_edit_part_item_source_get
- edje_edit_part_item_source_set

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-13 18:02:37 +02:00
Kateryna Fesyna ad1c183897 edje: Edje_Edit - add functions that allows user to set and get frequency value of tones in collection
Summary:
This commit contains two new functions for tones editing:
edje_edit_sound_tone_frequency_set() and edje_edit_sound_tone_frequency_det()
To avoid code duplication the macross GET_TONE_BY_NAME is added and the
lines that performed the search of tone by name are replaced with this macro.

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-13 18:01:26 +02:00
Igor Gala 76d02d1e70 edje: Edje_Edit - some minor edits
Summary:
rename function edje_edit_sound_xxxxx_get in h-file for matching
like in c-file. This function has not called anywhere. So it should be no problem.
@fix

Reviewers: seoz, raster, Hermet, cedric

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-13 18:00:26 +02:00
Kateryna Fesyna a06279e4ef edje: Edje_Edit - add functions to provide the ability to set and get the values of step parameter in parts state description
Summary:
This commit contains two new functions that provide the ability to set and
get the values of step parameter in parts state description. Also the printing of step value
on code generation is added.

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-13 17:54:58 +02:00
Maksym Volodin fe734165cb edje: Edje_Edit - add edje_edit_part_items_list_get.
Summary: Get the list of names of all part items in the given edje.
@feature

Reviewers: cedric, raster, seoz, Hermet

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-12 19:16:08 +02:00
Igor Gala e8cebd6ce7 edje: Edje_Edit - edje_edit_sound_compression_rate_xet()
Summary:
There are new 'get and set' API for block 'sound'.
Those functions return or set quality of the compression for a given sound.
@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-12 19:11:59 +02:00
Kateryna Fesyna a810012d57 edje: Edje_Edit - add edje_edit_sound_sample_add() function that allows user to add new sound sample to collection
Summary:
New function provides the ability to add new sound samples to currently loaded collection.
It takes path to the sound-file and name that will define this sound in collection as parameters.
The sound-file of created sample will be imported to .edj-file. Due to the fact that the
edje_import_font_file() function performs the same actions as we need to perform for importing
sound file, it is renamed to _edje_edit_file_import() that takes one additional
parameter that specifies the compression level for eet_write(). This renaming is done to
avoid code duplication.
Also this commit provides small fix that shifts all the items of arrays of tones and samples
after deletion of tone or sample correspondingly. This fix simplifies the calculation of
id of item on adding new sample or tone. Also it makes generated .edc-code look better.

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-12 18:46:34 +02:00
Igor Gala 873eb4151f edje: Edje_Edit - edje_edit_state_text_size_range_min_max_xet()
Summary:
There are new 'get and set' API for block 'text.size_range'.
Those functions return or set the min and max font size for a given text part.
@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-12 02:24:26 +02:00
Vorobiov Vitalii 206722a6e9 edje: Edje_Edit - add edje_edit_program_transition functions.
Summary:
Add getter and setter for functions with transition value.
Next functions are prepared:
- edje_edit_program_transition_value1_set
- edje_edit_program_transition_value1_get
- ...
Functions are made for value1, value2, value3 and value4.

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-12 02:16:38 +02:00
Igor Gala 6f7233b473 edje: Edje_Edit - edje_edit_state_text_repch_xet()
Summary:
There are new 'get and set' API for block 'text.repch'.
Those functions return or set replacement character for a given text part.
This string is used to replace every character to hide the details of the entry.
Normally you would use a "*", but you can use anything you like.
@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-12 02:15:23 +02:00
Kateryna Fesyna 9c79b7f0f8 edje: Edje_Edit - add edje_edit_sound_tone_del() function that provides the ability to delete tone from collection.
Summary:
Added new function that allows user to delete tonefrom collection.
After successfull deletion this function will check if this sound was in use in any
PLAY_TONE action in any program of current collections groups. If such actions
are found, they will be deleted.
This commit moves action deletion into the static _delete_play_actions() function
and replaces corresponding part of  edje_edit_sound_sample_del() with
the call of this function.

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-12 02:14:40 +02:00
Vorobiov Vitalii 64a79017ad edje: Edje_Edit - add edje_edit_state_minmul functions.
Summary:
Add two main functions
- edje_edit_state_minmul_w_set
- edje_edit_state_minmul_h_set
- edje_edit_state_minmul_w_get
- edje_edit_state_minmul_h_get
Also support minmul into state's source code generation.

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Vorobiov Vitalii 942322a1eb edje: Edje_Edit - add edje_edit_part_item_append functions.
Summary:
First function of the "BOX and TABLE support" feature.
Implements only few stuff
- edje_edit_part_item_append function, that append new item to the items of BOX or TABLE part
- support TABLE and PART source code generation

@feature

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Igor Gala 16d79850a8 edje: Edje_Edit - edje_edit_state_text_text_source_xeg()
Summary:
There are new 'get and set' API for block 'text.source'. Those function
return or set the name of part which is source of text for given part.
@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Igor Gala e15b8c27ac remove unnecessary second checks on validity
Summary:
Some checks were removed, becouse they are useless, due macross
GET_PD_OR_RETURN(NULL) does all this work.
@fix

Reviewers: seoz, cedric, raster, Hermet

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D980
2014-06-10 17:39:44 +02:00
Kateryna Fesyna 05a8f2eac6 edje: Edje_Edit - add edje_edit_sound_sample_del() function that provides the ability to delete sound sample from collection.
Summary:
Added new function that allows user to delete sound sample from collection.
After successfull deletion this function will check if this sound was in use in any
PLAY_SAMPLE action in any program of current collections groups. If such actions
are found, they will be deleted.
Also, this commit fixes code generation on edj-file saving:
- sound block generation is added.
- PLAY_SAMPLE and PLAY_TONE actions code generation is added.

@festure

Reviewers: cedric, Hermet, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Igor Gala e1b4c70f3d edje: Edje_Edit - edje_edit_state_text_class_xet()
Summary:
There are new 'get and set' API for block 'text_class'. Those function
return or set the name of text class which would be used similar to color_class,
this is the name used by the application to alter the font family and size at runtime.
@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-10 17:39:44 +02:00
Igor Gala 18beac3732 edje: Edje_Edit - fix func edje_edit_state_text_source_set()
Summary:
There are new API for block 'text.source' get and set. Those function
return or set the name of part which is source style for given part.

@fix

Reviewers: seoz, Hermet, cedric, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-09 20:54:54 +02:00
Daniel Zaoui b9b90ac204 Edje Edit: Fix shadow declarations. 2014-06-08 12:40:42 +03:00
Maksym Volodin 60674b5444 edje: Edje_Edit - add edje_edit_group_broadcast_signal_set/_get.
Summary:
Add two main functions:
edje_edit_group_broadcast_signal_set/_get.
_get return EINA_FALSE if group not accept broadcast signal, EINA_TRUE otherwise (Default to true since 1.1.).
Also support access into group's source code generation.

Reviewers: seoz, Hermet, raster, cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-07 23:04:43 +02:00
Mykyta Biliavskyi 031216369a edje: Edje_Edit - add parameters to generate source code for part.
Summary:
Add generate source code for absent parameters for part description.
Also use fields from internal structure Edje_Real_Part instead call public API

@feature

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-06 18:29:17 +02:00
Jérémy Zurcher 82b852850f fix memory leak in Eina_Strbuf usage
buf was not freed on error, and never on success

CID 1194715
2014-06-06 00:13:11 +02:00
Jérémy Zurcher 70092ae92e fix memory leak in Eina_Strbuf usage
buf wasn't freed on success neighter on
edje_edit_image_compression_type_get(...) failure

CID 1194716
2014-06-06 00:13:11 +02:00
Vorobiov Vitalii 125bbf67b9 edje: Edje_Edit - add edje_edit_part_cursor_mode functions.
Summary:
Add two main functions
- edje_edit_part_cursor_mode_get
- edje_edit_part_cursor_mode_set
Also support cursor_mode into part's source code generation.

@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-05 19:43:52 +02:00
Vorobiov Vitalii f587307a94 edje: Edje_Edit - add edje_edit_part_multiline functions.
Summary:
Add two main functions
- edje_edit_part_multiline_get
- edje_edit_part_multiline_set
Also support multiline into part's source code generation.

@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-05 19:43:07 +02:00
Mykyta Biliavskyi 793cef0d04 edje: Edje_Edit - Improved speed generate source code for program.
Summary:
_edje_generate_source_program gets Edje_Program pointer from _edje_program_get_byname
at start of function,but in body calls public methods for get parameters of programs.
Each of this methods calls _edje_program_get_byname, what make generation of source
whole program is  slow.
Replaced public API calls with using fields of Edje_Program structure.

Reviewers: cedric, raster, seoz, Hermet

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-05 19:41:51 +02:00
Maksym Volodin 5cbceec23f edje: Edje_Edit - add edje_edit_group_orientation_set/_get.
Summary:
Set or get orientation for group:
0 for EDJE_ORIENTATION_AUTO, 1 for EDJE_ORIENTATION_LTR, 2 for EDJE_ORIENTATION_RTL.
_get return 0 (AUTO), 1 (LTR), 2(RTL) orientation was setted for the group. -1 if an error occurred.
_set return EINA_TRUE if successful, EINA_FALSE otherwise.

@feature

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-05 19:38:27 +02:00