diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/elementary/data/objects/font_preview.edc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libraries/elementary/data/objects/font_preview.edc b/libraries/elementary/data/objects/font_preview.edc new file mode 100644 index 0000000..302c2e8 --- /dev/null +++ b/libraries/elementary/data/objects/font_preview.edc | |||
@@ -0,0 +1,40 @@ | |||
1 | color_classes { | ||
2 | color_class { | ||
3 | name: "entry_text"; | ||
4 | color: 0 0 0 255; | ||
5 | } | ||
6 | } | ||
7 | |||
8 | collections { | ||
9 | |||
10 | group { name: "font_preview"; | ||
11 | parts { | ||
12 | |||
13 | /* some fonts have weird alignments, thus they overflow badly */ | ||
14 | part { name: "clipper"; | ||
15 | type: RECT; | ||
16 | description { | ||
17 | state: "default" 0.0; | ||
18 | } | ||
19 | } | ||
20 | |||
21 | part { name: "elm.text"; | ||
22 | type: TEXT; | ||
23 | mouse_events: 0; | ||
24 | scale: 1; | ||
25 | clip_to: "clipper"; | ||
26 | description { | ||
27 | state: "default" 0.0; | ||
28 | color_class: "entry_text"; | ||
29 | text { | ||
30 | font: "Sans"; | ||
31 | min: 0 1; | ||
32 | size: 10; | ||
33 | align: 0.5 0.5; | ||
34 | text_class: "font_preview"; | ||
35 | } | ||
36 | } | ||
37 | } | ||
38 | } | ||
39 | } | ||
40 | } | ||