+ dummy win16 mouse unit implementation

git-svn-id: trunk@31869 -
This commit is contained in:
nickysn 2015-09-27 23:35:57 +00:00
parent f436987ca4
commit bed89062d0
3 changed files with 49 additions and 4 deletions

1
.gitattributes vendored
View File

@ -6809,6 +6809,7 @@ packages/rtl-console/src/win/video.pp svneol=native#text/plain
packages/rtl-console/src/win/winevent.pp svneol=native#text/plain
packages/rtl-console/src/win16/crt.pp svneol=native#text/plain
packages/rtl-console/src/win16/keyboard.pp svneol=native#text/plain
packages/rtl-console/src/win16/mouse.pp svneol=native#text/plain
packages/rtl-console/src/win16/video.pp svneol=native#text/plain
packages/rtl-extra/Makefile svneol=native#text/plain
packages/rtl-extra/Makefile.fpc svneol=native#text/plain

View File

@ -13,12 +13,12 @@ Const
UnixLikes = AllUnixOSes -[QNX];
WinEventOSes = [win32,win64];
KVMAll = [emx,go32v2,netware,netwlibc,os2,win32,win64]+UnixLikes+AllAmigaLikeOSes;
KVMAll = [emx,go32v2,netware,netwlibc,os2,win32,win64,win16]+UnixLikes+AllAmigaLikeOSes;
// all full KVMers have crt too, except Amigalikes
CrtOSes = KVMALL+[msdos,WatCom,win16]-[aros,morphos];
KbdOSes = KVMALL+[msdos,win16];
VideoOSes = KVMALL+[win16];
CrtOSes = KVMALL+[msdos,WatCom]-[aros,morphos];
KbdOSes = KVMALL+[msdos];
VideoOSes = KVMALL;
MouseOSes = KVMALL;
TerminfoOSes = UnixLikes-[beos,haiku];

View File

@ -0,0 +1,44 @@
{
This file is part of the Free Pascal run time library.
Copyright (c) 2015 by Nikolay Nikolov
member of the Free Pascal development team
Mouse unit for Win16
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
unit Mouse;
interface
{$i mouseh.inc}
implementation
{$i mouse.inc}
Const
SysMouseDriver : TMouseDriver = (
UseDefaultQueue : true;
InitDriver : Nil;
DoneDriver : Nil;
DetectMouse : Nil;
ShowMouse : Nil;
HideMouse : Nil;
GetMouseX : Nil;
GetMouseY : Nil;
GetMouseButtons : Nil;
SetMouseXY : Nil;
GetMouseEvent : Nil;
PollMouseEvent : Nil;
PutMouseEvent : Nil;
);
Begin
SetMouseDriver(SysMouseDriver);
end.