diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/edje/src/examples/color-class.edc | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to '')
-rw-r--r-- | libraries/edje/src/examples/color-class.edc | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/libraries/edje/src/examples/color-class.edc b/libraries/edje/src/examples/color-class.edc new file mode 100644 index 0000000..c025455 --- /dev/null +++ b/libraries/edje/src/examples/color-class.edc | |||
@@ -0,0 +1,87 @@ | |||
1 | color_classes { | ||
2 | color_class { | ||
3 | name: "red_class"; | ||
4 | color: 255 0 0 255; /* red */ | ||
5 | color2: 255 0 0 255; /* red */ | ||
6 | color3: 255 0 0 255; /* red */ | ||
7 | } | ||
8 | color_class { | ||
9 | name: "green_class"; | ||
10 | color: 0 255 0 255; /* green */ | ||
11 | color2: 0 255 0 255; /* green */ | ||
12 | color3: 0 255 0 255; /* green */ | ||
13 | } | ||
14 | color_class { | ||
15 | name: "blue_class"; | ||
16 | color: 0 0 255 255; /* blue */ | ||
17 | color2: 0 0 255 255; /* blue */ | ||
18 | color3: 0 0 255 255; /* blue */ | ||
19 | } | ||
20 | } | ||
21 | |||
22 | collections { | ||
23 | group { | ||
24 | name: "example_color_class"; | ||
25 | max: 500 500; | ||
26 | min: 50 50; | ||
27 | |||
28 | parts { | ||
29 | part { | ||
30 | name: "part_one"; | ||
31 | type: RECT; | ||
32 | scale: 1; | ||
33 | description { | ||
34 | state: "default" 0.0; | ||
35 | color: 255 255 255 255; | ||
36 | color_class: "blue_class"; | ||
37 | rel1.relative: 0.0 0.0; | ||
38 | rel2.relative: 0.5 0.5; | ||
39 | } | ||
40 | } | ||
41 | |||
42 | part { | ||
43 | name: "part_two"; | ||
44 | type: RECT; | ||
45 | description { | ||
46 | state: "default" 0.0; | ||
47 | color: 255 255 255 255; | ||
48 | color_class: "green_class"; | ||
49 | rel1.relative: 0.5 0.0; | ||
50 | rel2.relative: 1.0 0.5; | ||
51 | } | ||
52 | } | ||
53 | part { | ||
54 | name: "part_three"; | ||
55 | type: RECT; | ||
56 | description { | ||
57 | state: "default" 0.0; | ||
58 | color: 255 255 255 255; | ||
59 | color_class: "red_class"; | ||
60 | rel1.relative: 0.0 0.5; | ||
61 | rel2.relative: 1.0 1.0; | ||
62 | } | ||
63 | } | ||
64 | part { | ||
65 | name: "part_four"; | ||
66 | type: TEXT; | ||
67 | effect: OUTLINE_SHADOW; | ||
68 | description { | ||
69 | state: "default" 0.0; | ||
70 | min: 50 50; | ||
71 | color: 255 255 255 255; | ||
72 | color2: 255 255 255 255; | ||
73 | color3: 255 255 255 255; | ||
74 | color_class: "blue_class"; | ||
75 | rel1.relative: 0.0 0.5; | ||
76 | rel2.relative: 1.0 1.0; | ||
77 | text { | ||
78 | text_class: "example"; | ||
79 | font: "arial"; | ||
80 | size: 45; | ||
81 | min: 1 1; | ||
82 | } | ||
83 | } | ||
84 | } | ||
85 | } | ||
86 | } | ||
87 | } | ||