mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-30 05:11:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			118 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			118 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| {
 | |
|     $Id$
 | |
|     This file is part of the Free Pascal run time library.
 | |
|     Copyright (c) 1999-2000 by Florian Klaempfl
 | |
|     member of the Free Pascal development team
 | |
| 
 | |
|     Dummy Mouse unit for netware
 | |
| 
 | |
|     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.
 | |
| 
 | |
|  **********************************************************************}
 | |
| {2001/04/14 armin: first version, only a dummy, i think there is no 'official' way to support
 | |
|                    a mouse under netware }
 | |
| unit Mouse;
 | |
| interface
 | |
| 
 | |
| {$ifdef NOMOUSE}
 | |
| {$DEFINE NOGPM}
 | |
| {$ENDIF}
 | |
| 
 | |
| const
 | |
|   MouseEventBufSize = 16;
 | |
| 
 | |
| {$i mouseh.inc}
 | |
| 
 | |
| implementation
 | |
| 
 | |
| 
 | |
| procedure PlaceMouseCur(ofs:longint);
 | |
| begin
 | |
| end;
 | |
| 
 | |
| 
 | |
| procedure InitMouse;
 | |
| begin
 | |
| end;
 | |
| 
 | |
| 
 | |
| procedure DoneMouse;
 | |
| begin
 | |
| end;
 | |
| 
 | |
| 
 | |
| function DetectMouse:byte;
 | |
| begin
 | |
|   DetectMouse:=0;
 | |
| end;
 | |
| 
 | |
| 
 | |
| procedure ShowMouse;
 | |
| begin
 | |
| end;
 | |
| 
 | |
| 
 | |
| procedure HideMouse;
 | |
| begin
 | |
| end;
 | |
| 
 | |
| 
 | |
| function GetMouseX:word;
 | |
| begin
 | |
|   GetMouseX:=0;
 | |
| end;
 | |
| 
 | |
| 
 | |
| function GetMouseY:word;
 | |
| begin
 | |
|   GetMouseY:=0;
 | |
| end;
 | |
| 
 | |
| 
 | |
| function GetMouseButtons:word;
 | |
| begin
 | |
|   GetMouseButtons:=0;
 | |
| end;
 | |
| 
 | |
| 
 | |
| procedure SetMouseXY(x,y:word);
 | |
| begin
 | |
| end;
 | |
| 
 | |
| 
 | |
| procedure GetMouseEvent(var MouseEvent: TMouseEvent);
 | |
| begin
 | |
|   fillchar(MouseEvent,SizeOf(TMouseEvent),#0);
 | |
| end;
 | |
| 
 | |
| 
 | |
| procedure PutMouseEvent(const MouseEvent: TMouseEvent);
 | |
| begin
 | |
| end;
 | |
| 
 | |
| 
 | |
| function PollMouseEvent(var MouseEvent: TMouseEvent):boolean;
 | |
| begin
 | |
|   fillchar(MouseEvent,SizeOf(TMouseEvent),#0);
 | |
|   exit(false);
 | |
| end;
 | |
| 
 | |
| end.
 | |
| {
 | |
|   $Log$
 | |
|   Revision 1.1  2001-04-16 18:39:50  florian
 | |
|     * updates from Armin commited
 | |
| 
 | |
|   Revision 1.2  2001/01/21 20:21:40  marco
 | |
|    * Rename fest II. Rtl OK
 | |
| 
 | |
|   Revision 1.1  2001/01/13 11:03:58  peter
 | |
|     * API 2 RTL commit
 | |
| 
 | |
| }
 | 
