Re: [Plib-devel] PUI questions
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-07-31 23:56:42
|
> Dave McClurg wrote: > i know that PUI is considered fairly static and stable but would anyone > mind some refinement of PUI to occur. That would be great! I do use PUI - but only as I originally intended it - as a *SIMPLE* way to add *SIMPLE* GUI to existing OpenGL applications without massive restructuring. An excellent example would be the title screen for TuxKart - which has: * Four radio buttons to let you pick a track to race on. * One slider to let you set the number of laps in the race. * Two buttons: "Start Game" and "Quit". ...then within the game, there is menu bar with about a dozen controls in it. I havn't enhanced it because I don't *need* any enhancements - although a file browser would be nice. The reason I didn't make a file browser initially is that I realised that GLUT was basically incapable of letting me say things like: filename = puFileBrowser ( "*.*" ) ; ...because you have to return from the GLUT callback before you can make it swapbuffers again - and hence puFileBrowser cannot be written with standard PUI widgets if you want to use it within GLUT. Yuck! > basically, my goal would be to enhance PUI to the point where i can build > a nice looking SSG viewer. For that, I need a listbox and other controls > (which could be in the viewer) to allow something that looks as good as GLUI > example #5. Any reason not to go forward in this direction? If you can figure out how to do it, you certainly have my enthusiastic support. Try not to break existing PUI applications - quite a lot of people use PUI. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |