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)
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 '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 61986b82f5..c09dfb4fcc 100644
--- a/data/elementary/themes/edc/efl/text.edc
+++ b/data/elementary/themes/edc/efl/text.edc
@@ -548,21 +548,6 @@ group { "efl/text";
rel2.offset: -2 -2;
}
}
- part { name: "efl.guide"; type: TEXTBLOCK; mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "efl.text";
- rel2.to: "efl.text";
- text { style: "efl_ui_text_guide_style";
- min: 0 1;
- align: 0.0 0.0;
- }
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
part { name: "efl.text"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
@@ -914,4 +899,4 @@ group { "efl/text/emoticon/worried"; images.image:
group { "efl/text/emoticon/wtf"; images.image:
"emo-wtf.png" COMP; parts { part { "icon"; nomouse; desc { "default"; max: 64 64; image.normal:
"emo-wtf.png"; } } } }
-//------------------------------------------------------------ \ No newline at end of file
+//------------------------------------------------------------