mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
remove TMouse.SetCursorPos (tricky and not cross-platform)
git-svn-id: trunk@7045 -
This commit is contained in:
parent
cdcf64b178
commit
fc14d90920
@ -1849,14 +1849,13 @@ type
|
||||
FDragThreshold: Integer;
|
||||
Procedure SetCapture(const Value: HWND);
|
||||
Function GetCapture: HWND;
|
||||
Procedure SetCursorPos(value: TPoint);
|
||||
Function GetCursorPos: TPoint;
|
||||
function GetIsDragging: Boolean;
|
||||
public
|
||||
constructor Create;
|
||||
destructor Destroy; override;
|
||||
property Capture: HWND read GetCapture write SetCapture;
|
||||
property CursorPos: TPoint read GetCursorPos write SetCursorPos;
|
||||
property CursorPos: TPoint read GetCursorPos;
|
||||
property DragImmediate: Boolean read FDragImmediate write FDragImmediate default True;
|
||||
property DragThreshold: Integer read FDragThreshold write FDragThreshold default 5;
|
||||
property IsDragging: Boolean read GetIsDragging;
|
||||
@ -2890,6 +2889,9 @@ end.
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.292 2005/03/31 20:49:39 micha
|
||||
remove TMouse.SetCursorPos (tricky and not cross-platform)
|
||||
|
||||
Revision 1.291 2005/03/30 18:34:42 micha
|
||||
fix bug 659 and 660: LM_RBUTTONUP message returns true whenever popupmenu was invoked
|
||||
|
||||
|
@ -45,11 +45,6 @@ Begin
|
||||
FCapture := GetCapture;
|
||||
end;
|
||||
|
||||
Procedure TMouse.SetCursorPos(Value : Tpoint);
|
||||
Begin
|
||||
|
||||
end;
|
||||
|
||||
Function TMouse.GetCursorPos : TPoint;
|
||||
var
|
||||
p : TPoint;
|
||||
|
Loading…
Reference in New Issue
Block a user