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

1991/1222/gnot/screen.h (diff list | history)

1991/1222/sys/src/9/gnot/screen.h:1,351991/1225/sys/src/9/gnot/screen.h:1,29 (short | long | prev | next)
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); 
                 
1991/0710    
/* 
 * kernel mustn't use balu; user (/dev/bitblt) can 
 */ 
#define kbitblt 	gbitblt 
1991/1222    
#define	ubitblt		gbitblt 


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