mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 04:10:19 +02:00
+ dummy win16 mouse unit implementation
git-svn-id: trunk@31869 -
This commit is contained in:
parent
f436987ca4
commit
bed89062d0
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -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
|
||||
|
@ -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];
|
||||
|
||||
|
44
packages/rtl-console/src/win16/mouse.pp
Normal file
44
packages/rtl-console/src/win16/mouse.pp
Normal 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.
|
Loading…
Reference in New Issue
Block a user