summaryrefslogtreecommitdiff
path: root/data
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 /data
parent581fa91a6b182afad1d59dd043c41e62235e9437 (diff)
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 'data')
-rw-r--r--data/elementary/themes/edc/efl/text.edc17
1 files changed, 1 insertions, 16 deletions
diff --git a/data/elementary/themes/edc/efl/text.edc b/data/elementary/themes/edc/efl/text.edc
index 61986b8..c09dfb4 100644
--- a/data/elementary/themes/edc/efl/text.edc
+++ b/data/elementary/themes/edc/efl/text.edc
@@ -548,21 +548,6 @@ group { "efl/text";
548 rel2.offset: -2 -2; 548 rel2.offset: -2 -2;
549 } 549 }
550 } 550 }
551 part { name: "efl.guide"; type: TEXTBLOCK; mouse_events: 0;
552 scale: 1;
553 description { state: "default" 0.0;
554 rel1.to: "efl.text";
555 rel2.to: "efl.text";
556 text { style: "efl_ui_text_guide_style";
557 min: 0 1;
558 align: 0.0 0.0;
559 }
560 }
561 description { state: "hidden" 0.0;
562 inherit: "default" 0.0;
563 visible: 0;
564 }
565 }
566 part { name: "efl.text"; type: SWALLOW; 551 part { name: "efl.text"; type: SWALLOW;
567 scale: 1; 552 scale: 1;
568 description { state: "default" 0.0; 553 description { state: "default" 0.0;
@@ -914,4 +899,4 @@ group { "efl/text/emoticon/worried"; images.image:
914group { "efl/text/emoticon/wtf"; images.image: 899group { "efl/text/emoticon/wtf"; images.image:
915 "emo-wtf.png" COMP; parts { part { "icon"; nomouse; desc { "default"; max: 64 64; image.normal: 900 "emo-wtf.png" COMP; parts { part { "icon"; nomouse; desc { "default"; max: 64 64; image.normal:
916 "emo-wtf.png"; } } } } 901 "emo-wtf.png"; } } } }
917//------------------------------------------------------------ \ No newline at end of file 902//------------------------------------------------------------