Commit Graph

70 Commits

Author SHA1 Message Date
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
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
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
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
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
Vorobiov Vitalii 5e7a9b1225 edje: Edje_Edit - add edje_edit_part_access functions.
Summary:
Add two main functions
- edje_edit_part_access_get
- edje_edit_part_access_set
Also support access into part's source code generation.

@feature

Reviewers: seoz, Hermet, raster, cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 20:08:32 +02:00
Vorobiov Vitalii 30885daafa edje: Edje_Edit - add edje_edit_part_precide_is_inside functions.
Summary:
Add two main functions
- edje_edit_part_precise_is_inside_get
- edje_edit_part_precise_is_inside_set
Also support precise_is_inside into part's source code generation.

@feature

Reviewers: cedric, seoz, Hermet, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 20:02:56 +02:00
Andrii Kroitor 184720bf16 edje: Edje_Edit - add getters and setters for source2-source6 TEXTBLOCK properties
Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 19:57:13 +02:00
Vorobiov Vitalii bebcc49bd0 edje: Edje_Edit - add edje_edit_part_pointer_mode functions.
Summary:
Add two main functions
- edje_edit_part_pointer_mode_get
- edje_edit_part_pointer_mode_set

Also support pointer mode into part's source code generation.
EVAS_OBJECT_POINTER_MODE_AUTOGRAB is default value,
so generation won't add "AUTOGRAB" into source code if this type of
pointer mode is set.

@feature

Reviewers: cedric, seoz, Hermet, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 19:45:34 +02:00
Vorobiov Vitalii f1000b5c36 edje: Edje_Edit - add edje_edit_part_copy function that copy parts within whole group.
Summary:
Add ability to copy whole part and create same part but with new name).
This feature also require to slightly remake function edje_edit_state_copy to make
it able to copy state from one part to different one (only for part_copy usage).

@feature

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 19:39:39 +02:00
Igor Gala f0e4cba71c edje: Edje_Edit - add sounds list accessor.
Summary:
make "get" functions for block "sounds" which return
a sounds or tones list (Eina_List *) off the given edje object.
@feature

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 00:51:56 +02:00
Maksym Volodin fb89f79b6a edje: Edje_Edit - add new feature edje_edit_image_compression_set.
Summary:
Set compression type for the given image. Has object being edited,
the name of the image and Edje_Edit_Image_Comp(EDJE_EDIT_IMAGE_COMP_RAW,
EDJE_EDIT_IMAGE_COMP_USER, EDJE_EDIT_IMAGE_COMP_COMP,
EDJE_EDIT_IMAGE_COMP_LOSSY[_ETC1]) as in parametrs.
Return EINA_TRUE if successful, EINA_FALSE - otherwise.

Reviewers: cedric, raster, seoz, Hermet

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 00:51:56 +02:00
se.osadchy 709c1d86c0 Edje/Edje_edit: corrected type of input parameter for offset value
Summary: Input type for offset value must be Integer in the "edje_edit_rel1(2)_offset_x(y)_set" functions

Reviewers: cedric, Hermet

CC: cedric, Hermet, raster

Differential Revision: https://phab.enlightenment.org/D562
2014-04-25 11:19:58 +09:00
Jean-Philippe Andre f6eae69eb2 Edje: Use LOSSY_ETC1 instead of LOSSY
Add a new flag in EDC files to specify ETC1 compression
should be enabled. It follows the same rules as the
current LOSSY flag for JPEG compression.

@feature
2014-04-18 16:50:01 +09:00
Vorobiov Vitalii caad83c988 edje_edit: function that will return the source code of the loaded edje edit object.
Summary:
This function will return the source code of the edje edit object that is given to that function.
Also, that function will collect all resources required by this group.
That means all images, fonts, styles, data and color_classes that is mentioned
and set in descriptions of parts in this group (that is represented by given
Edje Edit object).
@feature

Added function for generating source code:
- edje_edit_source_generate(Evas_Object *obj);

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D649
2014-03-24 16:05:53 +09:00
ChunEon Park d200cf29f1 edje/edje_edit - fill up doc for edje_edit_parts_list_get() 2014-03-16 01:23:56 +09:00
Jihoon Kim 4fb75474d8 edje: fix the mismatched argument name with doxygen
warning: argument 'above' of command @param is not found in the argument list of edje_edit_part_restack_part_above(Evas_Object *obj, const char *part, const char *below)
2014-02-01 13:32:57 +09:00
Vyacheslav Reutskiy e69929321f edje: edje_edit - adding getter and setter for smooth parameter
This commit will add API for working with smooth for image
and proxy part type.
There are two functions will be added:

1. edje_edit_state_fill_smooth_get
2. edje_edit_state_fill_smooth_set

Reviewers: cedric, raster, seoz

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-20 14:43:23 +09:00
Vyacheslav Reutskiy 8bff25fadc edje: edje_edit - adding API to move to the specified place in the parts stack
This commit will add some API to restack part above/below target part.
There are two functions will be added:

1. edje_edit_part_restack_part_below
2. edje_edit_part_restack_part_above

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-19 15:53:48 +09:00
Andrii Kroitor 287d63c016 edje: edje_edit - image api modification
Changed edje_edit_image_del logic: image can't be deleted if it's in use,
after deletion last image in list is moved to freed position so there are no
"holes" in image list.

Following functions added to api:
   edje_edit_image_replace
   edje_edit_image_usage_list_get
   edje_edit_image_usage_list_free

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-19 15:53:38 +09:00
Vyacheslav Reutskiy 811c97eabb edje: edje_edit - adding getter and setter for text source
This commit will add API for working with text source.
There are two functions will be added:

1. edje_edit_state_text_source_get
2. edje_edit_state_text_source_set

Reviewers: cedric, seoz, raster

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-19 15:53:27 +09:00
Vyacheslav Reutskiy 0ad1dfe4e5 edje: edje_edit - adding getter and setter for text style
This commit will add API for working with text style.
There are two functions will be added:

1. edje_edit_state_text_style_get
2. edje_edit_state_text_style_set

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-19 15:53:24 +09:00
Vorobiov Vitalii 12c91a8852 edje: edje_edit - adding edje_edit_group_copy.
This new function will copy the whole group into same file but with another group name/id.

Copying whole group data field by field require some huge code.
Alternatively we found another solution for copying whole group as you can see it in this commit.
This function will copy group and all it's data (like scripts etc) and it will be totally independent.

Reviewers: cedric, seoz, raster

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-19 15:52:51 +09:00
Vorobiov Vitalii 0640b7f341 edje: adding Alias API into edje_edit module
Summary:
This commit will add some API for working with aliases.
There are four functions will be added:
1. edje_edit_group_aliases_get - this function will return the list of aliases of certain group.
2. edje_edit_group_is_alias - this function will check if the given group name is actually an alias.
3. edje_edit_group_aliased_get - return the main real group that is being aliased.
4. edje_edit_group_alias_add - add new alias name.

Also the function "edje_edit_group_del" was modified because of wrong behaviour.
Now if the given group is alias, it will successfully delete it,
but if the given group is main group, it will also delete all it's aliases.

This commit also modify EDJ file by adding new field for detecting if the group is alias or not.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D376
2013-12-14 18:40:26 +09:00