summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThiep Ha <thiepha@gmail.com>2017-08-29 19:04:15 +0900
committerThiep Ha <thiepha@gmail.com>2017-08-29 19:07:01 +0900
commitb0d185ac127297f5dd73cb8b58966fd0256611d7 (patch)
tree46e22e25126d2ffebe7b522d365a119a921338e3 /data
parentd8f1ea44fd3ef9bdd70387383b9c68849713cfed (diff)
Introduce text on path widget
Text on path (textpath) allows application to make text follow a path. The path can be a efl_gfx_path or a circle. Thank hermet for initializing this work. @feature
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/Makefile.am1
-rw-r--r--data/elementary/themes/default.edc2
-rw-r--r--data/elementary/themes/edc/elm/textpath.edc24
3 files changed, 27 insertions, 0 deletions
diff --git a/data/elementary/themes/Makefile.am b/data/elementary/themes/Makefile.am
index d7632d7641..ab354a0e9c 100644
--- a/data/elementary/themes/Makefile.am
+++ b/data/elementary/themes/Makefile.am
@@ -146,6 +146,7 @@ elementary/themes/edc/elm/separator.edc \
146elementary/themes/edc/elm/slider.edc \ 146elementary/themes/edc/elm/slider.edc \
147elementary/themes/edc/elm/slideshow.edc \ 147elementary/themes/edc/elm/slideshow.edc \
148elementary/themes/edc/elm/spinner.edc \ 148elementary/themes/edc/elm/spinner.edc \
149elementary/themes/edc/elm/textpath.edc \
149elementary/themes/edc/elm/thumb.edc \ 150elementary/themes/edc/elm/thumb.edc \
150elementary/themes/edc/elm/toolbar.edc \ 151elementary/themes/edc/elm/toolbar.edc \
151elementary/themes/edc/elm/tooltip.edc \ 152elementary/themes/edc/elm/tooltip.edc \
diff --git a/data/elementary/themes/default.edc b/data/elementary/themes/default.edc
index 936df6b321..2a28c4a647 100644
--- a/data/elementary/themes/default.edc
+++ b/data/elementary/themes/default.edc
@@ -74,6 +74,8 @@ collections {
74#include "edc/elm/cursor.edc" 74#include "edc/elm/cursor.edc"
75#include "edc/elm/code.edc" 75#include "edc/elm/code.edc"
76#include "edc/elm/ews.edc" 76#include "edc/elm/ews.edc"
77#include "edc/elm/textpath.edc"
78
77 79
78// desktop in general 80// desktop in general
79#include "edc/wallpaper.edc" 81#include "edc/wallpaper.edc"
diff --git a/data/elementary/themes/edc/elm/textpath.edc b/data/elementary/themes/edc/elm/textpath.edc
new file mode 100644
index 0000000000..17c2baa4f9
--- /dev/null
+++ b/data/elementary/themes/edc/elm/textpath.edc
@@ -0,0 +1,24 @@
1group { name: "elm/textpath/base/default";
2 styles {
3 style { name: "textpath_style";
4 base: "font="FN" font_size=16 text_class=tb_plain wrap=none align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080";
5 tag: "br" "\n";
6 tag: "b" "+ font="FNBD" text_class=tb_light";
7 ENABLED_TEXTBLOCK_TAGS
8 }
9 }
10 parts {
11 part { name: "elm.text";
12 type: TEXTBLOCK;
13 scale: 1;
14 description { state: "default" 0.0;
15 align: 0.0 0.0;
16 text {
17 style: "textpath_style";
18 min: 0 1;
19 align: 0.0 0.5;
20 }
21 }
22 }
23 }
24}