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

Home » Public Forums » archive » Re: 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
Re: Predefined Cursors in X Windows [message #40354] Mon, 09 August 2004 10:18 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
marcuirl wrote:
> Craig Markwardt <craigmnet@REMOVEcow.physics.wisc.edu> writes:
>
>
>> David Fanning <davidf@dfanning.com> writes:
>>
>>> 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?
>>
>> David, I just looked on Linux, Solaris, SunOS, and Alpha machines.
>> They all have essentially the same file (authored by either X
>> Consortium or OpenGroup), and more importantly the numeric constants
>> are all the same.
>>
>> The cursors you want are:
>> #define XC_arrow 2
>> #define XC_xterm 152
>
>
> But does not necessarily live in the same place: redhat 7.3, 7.2 and
> recent fedora fc1
>
> /usr/X11R6/include/X11/cursorfont.h
>
> a bit different from that above! HTH

The generic locations are links to the specific:

lnx142:/usr/include : dir | grep X11
lrwxrwxrwx 1 root root 20 May 13 13:57 DPS -> ../X11R6/include/DPS/
lrwxr-xr-x 1 root root 20 Mar 10 10:19 Mrm -> ../X11R6/include/Mrm/
lrwxrwxrwx 1 root root 20 May 13 13:57 X11 -> ../X11R6/include/X11/
lrwxr-xr-x 1 root root 19 Mar 10 10:19 Xm -> ../X11R6/include/Xm/
lrwxr-xr-x 1 root root 20 Mar 10 10:19 uil -> ../X11R6/include/uil/

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Predefined Cursors in X Windows
Next Topic: Re: IDL 6.1 released

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

Current Time: Sat Oct 11 02:08:10 PDT 2025

Total time taken to generate the page: 0.23919 seconds