summaryrefslogtreecommitdiff
path: root/data/objects/font_preview.edc
blob: 302c2e85e5ead9a05650b93a42169eb7deeec479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
color_classes {
   color_class {
      name: "entry_text";
      color: 0 0 0 255;
   }
}

collections {

   group { name: "font_preview";
      parts {

         /* some fonts have weird alignments, thus they overflow badly */
         part { name: "clipper";
            type: RECT;
            description {
               state: "default" 0.0;
            }
         }

         part { name: "elm.text";
            type: TEXT;
            mouse_events: 0;
            scale: 1;
            clip_to: "clipper";
            description {
               state: "default" 0.0;
               color_class: "entry_text";
               text {
                  font: "Sans";
                  min: 0 1;
                  size: 10;
                  align: 0.5 0.5;
                  text_class: "font_preview";
               }
            }
         }
      }
   }
}