forked from enlightenment/efl
TH - wavs
This commit is contained in:
parent
343887256d
commit
4918b9d260
|
@ -1,4 +1,12 @@
|
|||
group { name: "elm/check/base/default";
|
||||
sounds {
|
||||
sample { name: "wood-tap1" LOSSY 64;
|
||||
source: "wood-tap.wav";
|
||||
}
|
||||
sample { name: "wood-tap2" LOSSY 64;
|
||||
source: "wood-tap2.wav";
|
||||
}
|
||||
}
|
||||
script {
|
||||
BUTTONMODE_SCRIPT
|
||||
}
|
||||
|
@ -214,6 +222,15 @@ group { name: "elm/check/base/default";
|
|||
program { signal: "mouse,clicked,1"; source: "event";
|
||||
action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
|
||||
}
|
||||
program { signal: "mouse,down,1"; source: "event";
|
||||
script {
|
||||
new buf[32]; new Float:val;
|
||||
get_state(PART:"ck_check", buf, 32, val);
|
||||
if (!strcmp(buf, "default")) { run_program(PROGRAM:"snd-check-on"); }
|
||||
else { run_program(PROGRAM:"snd-check-off"); }
|
||||
echo(buf);
|
||||
}
|
||||
}
|
||||
program { signal: "elm,state,check,on"; source: "elm";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "ck_check";
|
||||
|
@ -222,6 +239,12 @@ group { name: "elm/check/base/default";
|
|||
action: STATE_SET "default" 0.0;
|
||||
target: "ck_check";
|
||||
}
|
||||
program { name: "snd-check-on";
|
||||
action: PLAY_SAMPLE "wood-tap1" 1.0 INPUT;
|
||||
}
|
||||
program { name: "snd-check-off";
|
||||
action: PLAY_SAMPLE "wood-tap2" 1.0 INPUT;
|
||||
}
|
||||
program { signal: "mouse,down,1"; source: "event";
|
||||
action: SIGNAL_EMIT "elm,action,press" "elm";
|
||||
after: "button_click_anim";
|
||||
|
|
|
@ -539,7 +539,6 @@ group { name: "elm/entry/anchor/default";
|
|||
}
|
||||
|
||||
group { name: "elm/entry/base/default";
|
||||
/*
|
||||
sounds {
|
||||
sample { name: "key-tap1" LOSSY 64;
|
||||
source: "kbd-tap.wav";
|
||||
|
@ -557,7 +556,6 @@ group { name: "elm/entry/base/default";
|
|||
source: "kbd-tap5.wav";
|
||||
}
|
||||
}
|
||||
*/
|
||||
styles {
|
||||
style { name: "entry_style";
|
||||
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";
|
|||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.guide";
|
||||
}
|
||||
/*
|
||||
program { name: "key-down";
|
||||
signal: "entry,keydown"; source: "elm.text";
|
||||
script {
|
||||
|
@ -680,7 +677,6 @@ group { name: "elm/entry/base/default";
|
|||
program { name: "key-down5";
|
||||
action: PLAY_SAMPLE "key-tap5" 1.0 INPUT;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1151,7 +1147,6 @@ group { name: "elm/entry/handler/end/default";
|
|||
}
|
||||
|
||||
group { name: "elm/efl_ui_text/base/default";
|
||||
/*
|
||||
sounds {
|
||||
sample { name: "key-tap1" LOSSY 64;
|
||||
source: "kbd-tap.wav";
|
||||
|
@ -1169,7 +1164,6 @@ group { name: "elm/efl_ui_text/base/default";
|
|||
source: "kbd-tap5.wav";
|
||||
}
|
||||
}
|
||||
*/
|
||||
// data.item: "context_menu_orientation" "horizontal";
|
||||
parts {
|
||||
part { name: "elm.swallow.background"; type: SWALLOW;
|
||||
|
@ -1231,7 +1225,6 @@ group { name: "elm/efl_ui_text/base/default";
|
|||
target: "elm.guide";
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
program { name: "key-down";
|
||||
signal: "entry,keydown"; source: "elm.text";
|
||||
script {
|
||||
|
@ -1255,7 +1248,6 @@ group { name: "elm/efl_ui_text/base/default";
|
|||
program { name: "key-down5";
|
||||
action: PLAY_SAMPLE "key-tap5" 1.0 INPUT;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue