GUI Label in front of cursor? [Solved]

Started by Jimbob, Thu 15/10/2009 21:54:40

Previous topic - Next topic

Jimbob

I have a GUI label that follows the cursor around when it is over hotspots, and that works fine.
When my cursor changes to an inventory icon, it obscures part of the text and I wondered whether it is possible to have the GUI draw over the cursor when this is the case.

I've tried altering the GUI Z-order for the label but I guess that only works in relation to other GUI objects. Is it possible a different way?

Otherwise I'll just have to move the label further out when an inventory item is 'in hand'.

Cheers.
Current Project: A Hard Day's Knight

monkey0506

There's not really a way to modify the drawing z-order of the cursor in comparison to GUIs. One thing you could perhaps try is making the actual cursor invisible with a GUI to follow the mouse around. The GUI should be non-clickable with the background graphic set to the cursor's graphic. This would then allow you to modify the z-order.

Jimbob

Thanks.

I think I'll take the cheap way out and just move the label out of the way of the cursor when holding inventory objects. But I'll bear that alternative solution in mind.
Current Project: A Hard Day's Knight

SMF spam blocked by CleanTalk