summaryrefslogtreecommitdiff
path: root/src/bin/elementary
diff options
context:
space:
mode:
authorali <ali198724@gmail.com>2019-12-09 10:58:39 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2019-12-09 10:58:39 +0900
commitc00db387c3b0cc96c66469cc2967d0fddf0f2efc (patch)
tree544fa6c4b507c770277b10b5779abe6318733232 /src/bin/elementary
parent25900bee0fd6633f181294067453e2c630526725 (diff)
Efl.Ui.Text : all related interfaces
Summary: Change summary: Removed : - efl_ui_text_selectable.eo and add it functionality into efl_text_interactive.eo - efl_ui_text_editable.eo because it is same as efl_ui_text.eo (just set one property by default) Modifications: - Move all Text Input enums and functionality from efl_ui_text class into its own interface, this interface will be implemented at efl_ui_internal_text_interactive class. - Rename selection_allowed property to selectable (same as other "editable" property) in efl_text_interactive - Add select_all function into efl_text_interactive interface - Add have_selection property into efl_text_interactive interface - Move user_change , selection_start/change/clear and undo/redo events into efl_text_interactive interface. - Move methods and events of copy/paste/cut into efl_ui_text - Fix password-related functionality - Remove context menu clear and add_item methods. (these should be added later with better design) - Remove Validation event from EFL_UI_TEXT. (these should be added later with better design) Reviewers: woohyun, tasn, segfaultxavi, zmike, bu5hm4n Subscribers: stefan_schmidt, a.srour, q66, zmike, segfaultxavi, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D10711
Diffstat (limited to 'src/bin/elementary')
-rw-r--r--src/bin/elementary/test_gfx_filters.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bin/elementary/test_gfx_filters.c b/src/bin/elementary/test_gfx_filters.c
index 988c076..47e83d7 100644
--- a/src/bin/elementary/test_gfx_filters.c
+++ b/src/bin/elementary/test_gfx_filters.c
@@ -514,10 +514,11 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
514 "blur { 3, ox = 1, oy = 1, color = 'black' }" 514 "blur { 3, ox = 1, oy = 1, color = 'black' }"
515 "blend { color = 'lime' }"; 515 "blend { color = 'lime' }";
516 516
517 o = code = efl_add(EFL_UI_TEXT_EDITABLE_CLASS, win, 517 o = code = efl_add(EFL_UI_TEXT_CLASS, win,
518 efl_ui_text_scrollable_set(efl_added, 1), 518 efl_ui_text_scrollable_set(efl_added, EINA_TRUE),
519 efl_text_multiline_set(efl_added, 1)); 519 efl_text_interactive_editable_set(efl_added, EINA_TRUE),
520 efl_event_callback_add(o, EFL_UI_TEXT_EVENT_CHANGED_USER, _code_changed_hack, win); 520 efl_text_multiline_set(efl_added, EINA_TRUE));
521 efl_event_callback_add(o, EFL_TEXT_INTERACTIVE_EVENT_CHANGED_USER, _code_changed_hack, win);
521 522
522 // Insert filter code inside style string: DEFAULT='blah blah <here>' 523 // Insert filter code inside style string: DEFAULT='blah blah <here>'
523 efl_gfx_filter_program_set(o, code_filter, "code"); 524 efl_gfx_filter_program_set(o, code_filter, "code");