elm: Split off text and content for efl_part
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 19 Sep 2017 12:46:59 +0000 (21:46 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 21 Sep 2017 03:27:34 +0000 (12:27 +0900)
commit28b387821df6f017352b5062cd78f490c0963b9b
treea94512dab87a32f365539a865b07b1cbbc34b5c3
parent0339ad7740b169683990aa8ce0dbf7c9489ab505
elm: Split off text and content for efl_part

This is VERY tricky.
For legacy, just create an internal class that has both. It's easier
this way. For parts that are handled by Layout directly, we know from
Edje which type to return.

For EO objects we should know from the part name which kind of part we
are dealing with:
 - text (overridden by the widget)
 - content (overridden by the widget)
 - special (new efl_part based functions)
 - generic (handled by Layout)

Note: Efl.Ui.Slider was handling "span size" on ALL parts. That's bad...
This is now limited to "span" only.
37 files changed:
src/Makefile_Elementary.am
src/lib/elementary/Elementary.h
src/lib/elementary/efl_ui_button.c
src/lib/elementary/efl_ui_button_part.eo
src/lib/elementary/efl_ui_frame.c
src/lib/elementary/efl_ui_layout.c
src/lib/elementary/efl_ui_layout_pack.c
src/lib/elementary/efl_ui_layout_part.eo
src/lib/elementary/efl_ui_layout_part_box.eo
src/lib/elementary/efl_ui_layout_part_content.eo [new file with mode: 0644]
src/lib/elementary/efl_ui_layout_part_legacy.eo [new file with mode: 0644]
src/lib/elementary/efl_ui_layout_part_table.eo
src/lib/elementary/efl_ui_layout_part_text.eo [new file with mode: 0644]
src/lib/elementary/efl_ui_panes.c
src/lib/elementary/efl_ui_panes_part.eo
src/lib/elementary/efl_ui_progressbar.c
src/lib/elementary/efl_ui_progressbar_part.eo
src/lib/elementary/efl_ui_slider.c
src/lib/elementary/efl_ui_slider_part.eo
src/lib/elementary/efl_ui_textpath_part.eo
src/lib/elementary/elm_actionslider_part.eo
src/lib/elementary/elm_bubble_part.eo
src/lib/elementary/elm_ctxpopup_part.eo
src/lib/elementary/elm_dayselector_part.eo
src/lib/elementary/elm_entry_part.eo
src/lib/elementary/elm_fileselector_entry_part.eo
src/lib/elementary/elm_fileselector_part.eo
src/lib/elementary/elm_hover_part.eo
src/lib/elementary/elm_label_part.eo
src/lib/elementary/elm_multibuttonentry_part.eo
src/lib/elementary/elm_naviframe_part.eo
src/lib/elementary/elm_part_helper.h
src/lib/elementary/elm_player_part.eo
src/lib/elementary/elm_popup_part.eo
src/lib/elementary/elm_scroller_part.eo
src/lib/elementary/elm_widget.c
src/lib/evas/canvas/evas_object_textblock.c