plan 9 kernel history: overview | file list | diff list

1993/0226/pc/screen.h (diff list | history)

1993/0225/sys/src/9/pc/screen.h:1,331993/0226/sys/src/9/pc/screen.h:1,3 (short | long | prev | next)
Remove Mouseinfp, Cursorinfo.
rsc Fri Mar 4 12:44:25 2005
1991/0730    
typedef struct Mouseinfo	Mouseinfo; 
typedef struct Cursorinfo	Cursorinfo; 
                 
struct Mouseinfo{ 
	/* 
	 * First three fields are known in some l.s's 
	 */ 
	int	dx;		/* interrupt-time delta */ 
	int	dy; 
	int	track;		/* update cursor on screen */ 
	Mouse; 
1993/0225    
	ulong	counter;	/* increments every update */ 
	ulong	lastcounter;	/* value when /dev/mouse read */ 
1991/0730    
	Rendez	r; 
	int	newbuttons;	/* interrupt time access only */ 
	int	clock;		/* check mouse.track on RTE */ 
}; 
                 
struct Cursorinfo{ 
	Cursor; 
	Lock; 
	int	visible;	/* on screen */ 
1992/1107    
	int	disable;	/* from being used */ 
1991/0730    
	Rectangle r;		/* location */ 
}; 
                 
                 
extern Mouseinfo	mouse; 
extern Cursorinfo	cursor; 
                 
extern void		mouseupdate(int); 
1992/1010    
 
#define	hwscreenwrite(a, b) 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)