From: gpetty@rain.atms.purdue.edu (Grant W. Petty)
Subject: DEC GKS problem: How to set cursor color for 'Request Locator' call?
Date: Thu, 22 Jul 1993 22:27:12 GMT [thread overview]
Message-ID: <CAL7pF.But@mentor.cc.purdue.edu> (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
reply other threads:[~1993-07-22 22:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox