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

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

pc/screen.h on 1991/0730
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)