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

1992/1010/gnot/screen.h (diff list | history)

gnot/screen.h on 1991/0708
1991/0708    
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; 
	int	changed;	/* mouse structure changed since last read */ 
	Rendez	r; 
	int	newbuttons;	/* interrupt time access only */ 
	int	clock;		/* check mouse.track on RTE */ 
}; 
 
struct Cursorinfo{ 
	Cursor; 
	Lock; 
	int	visible;	/* on screen */ 
	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)