make it a bit more interesting...

SVN revision: 9801
This commit is contained in:
rephorm 2004-04-20 01:00:01 +00:00 committed by rephorm
parent 88589aae0c
commit d0aa1ba4ae
1 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ collections {
new buf[100]; new buf[100];
snprintf(buf, 100, "val = %i, pos = %f", val, pos); snprintf(buf, 100, "val = %i, pos = %f", val, pos);
set_drag(PART:"dragable", pos, pos); set_drag(PART:"dragable", sin(3.14*pos), cos(1.57*pos));
emit("PR AAAAAAAAANIM", buf); emit("PR AAAAAAAAANIM", buf);
} }
} }
@ -539,14 +539,14 @@ collections {
} }
program { program {
name: "logo_click_d1"; name: "logo_click_d1";
signal: "mouse,down,1"; signal: "mouse,down,1*";
source: "logo"; source: "logo";
action: DRAG_VAL_STEP 1.0 1.0; action: DRAG_VAL_STEP 1.0 1.0;
target: "dragable"; target: "dragable";
} }
program { program {
name: "logo_click_d2"; name: "logo_click_d2";
signal: "mouse,down,3"; signal: "mouse,down,3*";
source: "logo"; source: "logo";
action: DRAG_VAL_STEP -1.0 -1.0; action: DRAG_VAL_STEP -1.0 -1.0;
target: "dragable"; target: "dragable";