comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Predefined Cursors in X Windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Predefined Cursors in X Windows [message #40361] Mon, 09 August 2004 07:39
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I'm working on my annotation tool this morning and I am
having cursor questions. Specifically, I want my cursor
to shift into a I-beam shape when the user is typing text
in the window, and into an arrow when the user is selecting
text to move around in the window.

In Windows this is easily accomplished with the CURSOR_STANDARD
command:

Device, Cursor_Standard=32512L ; Arrow
Device, Cursor_Standard=32513L ; I-Beam

In X Windows, these numbers have to be something else. Something
that is defined in /usr/include/X11/cursorfont.h.

Here is my question for you X windows guys. Is this file
standard across all X windows implementations? If so,
what number would I use to obtain these two types of
cursors?

Thanks,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: Re: get coordinates out of a 3d class-structure
Next Topic: Re: Predefined Cursors in X Windows

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Dec 01 09:29:01 PST 2025

Total time taken to generate the page: 0.40351 seconds