TMouseDriver
Mouse driver structure
Declaration
Source position: mouseh.inc line 48
Type
TMouseDriver = record
UseDefaultQueue : Boolean;
InitDriver : procedure;
DoneDriver : procedure;
DetectMouse : function : Byte;
ShowMouse : procedure;
HideMouse : procedure;
GetMouseX : function : Word;
GetMouseY : function : Word;
GetMouseButtons : function : Word;
SetMouseXY : procedure(x: Word; y: Word);
GetMouseEvent : procedure(var MouseEvent: TMouseEvent);
PollMouseEvent : function(var MouseEvent: TMouseEvent) : Boolean;
PutMouseEvent : procedure(const MouseEvent: TMouseEvent);
end
Description
The TMouseDriver record is used to implement a mouse driver in the SetMouseDriver function. Its fields must be filled in before calling the SetMouseDriver function.
See also
Name | Description |
---|---|
SetMouseDriver | Set a new mouse driver. |