best way to do a GUI (re: region hovers?)
I'm getting my actual game working, but need to put together the GUI system. I've got some images for buttons, etc. and I'm just checking here as to if I'm doing it (more or less) the "right" way....
All I was thinking of getting to work, was defining RECT areas for my button images...then when my game state is in a menu mode, every frame pings the mouse position to find out which RECT area it's in....then either display the regular button image or the "selected" button image when appropriate..
Is this what everyone else is doing with their GUI's or is there another way I'm just not thinking about here??
thanks in advance!