Hi all,
I cannot found in Irrlicht help some function for changing of irr cursor type. It is arrow by default. Well, some ideas for loading of custom cursors?
Thanks in advance.
Changing of cursor type
Currently there is no way to change the cursor. You can however hack your own cursor by getting an image and clipping it to the cursor position every frame. By doing this however, you will not be able to interact with GUI elements as it will act as though the image is below the cursor, so blocking it from clicking on buttons etc.
Definatly possible, not compatable with Linux which to me isn't acceptable. Irrlicht can support Linux so I think getting a way to do cursor images that is cross platform would be a good idea.
I'm having a think about it, I think that it should be possible to create a class like GUICursor or something. I think I can remove it from the event receiver so that Irrlicht doesn't think the cursor image is in the way of any GUI elements, I'll have to look at it.
I'm having a think about it, I think that it should be possible to create a class like GUICursor or something. I think I can remove it from the event receiver so that Irrlicht doesn't think the cursor image is in the way of any GUI elements, I'll have to look at it.
-
- Posts: 386
- Joined: Thu Sep 25, 2003 12:43 pm
- Contact: