Closed Twisol closed 11 years ago
That...was quick. Also, as soon as I saw Draw return a Rectangle, umm...
But it could be worse...
Yeah... well... I know what would be ideal, but it's difficult to do as the rendering system is now. I know that we do want to be able to address game elements by their position (at least within a menu space), so the addition of SelectAtPoint is (only mildly) justified. Preferably, the calculation of size would be done during Update, and the buttons could be queries at will rather than providing the Rectangle as a side effect of Draw.
What I mean is, I tried to control the damage. :)
Yeah, I understand. :)
(btw, we're all in the Final Presentation document, so :p)
This is a terrible, terrible hack, but menus now support pointing the mouse to pick a menu.
Fixes #68.