* DEC GKS problem: How to set cursor color for 'Request Locator' call?
@ 1993-07-22 22:27 Grant W. Petty
0 siblings, 0 replies; only message in thread
From: Grant W. Petty @ 1993-07-22 22:27 UTC (permalink / raw)
I am using DEC GKS3D v1.1 on a DECstation 5000/200PX under Ultrix 4.1
and have run into the following problem:
When I call the 'Request Locator' function [greqloc() in the
C-binding] within the following routine, I get a cursor whose color
(black) happens to be indistinguishable from most of the background.
How can I force the cursor to take on a different color so that it can
be more easily seen? I can find nothing in the DEC GKS3D documents
that sheds any light on this.
Thanks
- Grant
get_mouse_input(u,v)
float *u,*v ;
{
Gqloc response ;
gsetlocmode(WSID,1,GREQUEST,GECHO) ;
greqloc(WSID,1,&response) ;
if (response.status == GNONE) {
*u = 0.0 ;
*v = 0.0 ;
return(FALSE) ;
}
*u = response.loc.position.x ;
*v = response.loc.position.y ;
return(TRUE) ;
}
--
Grant W. Petty gpetty@rain.atms.purdue.edu
Assistant Prof. of Atmospheric Science (317) 494-2544
Dept. of Earth & Atmospheric Sciences FAX:(317) 496-1210
Purdue University, West Lafayette IN 47907-1397
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-07-22 22:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-07-22 22:27 DEC GKS problem: How to set cursor color for 'Request Locator' call? Grant W. Petty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox