summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test.c
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2018-09-13 12:45:29 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2018-11-05 18:17:42 +0200
commit26c1f2477cc7d2b4279eefbc96c7c0d428a08942 (patch)
tree4a1eb7f67025b8642a798b454bc95e1788728806 /src/bin/elementary/test.c
parent581fa91a6b182afad1d59dd043c41e62235e9437 (diff)
downloadefl-26c1f2477cc7d2b4279eefbc96c7c0d428a08942.tar.gz
Ui text: port widget to new interfaces
This is a big rewrite. In addition to implementing functionality with the new Efl interfaces, a lot of legacy (Elm) code was removed. A lot of work is squashed in this patch as the widget would've been completely broken otherwise. The major changes are: Life-cycle: - Code was split to have 'finalize' - Item anchors (emoticons, images) were rewritten to have proper life-cycle Scrolling logic: - Efl.Ui.Internal_Text_Scroller widget was added, and replaces the old Elm.Interface_Scrollable implementation. Singe-line and multi-line modes were fixed as well as sizing calculations. The object is now swallowed inside the Ui.Text widget. Copy and paste: - Code was converted to Efl.Selection logic. Modified tests: elementary_test -to "efl.ui.text" elementary_test -to "efl.ui.text label" Added tests: elementary_test -to "efl.ui.text inputfield" Removed test: elementary_test -to "efl.ui.text.async"
Diffstat (limited to 'src/bin/elementary/test.c')
-rw-r--r--src/bin/elementary/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index 9a97840270..0038e3285b 100644
--- a/src/bin/elementary/test.c
+++ b/src/bin/elementary/test.c
@@ -339,8 +339,8 @@ void test_code_diff(void *data, Evas_Object *obj, void *event_info);
void test_code_diff_inline(void *data, Evas_Object *obj, void *event_info);
void test_efl_ui_text(void *data, Evas_Object *obj, void *event_info);
+void test_efl_ui_text_inputfield(void *data, Evas_Object *obj, void *event_info);
void test_efl_ui_text_label(void *data, Evas_Object *obj, void *event_info);
-void test_efl_ui_text_async(void *data, Evas_Object *obj, void *event_info);
void test_ui_text_item_factory(void *data, Evas_Object *obj, void *event_info);
void test_evas_mask(void *data, Edje_Object *obj, void *event_info);
void test_gfx_filters(void *data, Evas_Object *obj, void *event_info);
@@ -860,8 +860,8 @@ add_tests:
ADD_TEST(NULL, "Entries", "Entry Emoticon", test_entry_emoticon);
ADD_TEST(NULL, "Entries", "Entry Password", test_entry_password);
ADD_TEST_EO(NULL, "Entries", "Efl.Ui.Text", test_efl_ui_text);
+ ADD_TEST_EO(NULL, "Entries", "Efl.Ui.Text Input Field", test_efl_ui_text_inputfield);
ADD_TEST_EO(NULL, "Entries", "Efl.Ui.Text Label", test_efl_ui_text_label);
- ADD_TEST_EO(NULL, "Entries", "Efl.Ui.Text.Async", test_efl_ui_text_async);
ADD_TEST_EO(NULL, "Entries", "Ui.Text Item Factory", test_ui_text_item_factory);
ADD_TEST_EO(NULL, "Entries", "Efl.Ui.Tags", test_ui_tags);