comment on implementation of window status callback

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1540 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2013-03-01 07:43:48 +00:00
parent 4d83b5ab50
commit c7656b8659

View File

@ -172,6 +172,11 @@ void FGAPIENTRY glutDisplayFunc( FGCBDisplay callback )
* DEVELOPER NOTE: in the library, only invoke the window status func, this * DEVELOPER NOTE: in the library, only invoke the window status func, this
* gets automatically translated to the visibility func if thats what the * gets automatically translated to the visibility func if thats what the
* user has set. * user has set.
* window status is kind of anemic on win32 as there are no window messages
* to notify us that the window is covered by other windows or not.
* Should one want to query this, see
* http://stackoverflow.com/questions/5445889/get-which-process-window-is-actually-visible-in-c-sharp
* for an implementation outline (but it would be polling based, not push based).
*/ */
static void fghVisibility( int status ) static void fghVisibility( int status )
{ {