From: Siddharth K. <sid...@gm...> - 2011-02-24 14:18:42
|
Hi David, So does it work correctly now? (I'm just checking mail from a work > computer right now so I can't test it). Thanks for addressing this. > Yes, it does. Thanks, Siddharth On Thu, Feb 24, 2011 at 12:02 PM, David Bruce <dav...@gm...>wrote: > Hi Siddarth, > > On Wed, Feb 23, 2011 at 5:58 PM, Siddharth Kothari > <sid...@gm...> wrote: > > Hi everyone, > > > > When one exits a custom game and resizes the screen, the rendering of the > > buttons on the screen does not happen properly. I suppose this problem is > > not local. > > > > To fix this, I used a T4K_PrerenderAll() call whenever a resizing of the > > screen happens. I have committed this change. > > So does it work correctly now? (I'm just checking mail from a work > computer right now so I can't test it). Thanks for addressing this. > > > > Earlier, this call was used in the T4K_RunMenu. But I think we are now > > dealing with F10 key press in a different way and the previous code is > > commented out. Can someone verify if they were also facing this issue? > > Hopefully Brendan is reading this - the current handling of resizing > is fairly complicated, and if I understand correctly depends on > registering an appropriate callback function to be invoked with F10 > (as part of T4K_HandleStandardEvents() or whatever its called). So > when we go from the menu to a game or vice versa, the callback needs > to be updated. > > So far, I haven't quite studied this part of the code enough to feel I > understand it all the way to the bottom. > > David > |