On Thu, Jul 14, 2011 at 2:19 PM, Garry Newman
<garry...@gmail.com> wrote:
With LoadFont - I can see the confusion. I wonder whether it would be better to have a function on the base renderer which automatically calls LoadFont and then MeasureText/RenderText. Then MeasureText/RenderText would be made protected? That would probably kill that confusion?
garry
I think that it should either be called automatically by something in Gwen, or it should be removed as a virtual function. A virtual function that isn't actually called by anything externally is going to be very confusing.
And one code suggestion: an Open() function in the Menu class. I know that you can just set hidden to false, but if you have a Close(), an Open() would be a logical function to have as well. I am using a Menu as a right-click context menu and it works quite well. Was that the intention, or is it meant to be part of a menu at the top of the screen (e.g. File, Edit, View, ...)?