From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11592a,b306bdcd599617ef,start X-Google-Attributes: gid11592a,public X-Google-Thread: 1164f8,b306bdcd599617ef,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-07-22 15:49:11 PST Xref: gmd.de comp.graphics:17804 comp.sys.dec:8968 Newsgroups: comp.graphics,comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!haven.umd.edu!purdue!mentor.cc.purdue.edu!rain!gpetty From: gpetty@rain.atms.purdue.edu (Grant W. Petty) Subject: DEC GKS problem: How to set cursor color for 'Request Locator' call? Message-ID: Sender: news@mentor.cc.purdue.edu (USENET News) Organization: Earth & Atmospheric Sciences, Purdue University Date: Thu, 22 Jul 1993 22:27:12 GMT 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