I was wondering if it was possible to change the look of the mouse cursor. An example could be having the cursor a hand for walking, or a sword for attacking. Or one cursor for every objective. I was working on this problem a while ago and forgot, but it has been brought to my attention again and please if one of you brilliant coders out there knows how, plz reply.
Thanks
The Conjuror
ID:267063
![]() Nov 13 2002, 3:13 pm
|
|
![]() Nov 13 2002, 7:21 pm
|
|
Look up "mouse pointers" in the reference and visit all of the links there.
|
I have and its too confusing, it doesnt show how to make a pointer for everything, it just says "all". Can you offer any help?
|
*sigh*
Okay, I'll spell it out. Look up each and every one of the following things in the reference: mouse_drag_pointer var (atom) mouse_drop_pointer var (atom) mouse_drop_zone var (atom) mouse_opacity var (atom) mouse_over_pointer var (atom) mouse_pointer_icon var (client) All you need to do is set the appropriate var to a .dmi file, and there's your mouse pointer! To decide which one to use, firstly you need to work out exactly when you want the mouse cursor to appear? All the time? Use client.mouse_pointer_icon. Only when over an atom of a certain type? Use atom.mouse_over_pointer; and so on, and so on. |
Ok, this is what i have, ive made an icon for a mouse called mouse.dmi, now i have no idea what i do for the code. Ive looked at the refference so many times i have head aches, it doesnt give any examples of how to use it, it just tells you how. Please just tell me what to do, like give me some coding. I thought it would be like MOUSE_ICON=mouse.dmi' As you can see i have no clue!!!
|