Update of /cvsroot/plib/plib/doc/pw
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17000/plib/doc/pw
Modified Files:
index.html
Log Message:
Updated PW documentation to include the pwSetAutoRepeatKey function.
Index: index.html
===================================================================
RCS file: /cvsroot/plib/plib/doc/pw/index.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- index.html 20 Mar 2004 02:21:18 -0000 1.4
+++ index.html 7 Apr 2004 00:01:07 -0000 1.5
@@ -155,6 +155,18 @@
Note that the results are only valid inside of a callback called from
pwSwapBuffers().
<p>
+By default, PW disallows auto-repeat of keyboard keys. This is generally what
+you want for games. However, it's possible that you may want auto-repeat to
+be enabled:
+<pre>
+
+ void pwSetAutoRepeatKey ( bool enable ) ;
+
+</pre>
+If the user has told the windowing system that auto repeat should be off as
+some kind of a global preference then pwSetAutoRepeatKey(true) won't turn
+it back on again.
+<p>
Finally, there are a number of functions for setting and getting the window
position and dimensions - also to set the current cursor shape:
<pre>
|