[Plib-cvs] plib/doc/pui index.html,1.48,1.49
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2004-04-06 15:12:12
|
Update of /cvsroot/plib/plib/doc/pui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3257/plib/doc/pui Modified Files: index.html Log Message: Added documentation for new GLUT-less operation. Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/pui/index.html,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- index.html 13 Sep 2002 22:38:41 -0000 1.48 +++ index.html 6 Apr 2004 14:59:22 -0000 1.49 @@ -2126,36 +2126,66 @@ You can cut and paste text between different <a href="#puInput">puInput</a> widgets and <a href="#puInput">puLargeInput</a> widgets. The cut, copy, and paste commands are the standard CTRL-X, CTRL-C, and CTRL-V.<a NAME="Misc"></a> -<h2> -Miscellany</h2> -It is possible to get PUI to function without using GLUT. <a href="mailto:md...@St...">Mark -Danks</a> had initially implemented that for a WIN32 environment. Later, -his changes were improved and verified to work under other operating systems -as well. -<p>However, this is certainly not the intended way to use PUI - even under -WIN32 - but it's interesting to know that it <b>is</b> possible. [...71 lines suppressed...] + with applications written for PLIB 1.7.x and earlier. +</ol> +Check out the example programs for PU - notably fltk_demo and sdl_example +in the examples/src/pui area and pw_pui in the examples/src/pw area. +<p> +If you have your own windowing library (ie not PW, GLUT, SDL or FLTK), +then you can make it work properly with PUI by defining four inline +functions and passing them into 'puSetWindowFuncs'. Look at (for +example) puGLUT.h to see how this is done. <hr> <table> <tr> @@ -2167,6 +2197,6 @@ </td> </tr> </table> - </body> </html> + |