fixing up some docs regarding spaceball buttons

(cherry picked from commit c9442fa119)

(cherry picked from commit c9442fa119)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1791 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2016-01-20 19:49:02 +00:00
parent 7e16d00e49
commit 3bed0feb38

View File

@ -1381,19 +1381,31 @@ The <tt>glutSpaceballButtonFunc</tt> function sets the window's Spaceball button
<p><b>Description</b></p> <p><b>Description</b></p>
<p>The <i>button</i> argument may take one of the following defined constant values</p> <p>The <i>button</i> argument may take one of the following defined
constant values:</p>
<ul> <ul>
<li> <li></tt>GLUT_SPACEBALL_BUTTON_A</tt> (0x00000001)</li>
GLUT_SPACEBALL_BUTTON_A(0x00000001), GLUT_SPACEBALL_BUTTON_B(0x00000002),..., GLUT_SPACEBALL_BUTTON_E(0x00000010) <li></tt>GLUT_SPACEBALL_BUTTON_B</tt> (0x00000002)</li>
</li> <li></tt>GLUT_SPACEBALL_BUTTON_C</tt> (0x00000004)</li>
<li></tt>GLUT_SPACEBALL_BUTTON_D</tt> (0x00000008)</li>
<li></tt>GLUT_SPACEBALL_BUTTON_E</tt> (0x00000010)</li>
</ul> </ul>
<p>The <i>updown</i> argument may take one of the two defined constant values</p> <p>The <i>updown</i> argument may take one of the two defined constant
values:</p>
<ul> <ul>
<li> <li>
GLUT_DOWN, GLUT_UP indicating if button is pressed or released. GLUT_DOWN, GLUT_UP indicating if button is pressed or released.
</li> </li>
</ul> </ul>
<p><b>Changes From GLUT</b></p>
<p>
The <tt>GLUT_SPACEBALL_BUTTON_</tt> defines for the button argument of
the callback are not provided by GLUT, but the numerical values returned
are the same.
</p>
<h2>12.18 glutButtonBoxFunc</h2> <h2>12.18 glutButtonBoxFunc</h2>
<p> <p>