Commit Graph

152 Commits

Author SHA1 Message Date
Myoungwoon Roy, Kim 7760613107 doxygen: fix typos and some wrong expressions in Edje and Eet API reference documentation.
Summary: I had fixed some typos and some wrong expressions, such as capital letters, singular, and orders of groups in Edje and Eet API reference doxygen.

Test Plan: Doxygen Revision

Reviewers: stefan, cedric, raster, Jaehyun_Cho, jpeg

Subscribers: conr2d

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-02-16 10:16:52 -08:00
Vitalii Vorobiov bbdfe393e4 Edje_Edit: add forgotten API for map.zoom.x/y 2017-01-17 16:30:45 +02:00
Vitalii Vorobiov b23289a2a0 Edje_Edit: first part of vector API implementation
edje_edit_vector_del
edje_edit_vector_usage_list_get
edje_edit_vector_id_get
edje_edit_vectors_list_get

edje_edit_state_vector_get
edje_edit_state_vector_set
2017-01-11 17:25:05 +02:00
Vyacheslav Reutskiy e6fa6ba945 edje_edit: new API for generate source code for color classes
Extend edje edit deberate source API. Add two new API.
 - edje_edit_object_color_class_list_get return a list of used color classes for
   given object
 - edje_edit_color_classes_source_generate is generate code for given
   color classes list
2016-10-12 15:03:20 +03:00
Vyacheslav Reutskiy 8d7ec4181e edje_edit: add API for get source code of global block data
This API is annex for edje_edit_object_source_generate. Together this
API's provide a mechanism for generate source for custom groups from
a edj file or more.
2016-10-12 15:03:20 +03:00
Vyacheslav Reutskiy 49689708a6 edje_edit: add API for generate group source code without 'collection' 2016-10-12 15:03:20 +03:00
Vitalii Vorobiov 173edf6020 Edje_Edit: add forgotten part_item_index API into header
It was already implemented but looks like forgotten to be added into
Edje_Edit header, so we got banch of unused and unavailable API

@fix
2016-10-03 20:07:13 +03:00
Vincent Torri e4c166281f Edje_Edit.h: undef EAPI at the end of the header file
Fixes T4303
2016-08-07 11:47:05 +02:00
Mykyta Biliavskyi 3eb322518f Edje_Edit: allow set NULL as a style name for textblock part.
NULL as 'style' value remove style name from textblock part state.
2016-07-05 20:24:07 +03:00
Vitalii Vorobiov 96f6ca336d edje_edit: fix copy&paste type for map functions which should return int
zplane and focal actually returns int, not Eina_Bool

@fix
2016-06-07 16:58:10 +03:00
Vyacheslav Reutskiy dabdebf026 edje_edit: return lost API *_span_row/col_set declaration
I'm lost this declaration while add API for manager part items by
index and mark as deprecated old funcs
2016-06-06 10:48:15 +03:00
Vyacheslav Reutskiy b612fe2485 edje_edit: add API for set/get part item 2016-06-03 12:27:30 +03:00
Vyacheslav Reutskiy 8f82e93368 edje_edit: add API for get part item attributes by item index
Cedric revert patch 6f7608befd same days
ago.

<quote Cedric>
Your patch 6f7608befd did break elemines
which does relly on the proper index to be given to it. I think
Edje_Edit should be fine and use the index if no name is provided (See
edje_load.c around L1180). In all case this was clearly an ABI break and
needed to be reverted.
</quote Cedric>

So now edje_cc not guarantee name for part items. This is bad, because
edje_edit use item name for access to item attributes. If item have not
name we cann't get it attributes, because edje_edit compare the given
name with part items name from edj-file, strcmp dislake NULL args.
For now I see one way mark all edje_edit_part_item* APIs as deprecated
and add new APIs for manage part items by index.

For clearly and history:
The eason for revert - https://phab.enlightenment.org/D3820
The proposed solution - https://phab.enlightenment.org/D3907
2016-06-03 08:35:13 +03:00
Vitalii Vorobiov e80d8d9a71 Edje_Edit: more API for proxy fields like source_clip and source_visible
Setters and getters like
edje_edit_state_proxy_source_clip_set
edje_edit_state_proxy_source_clip_get
edje_edit_state_proxy_source_visible_set
edje_edit_state_proxy_source_visible_get
2016-05-12 19:31:49 +03:00
Vitalii Vorobiov e6d4c34449 Edje_Edit: update function that return image usage to include sets
Image can be also used not only inside of any image parts, but also
inside of any sets (and plenty of times)
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 9ec49c3f4f Edje_Edit: API to delete set of images
Allow to delete set if it is not used by any part
Function to check if set is used by any part is:
edje_edit_set_usage_list_get

Since it uses same struct as image_used_list_get function, it
can be freed by edje_edit_image_usage_list_free.
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov a8afffe105 Edje_Edit: setter and getter for set image's scale_by
edje_edit_image_set_image_border_scale_set
edje_edit_image_set_image_border_scale_get
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 0d0e9e13bd Edje_Edit: functions to set and get set's images border
edje_edit_image_set_image_border_set
edje_edit_image_set_image_border_get
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 4589816309 Edje_Edit: setters and getters for set's image size (min and max)
Functions are:
edje_edit_image_set_image_min_get
edje_edit_image_set_image_min_set
edje_edit_image_set_image_max_get
edje_edit_image_set_image_max_set
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 49f6baa7aa Edje_Edit: some API to manipulate set's images
get list of images of set (edje_edit_image_set_images_list_get)
add image to set (edje_edit_image_set_image_add)
delete image from set by it's place (edje_edit_image_set_image_del)
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov a9240d86a4 Edje_Edit: image set API
list of sets (edje_edit_image_set_list_get)
renaming set (edje_edit_image_set_rename)
add new set (edje_edit_image_set_add)
set's id (edje_edit_image_set_id_get)
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 2f6bdde1dd Edje_Edit: API to check if given name of "image set" is exist
edje_edit_image_set_exists
2016-04-28 16:22:25 +03:00
Vitalii Vorobiov 9f9032befa Edje_Edit: support image border_scale and border_scale_by setters and getters 2016-02-24 13:50:36 +00:00
Vitalii Vorobiov 0cb676395d Edje_Edit: support use_alternate_font_metrics setters and getters 2016-02-24 11:45:49 +00:00
Vitalii Vorobiov 7923e9799d Edje_Edit: ability to set size class into certain part's state
API looks like this edje_edit_state_size_class_set
2016-02-23 18:54:04 +00:00
Vitalii Vorobiov d4b622e9eb Edje_Edit: support new edje top block "size classes" with edje_edit API
Plenty of new API:
edje_edit_size_classes_list_get - to return total list of size_classes inside of
loaded collection of groups
edje_edit_size_class_add - add new size class into loaded collection
edje_edit_size_class_del - deleting
edje_edit_size_class_name_set - renaming existing size class into something new
and some setters and getters for min and max (width and height) of size class.
2016-02-23 18:54:03 +00:00
Vitalii Vorobiov 559cf1e73c Edje_Edit: support new edje top block "text classes" with edje_edit API
Plenty of new API:
edje_edit_text_classes_list_get - to return total list of text_classes inside of
loaded collection of groups
edje_edit_text_class_add - add new text class into loaded collection
edje_edit_text_class_del - deleting
edje_edit_text_class_name_set - renaming existing text class into something new
edje_edit_text_class_font_{get|set} - get/set font name
edje_edit_text_class_size_{get|set} - get/set font size
2016-02-23 14:01:55 +00:00
Vitalii Vorobiov 0e44209215 Edje_Edit: add forgotten since1.18 into documentation of newly implemented API 2016-02-19 14:20:51 +00:00
Vitalii Vorobiov dcbb62739c Edje_Edit: target can be insert into different place in program's target list
Here is API for that:
> edje_edit_program_target_insert_at
2016-02-19 14:19:50 +00:00
Vitalii Vorobiov 2f6cf2c74f Edje_Edit: ability to insert "after" program into specific position
API looks like this:
> edje_edit_program_after_insert_at
2016-02-18 17:10:24 +00:00
Vitalii Vorobiov e2051e334b Edje_Edit: new API to insert tween into specified place
> edje_edit_state_tween_insert_at
2016-02-18 15:46:52 +00:00
Vitalii Vorobiov 7907c7b88c edje_edit.c: it should be able to change item position
Few new API for inserting/mving items inside of BOX/TABLE
> edje_edit_part_item_insert_before
> edje_edit_part_item_insert_after
> edje_edit_part_item_insert_at
> edje_edit_part_item_move_below
> edje_edit_part_item_move_above
2016-02-18 11:58:44 +00:00
Amitesh Singh 139d452efe edje: fix typos in documentation 2015-09-28 15:42:51 +05:30
Andrii Kroitor 7413d7ca98 edje_adit: fix typos in header
Summary: @fix

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

Reviewed By: FurryMyad

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3108
2015-09-25 10:33:04 +03:00
Jaehwan Kim 3e5fddd72b edje_edit: remove a redundant API declaration.
edje_edit_state_font_get has twice declaration in same header file.
2015-09-23 15:22:46 +09:00
Vyacheslav Reutskiy 27b81e44bc edje: edje_edit - add getters/setters for a container item spans
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's
2015-09-22 09:23:46 +03:00
Vyacheslav Reutskiy eddcb69391 edje: edje_edit - add getters/setters for a container item position
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's
2015-09-22 09:23:46 +03:00
Vyacheslav Reutskiy dbea1f9f3d edje: edje_edit - add getters/setters for container align
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.
2015-09-22 09:23:46 +03:00
Vyacheslav Reutskiy 2f87a20c3b edje: edje_edit - add getters/setters for container padding
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.
2015-09-22 09:23:46 +03:00
Vyacheslav Reutskiy f73174f980 edje: edje_edit - add getters/setters for min container size
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.

TODO:
 * separate edje_edit_state_container_padding_get/set
 * separate edje_edit_state_container_align_set/set
 * separate edje_edit_part_item_position_get/set
 * separate edje_edit_part_item_span_get/set
2015-09-22 09:23:46 +03:00
Andrii Kroitor 77541f7ba2 edje_edit: remove save from group_del and group_copy
Summary:
edje_edit_save_all includes source code generation that is way more expensive
than save itself. User should be able to save manually with or without sources

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-09-21 23:46:36 +02:00
Vyacheslav Reutskiy 1943d32de6 edje_edit: delete gradient funcs prototope
This API was defined in the Edje_Edit.h but haven't implementation.
Given the fact that gradient is not supported and print 'SPANK'
error on load have sense to delete them.
2015-09-17 14:28:35 +03:00
Jee-Yong Um 2b29f4dfbf edje: add "mask_flags" instruction for "part" block
Summary:
Elementary widgets dealing with Evas Events usually mask event_flags with
EVAS_EVENT_FLAG_ON_HOLD, to show that this event is already handled.
However, widget like Elm_Button, it does not handle EVAS_CALLBACK_MOUSE_DOWN directly,
but it handles Edje_Signal instead, so there's no chance to mask event_flags.
Developers can block event propagation by putting rectangle the very last part of EDC,
but this instruction can help the case making elementary widget with only Edje_Signal handling.
This is not required essentially, so please check the necessity of this function.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:21:09 +02:00
woochan lee 81628abe9f Delete whitespaces, fix indentation in header, eo files
Summary: Delete whitespaces, fix indentation in header, eo files

Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2305
2015-04-10 14:01:09 +09:00
Maksym Volodin 8909f76055 edje: add edje_edit_full_source_generate() as a public API.
Summary: added full source code generation as public API for Edje Editor application.

Reviewers: Hermet, seoz, raster, cedric

Reviewed By: cedric

Subscribers: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-13 09:33:29 +01:00
Mike Blumenkrantz 1cf630f2bd edje color classes can now have text descriptions
@feature
2015-03-07 13:44:52 -05:00
Vitalii Vorobiov 3c925a1ea6 Edje: Edje_Edit - code style fix accoring to Coding Convention
Oops!
According to Coding Convention it should be like that:
...
>>> function forward declaration/prototype should be a single line;
>>> function definition should have the return at one line, then function name starts at next line, column 0;
...
2015-02-24 13:16:11 +02:00
Vitalii Vorobiov 54b090b0af Edje: Edje_Edit - setter and getter for min param of TABLE/BOX parts
Add new functions for set and get whether
minimum size's of the box are equal to the minimum vertical or horizontal size
of the items or not.

@feature
2015-02-24 12:36:25 +02:00
Vitalii Vorobiov 34c8d3a52d Edje: new set/get API omogeneous, paddings and align for BOX/TABLE in Edje Edit
Those include such functions like:
> edje_edit_state_table_homogeneous_set/get (function for TABLE only)
> edje_edit_state_container_padding_get
(container means that functions both for TABLE and BOX)
> edje_edit_state_container_align_get (also for TABLE and BOX)

@feature
2015-02-19 16:57:17 +02:00
Vitalii Vorobiov 87a5388919 edje: Edje_Edit - functions to edit layouts of BOX parts
New functions for setting such BOX's params like primary and fallback layouts:
> edje_edit_state_box_layout_set
> edje_edit_state_box_layout_get
> edje_edit_state_box_alt_layout_set
> edje_edit_state_box_alt_layout_get

@feature
2015-02-13 19:08:40 +02:00