2011-08-03 14:29:48 -04:00
|
|
|
procedure Lape_MoveMouse(const Params: PParamArray);
|
|
|
|
begin
|
|
|
|
ps_MoveMouse(Pinteger(Params^[0])^, Pinteger(Params^[1])^);
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure Lape_ScrollMouse(const Params: PParamArray);
|
|
|
|
begin
|
2011-08-03 17:54:54 -04:00
|
|
|
ps_ScrollMouse(Pinteger(Params^[0])^, Pinteger(Params^[1])^, Pinteger(Params^[2])^);
|
2011-08-03 14:29:48 -04:00
|
|
|
end;
|
|
|
|
|
|
|
|
procedure Lape_GetMousePos(const Params: PParamArray);
|
|
|
|
begin
|
|
|
|
ps_GetMousePos(Pinteger(Params^[0])^, Pinteger(Params^[1])^);
|
|
|
|
end;
|
|
|
|
|
2011-08-03 18:31:28 -04:00
|
|
|
procedure Lape_ConvIntClickType(const Params: PParamArray; const Result: Pointer);
|
2011-08-03 14:29:48 -04:00
|
|
|
begin
|
|
|
|
PClickType(Result)^ := ConvIntClickType(PInteger(Params^[0])^);
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure Lape_HoldMouse(const Params: PParamArray);
|
|
|
|
begin
|
2011-08-03 17:54:54 -04:00
|
|
|
ps_HoldMouse(Pinteger(Params^[0])^, Pinteger(Params^[1])^, Pinteger(Params^[2])^);
|
2011-08-03 14:29:48 -04:00
|
|
|
end;
|
|
|
|
|
|
|
|
procedure Lape_ReleaseMouse(const Params: PParamArray);
|
|
|
|
begin
|
2011-08-03 17:54:54 -04:00
|
|
|
ps_ReleaseMouse(Pinteger(Params^[0])^, Pinteger(Params^[1])^, Pinteger(Params^[2])^);
|
2011-08-03 14:29:48 -04:00
|
|
|
end;
|
|
|
|
|
|
|
|
procedure Lape_ClickMouse(const Params: PParamArray);
|
|
|
|
begin
|
2011-08-03 17:54:54 -04:00
|
|
|
ps_ClickMouse(Pinteger(Params^[0])^, Pinteger(Params^[1])^, Pinteger(Params^[2])^);
|
2011-08-03 14:29:48 -04:00
|
|
|
end;
|
|
|
|
|
|
|
|
procedure Lape_IsMouseButtonDown(const Params: PParamArray; const Result: Pointer);
|
|
|
|
begin
|
|
|
|
Pboolean(Result)^ := ps_IsMouseButtonDown(Pinteger(Params^[0])^);
|
|
|
|
end;
|