summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-02-12 14:16:41 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-02-12 14:16:41 +0000
commit4918b9d26058bf60ca6767afbda0bfdae2509e92 (patch)
treea0815d2d540787fc2f392a75aafb2fd99c471816 /data
parent343887256dad9b84cd1a2c424f831138517e97c5 (diff)
TH - wavs
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/elm/check.edc23
-rw-r--r--data/elementary/themes/edc/elm/entry.edc8
-rw-r--r--data/elementary/themes/snd/kbd-tap.wavbin15668 -> 4264 bytes
-rw-r--r--data/elementary/themes/snd/kbd-tap2.wavbin20848 -> 9288 bytes
-rw-r--r--data/elementary/themes/snd/kbd-tap3.wavbin22024 -> 2412 bytes
-rw-r--r--data/elementary/themes/snd/kbd-tap4.wavbin26784 -> 3460 bytes
-rw-r--r--data/elementary/themes/snd/kbd-tap5.wavbin22528 -> 2768 bytes
-rw-r--r--data/elementary/themes/snd/wood-tap.wavbin0 -> 22320 bytes
-rw-r--r--data/elementary/themes/snd/wood-tap2.wavbin0 -> 17964 bytes
9 files changed, 23 insertions, 8 deletions
diff --git a/data/elementary/themes/edc/elm/check.edc b/data/elementary/themes/edc/elm/check.edc
index 58e698217e..11226d2195 100644
--- a/data/elementary/themes/edc/elm/check.edc
+++ b/data/elementary/themes/edc/elm/check.edc
@@ -1,4 +1,12 @@
1group { name: "elm/check/base/default"; 1group { name: "elm/check/base/default";
2 sounds {
3 sample { name: "wood-tap1" LOSSY 64;
4 source: "wood-tap.wav";
5 }
6 sample { name: "wood-tap2" LOSSY 64;
7 source: "wood-tap2.wav";
8 }
9 }
2 script { 10 script {
3 BUTTONMODE_SCRIPT 11 BUTTONMODE_SCRIPT
4 } 12 }
@@ -214,6 +222,15 @@ group { name: "elm/check/base/default";
214 program { signal: "mouse,clicked,1"; source: "event"; 222 program { signal: "mouse,clicked,1"; source: "event";
215 action: SIGNAL_EMIT "elm,action,check,toggle" "elm"; 223 action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
216 } 224 }
225 program { signal: "mouse,down,1"; source: "event";
226 script {
227 new buf[32]; new Float:val;
228 get_state(PART:"ck_check", buf, 32, val);
229 if (!strcmp(buf, "default")) { run_program(PROGRAM:"snd-check-on"); }
230 else { run_program(PROGRAM:"snd-check-off"); }
231 echo(buf);
232 }
233 }
217 program { signal: "elm,state,check,on"; source: "elm"; 234 program { signal: "elm,state,check,on"; source: "elm";
218 action: STATE_SET "selected" 0.0; 235 action: STATE_SET "selected" 0.0;
219 target: "ck_check"; 236 target: "ck_check";
@@ -222,6 +239,12 @@ group { name: "elm/check/base/default";
222 action: STATE_SET "default" 0.0; 239 action: STATE_SET "default" 0.0;
223 target: "ck_check"; 240 target: "ck_check";
224 } 241 }
242 program { name: "snd-check-on";
243 action: PLAY_SAMPLE "wood-tap1" 1.0 INPUT;
244 }
245 program { name: "snd-check-off";
246 action: PLAY_SAMPLE "wood-tap2" 1.0 INPUT;
247 }
225 program { signal: "mouse,down,1"; source: "event"; 248 program { signal: "mouse,down,1"; source: "event";
226 action: SIGNAL_EMIT "elm,action,press" "elm"; 249 action: SIGNAL_EMIT "elm,action,press" "elm";
227 after: "button_click_anim"; 250 after: "button_click_anim";
diff --git a/data/elementary/themes/edc/elm/entry.edc b/data/elementary/themes/edc/elm/entry.edc
index 6cdb311c82..2f1bb8fb9e 100644
--- a/data/elementary/themes/edc/elm/entry.edc
+++ b/data/elementary/themes/edc/elm/entry.edc
@@ -539,7 +539,6 @@ group { name: "elm/entry/anchor/default";
539} 539}
540 540
541group { name: "elm/entry/base/default"; 541group { name: "elm/entry/base/default";
542/*
543 sounds { 542 sounds {
544 sample { name: "key-tap1" LOSSY 64; 543 sample { name: "key-tap1" LOSSY 64;
545 source: "kbd-tap.wav"; 544 source: "kbd-tap.wav";
@@ -557,7 +556,6 @@ group { name: "elm/entry/base/default";
557 source: "kbd-tap5.wav"; 556 source: "kbd-tap5.wav";
558 } 557 }
559 } 558 }
560 */
561 styles { 559 styles {
562 style { name: "entry_style"; 560 style { name: "entry_style";
563 base: "font="FN" font_size=10 color=#a0a0a0 wrap=word text_class=entry_text color_class=entry_text left_margin=2 right_margin=2"; 561 base: "font="FN" font_size=10 color=#a0a0a0 wrap=word text_class=entry_text color_class=entry_text left_margin=2 right_margin=2";
@@ -656,7 +654,6 @@ group { name: "elm/entry/base/default";
656 action: STATE_SET "default" 0.0; 654 action: STATE_SET "default" 0.0;
657 target: "elm.guide"; 655 target: "elm.guide";
658 } 656 }
659/*
660 program { name: "key-down"; 657 program { name: "key-down";
661 signal: "entry,keydown"; source: "elm.text"; 658 signal: "entry,keydown"; source: "elm.text";
662 script { 659 script {
@@ -680,7 +677,6 @@ group { name: "elm/entry/base/default";
680 program { name: "key-down5"; 677 program { name: "key-down5";
681 action: PLAY_SAMPLE "key-tap5" 1.0 INPUT; 678 action: PLAY_SAMPLE "key-tap5" 1.0 INPUT;
682 } 679 }
683 */
684 } 680 }
685} 681}
686 682
@@ -1151,7 +1147,6 @@ group { name: "elm/entry/handler/end/default";
1151} 1147}
1152 1148
1153group { name: "elm/efl_ui_text/base/default"; 1149group { name: "elm/efl_ui_text/base/default";
1154/*
1155 sounds { 1150 sounds {
1156 sample { name: "key-tap1" LOSSY 64; 1151 sample { name: "key-tap1" LOSSY 64;
1157 source: "kbd-tap.wav"; 1152 source: "kbd-tap.wav";
@@ -1169,7 +1164,6 @@ group { name: "elm/efl_ui_text/base/default";
1169 source: "kbd-tap5.wav"; 1164 source: "kbd-tap5.wav";
1170 } 1165 }
1171 } 1166 }
1172 */
1173// data.item: "context_menu_orientation" "horizontal"; 1167// data.item: "context_menu_orientation" "horizontal";
1174 parts { 1168 parts {
1175 part { name: "elm.swallow.background"; type: SWALLOW; 1169 part { name: "elm.swallow.background"; type: SWALLOW;
@@ -1231,7 +1225,6 @@ group { name: "elm/efl_ui_text/base/default";
1231 target: "elm.guide"; 1225 target: "elm.guide";
1232 } 1226 }
1233#endif 1227#endif
1234/*
1235 program { name: "key-down"; 1228 program { name: "key-down";
1236 signal: "entry,keydown"; source: "elm.text"; 1229 signal: "entry,keydown"; source: "elm.text";
1237 script { 1230 script {
@@ -1255,7 +1248,6 @@ group { name: "elm/efl_ui_text/base/default";
1255 program { name: "key-down5"; 1248 program { name: "key-down5";
1256 action: PLAY_SAMPLE "key-tap5" 1.0 INPUT; 1249 action: PLAY_SAMPLE "key-tap5" 1.0 INPUT;
1257 } 1250 }
1258 */
1259 } 1251 }
1260} 1252}
1261/////////////////////////////////////////////////////////////////////////////// 1253///////////////////////////////////////////////////////////////////////////////
diff --git a/data/elementary/themes/snd/kbd-tap.wav b/data/elementary/themes/snd/kbd-tap.wav
index 50bbf4cc21..d1e5fb7b12 100644
--- a/data/elementary/themes/snd/kbd-tap.wav
+++ b/data/elementary/themes/snd/kbd-tap.wav
Binary files differ
diff --git a/data/elementary/themes/snd/kbd-tap2.wav b/data/elementary/themes/snd/kbd-tap2.wav
index 8ca8d0a391..d083311dfa 100644
--- a/data/elementary/themes/snd/kbd-tap2.wav
+++ b/data/elementary/themes/snd/kbd-tap2.wav
Binary files differ
diff --git a/data/elementary/themes/snd/kbd-tap3.wav b/data/elementary/themes/snd/kbd-tap3.wav
index 849fa1c9e5..ee85be7fc9 100644
--- a/data/elementary/themes/snd/kbd-tap3.wav
+++ b/data/elementary/themes/snd/kbd-tap3.wav
Binary files differ
diff --git a/data/elementary/themes/snd/kbd-tap4.wav b/data/elementary/themes/snd/kbd-tap4.wav
index eecd4e3d20..024a66e0cb 100644
--- a/data/elementary/themes/snd/kbd-tap4.wav
+++ b/data/elementary/themes/snd/kbd-tap4.wav
Binary files differ
diff --git a/data/elementary/themes/snd/kbd-tap5.wav b/data/elementary/themes/snd/kbd-tap5.wav
index a2dc79b6a6..82479fe8d0 100644
--- a/data/elementary/themes/snd/kbd-tap5.wav
+++ b/data/elementary/themes/snd/kbd-tap5.wav
Binary files differ
diff --git a/data/elementary/themes/snd/wood-tap.wav b/data/elementary/themes/snd/wood-tap.wav
new file mode 100644
index 0000000000..2c14203e2b
--- /dev/null
+++ b/data/elementary/themes/snd/wood-tap.wav
Binary files differ
diff --git a/data/elementary/themes/snd/wood-tap2.wav b/data/elementary/themes/snd/wood-tap2.wav
new file mode 100644
index 0000000000..ff8b748a11
--- /dev/null
+++ b/data/elementary/themes/snd/wood-tap2.wav
Binary files differ