From: Richard R. <sf...@ol...> - 2005-07-07 05:39:31
|
On Wed, Jul 06, 2005 at 07:39:58AM -0500, Stephen J Baker wrote: > Richard Rauch wrote: > > >For the former, I think that that's more to your discretion. In > >old GLUT on my current X environment, it is impossible to have > >more than one menu up at a time. When I suggested changing the > >menu logic in the past, I recall being told that the freeglut > >behavior currently is a match for GLUT on WIN32, so...you can > >do it either way and claim backwards compatibility. > > Given a free choice, it makes sense to only allow one menu to be up > at a time so that applications behave the same under both OS's. Perhaps I wasn't writing very clearly. freeglut menus behave self-consistently on both systems. I'm not sure how closely that that single behavior matches GLUT on WIN32; it is quite distant from GLUT on X. If you "fixed" the freeglut menus to behave as old GLUT did on X ("fix" for *ALL* target platforms), I think that the freeglut menu logic would be simpler and less buggy. And would remain as self-consistent across systems. But, whatever. Though I was not suggesting splitting the freeglut menu logic via #ifdef's, it is in any case not my concern. I'm just offering commentary as someone who's been through most of the freeglut code at least once (most of it several times, actually) and who's spent a little while thinking about the menu problems. -- "I probably don't know what I'm talking about." http://www.olib.org/~rkr/ |