diff options
author | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
commit | 825a3d837a33f226c879cd02ad15c3fba57e8b2c (patch) | |
tree | 75f57bd9c4253508d338dc79ba8e57a7abc42255 /libraries/edje/src/examples/multisense.edc | |
parent | Add ability to disable the test harness, or the Lua compile test. (diff) | |
download | SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.zip SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.gz SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.bz2 SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.xz |
Update the EFL to what I'm actually using, coz I'm using some stuff not yet released.
Diffstat (limited to 'libraries/edje/src/examples/multisense.edc')
-rw-r--r-- | libraries/edje/src/examples/multisense.edc | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/libraries/edje/src/examples/multisense.edc b/libraries/edje/src/examples/multisense.edc new file mode 100644 index 0000000..5a3cf79 --- /dev/null +++ b/libraries/edje/src/examples/multisense.edc | |||
@@ -0,0 +1,139 @@ | |||
1 | #if 0 | ||
2 | collections { | ||
3 | sounds { | ||
4 | sample { | ||
5 | name: "sound_name1" RAW; | ||
6 | source: "8806__jovica__basic-sine-wave-g-1.wav"; | ||
7 | // source: "sample.wav"; | ||
8 | // source: "sample-flac10k.wav"; | ||
9 | // source: "sample-flac10k-mono.wav"; | ||
10 | } | ||
11 | // sample { | ||
12 | // name: "sound_name2" COMP; | ||
13 | // source: "sample.wav"; | ||
14 | // } | ||
15 | /* | ||
16 | sample { | ||
17 | name: "sound_name3" LOSSY 0.5; | ||
18 | source: "sample.wav"; | ||
19 | } | ||
20 | sample { | ||
21 | name: "sound_name4" AS_IS; | ||
22 | source: "sample.wav"; | ||
23 | } | ||
24 | */ | ||
25 | sample { | ||
26 | // name: "sound_name5" AS_IS; | ||
27 | // name: "sound_name5" COMP; | ||
28 | name: "sound_name5" RAW; | ||
29 | // source: "sample-ogg.wav"; | ||
30 | source: "sample-ogg-mono.wav"; | ||
31 | // source: "sample-ogg10k.wav"; | ||
32 | // source: "sample-flac10k.wav"; | ||
33 | // source: "sample-flac10k-mono.wav"; | ||
34 | } | ||
35 | sample { | ||
36 | name: "sound_name6" AS_IS; | ||
37 | // name: "sound_name6" LOSSY 45.0; | ||
38 | source: "sample-flac44k-mono.wav"; | ||
39 | // source: "sample-flac.wav"; | ||
40 | // source: "sample.ogg"; | ||
41 | } | ||
42 | tone: "tone-name" 2600; | ||
43 | } | ||
44 | group { | ||
45 | name: "example_group"; | ||
46 | parts { | ||
47 | part { | ||
48 | name: "sample_bg"; | ||
49 | type: RECT; | ||
50 | mouse_events: 1; | ||
51 | description { | ||
52 | state: "default" 0.0; | ||
53 | min: 300 150; | ||
54 | max: 300 150; | ||
55 | color: 200 200 200 100; | ||
56 | align: 0.5 0.0; | ||
57 | rel1 { | ||
58 | relative: 0.0 0.0; | ||
59 | } | ||
60 | } | ||
61 | } | ||
62 | part { | ||
63 | name: "sample_text"; | ||
64 | type: TEXT; | ||
65 | mouse_events: 1; | ||
66 | repeat_events: 1; | ||
67 | description { | ||
68 | state: "default" 0.0; | ||
69 | rel1.to: "sample_bg"; | ||
70 | rel2.to: "sample_bg"; | ||
71 | text { | ||
72 | font: "Sans"; | ||
73 | size: 20; | ||
74 | text: "Play Sound Sample"; | ||
75 | } | ||
76 | } | ||
77 | } | ||
78 | part { | ||
79 | name: "tone_bg"; | ||
80 | type: RECT; | ||
81 | mouse_events: 1; | ||
82 | description { | ||
83 | state: "default" 0.0; | ||
84 | min: 300 150; | ||
85 | max: 300 150; | ||
86 | align: 0.5 0.0; | ||
87 | color: 180 180 180 100; | ||
88 | rel1 { | ||
89 | relative: 0.0 1.0; | ||
90 | to: "sample_bg"; | ||
91 | } | ||
92 | } | ||
93 | } | ||
94 | part { | ||
95 | name: "tone_text"; | ||
96 | type: TEXT; | ||
97 | mouse_events: 1; | ||
98 | repeat_events : 1; | ||
99 | description { | ||
100 | state: "default" 0.0; | ||
101 | rel1.to: "tone_bg"; | ||
102 | rel2.to: "tone_bg"; | ||
103 | text { | ||
104 | font: "Sans"; | ||
105 | size: 20; | ||
106 | text: "Play Tone"; | ||
107 | } | ||
108 | } | ||
109 | } | ||
110 | programs { | ||
111 | program { | ||
112 | name: "click_sample1"; | ||
113 | signal: "mouse,down,1"; | ||
114 | source: "sample_bg"; | ||
115 | action: PLAY_SAMPLE "sound_name1" 1.0; | ||
116 | } | ||
117 | program { | ||
118 | name: "click_sample2"; | ||
119 | signal: "mouse,down,2"; | ||
120 | source: "sample_bg"; | ||
121 | action: PLAY_SAMPLE "sound_name5" 1.0; | ||
122 | } | ||
123 | program { | ||
124 | name: "click_sample3"; | ||
125 | signal: "mouse,down,3"; | ||
126 | source: "sample_bg"; | ||
127 | action: PLAY_SAMPLE "sound_name6" 1.0; | ||
128 | } | ||
129 | program { | ||
130 | name: "click_tone"; | ||
131 | signal: "mouse,down,1"; | ||
132 | source: "tone_bg"; | ||
133 | action: PLAY_TONE "tone-name" 0.1; | ||
134 | } | ||
135 | } | ||
136 | } | ||
137 | } | ||
138 | } | ||
139 | #endif | ||