docs: glutPauseFunc/glutResumeFunc -> glutAppStatusFunc

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1594 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2013-04-05 03:52:59 +00:00
parent ad30a17ccd
commit 892fafec03
2 changed files with 12 additions and 10 deletions

View File

@ -170,7 +170,7 @@ Done:
<li>GLES1 and GLES2 support for geometry</li> <li>GLES1 and GLES2 support for geometry</li>
<li>Pause/resume application support</li> <li>Pause/resume application support</li>
<li>Callback to reload OpenGL resources lost during a pause</li> <li>Callback to reload OpenGL resources lost during a pause</li>
<li>Callback for pause/resume notifications</li> <li>Callback for application status (pause/resume) notifications</li>
</ul> </ul>
TODO: TODO:

View File

@ -225,8 +225,7 @@ contained herein.
<li><a href="#Android">Android functions</a> <li><a href="#Android">Android functions</a>
<ol> <ol>
<li>glutInitContextFunc &larr; void</li> <li>glutInitContextFunc &larr; void</li>
<li>glutPauseFunc &larr; void</li> <li>glutAppStatusFunc &larr; event</li>
<li>glutResumeFunc &larr; void</li>
</ol> </ol>
</li> </li>
<li><a href="#Miscellaneous">Miscellaneous Functions</a> <li><a href="#Miscellaneous">Miscellaneous Functions</a>
@ -613,14 +612,14 @@ By means of the <tt>glutSetWindowTitle</tt> function you can set the
titles for your top-level <i>FreeGLUT</i> windows. If you just want one titles for your top-level <i>FreeGLUT</i> windows. If you just want one
title for the window over the window's entire life, you should set it title for the window over the window's entire life, you should set it
when you open the window with glutCreateWindow().<br> when you open the window with glutCreateWindow().<br>
<tt>glutSetIconTitle</tt> set the title to be displayed for the window <tt>glutSetIconTitle</tt> sets the title to be displayed for the window
when it is in iconified (minimized) state. when it is in iconified (minimized) state.
</p> </p>
<p><b>Changes From GLUT</b></p> <p><b>Changes From GLUT</b></p>
<p><tt>glutSetIconTitle</tt> does nothing in GLUT on Windows, Windows is <p><tt>glutSetIconTitle</tt> does nothing in GLUT on Windows, but is
supported by <i>FreeGLUT</i>.</p> emulated on Windows by <i>FreeGLUT</i>.</p>
<h2>6.6 glutReshapeWindow</h2> <h2>6.6 glutReshapeWindow</h2>
@ -2451,10 +2450,13 @@ whether/how to implement it.
<ul> <ul>
<li><code>glutInitContextFunc &larr; void</code> : called when the context <li><code>glutInitContextFunc &larr; void</code> : called when the context
is initialized or re-initialized (e.g. after a pause)</li> is initialized or re-initialized (e.g. after a pause)</li>
<li><code>glutPauseFunc &larr; void</code> : called when the application <li><code>glutAppStatusFunc &larr; event</code> : called when the
goes on a pause (or a stop)</li> application's status changes, with event identifying the state entered.
<li><code>glutResumeFunc &larr; void</code> : called when the application Possible states:
comes back from a pause (after <code>glutInitContextFunc</code>)</li> <ul>
<li>application goes on a pause (or a stop) &rarr; GLUT_APPSTATUS_PAUSE</li>
<li>application comes back from a pause &rarr; GLUT_APPSTATUS_RESUME. Is
called after the <code>glutInitContextFunc</code> callback.</li>
</ul> </ul>
<p>Android support is further described at <p>Android support is further described at