x


Cursor appearance change when mouse over a GUI button

Hello, I can't figure that out... does anyone happen to know a way to change cursor appearance when the mouse is over a GUI button? I was looking at onHover and hover but these seem to change only the color of the button... I have learnt how to change the cursor appearance on GUI but don't know how to change it when the mouse is over a button. Please, help! :)

more ▼

asked May 01 '12 at 01:03 PM

Lenka gravatar image

Lenka
1 2 2 2

(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

There isn't any signals sent when the mouse is hover a button, as far as I know. You'll need to check every rects concerned. Could store those rects in an array and go through it in update, or create a class that draw a button and send the hover message. Or improvise :)

more ▼

answered May 01 '12 at 02:52 PM

Berenger gravatar image

Berenger
11k 12 19 53

Thanks for the ideas :)

May 01 '12 at 05:03 PM Lenka
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x981
x786
x379
x197
x55

asked: May 01 '12 at 01:03 PM

Seen: 998 times

Last Updated: May 01 '12 at 05:03 PM