blob: f7cc0070a93e2f32845272c48d59a273004808cd (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
collections {
text_classes {
text_class {
name: "tc1";
font: "Serif";
size: 18;
}
}
styles {
style { name: "tb_style";
base: "font=Sans font_size=20 color=#fff";
}
style { name: "tb_tc_style";
base: "color=#ff0 text_class=tc1";
}
style { name: "tb_tc2_style";
base: "color=#0ff text_class=tc2";
}
}
group { name: "test_textblock";
parts {
part { name: "text";
type: TEXTBLOCK;
description { state: "default" 0.0;
min: 300 300;
text {
text: "Bye";
style: "tb_style";
}
}
}
}
}
group { name: "test_tc_textblock";
parts {
part { name: "tb";
type: TEXTBLOCK;
description { state: "default" 0.0;
min: 300 300;
text {
text: "Hello World";
style: "tb_tc_style";
}
}
}
}
}
group { name: "test_tc_textblock2";
parts {
part { name: "tb2";
type: TEXTBLOCK;
description { state: "default" 0.0;
min: 300 300;
text {
text: "Hello World";
style: "tb_tc2_style";
}
}
}
}
}
}
|