Visibility functions better implemented now. All goes through
authorDiederick Niehorster <dcnieho@gmail.com>
Fri, 1 Mar 2013 10:31:34 +0000 (10:31 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Fri, 1 Mar 2013 10:31:34 +0000 (10:31 +0000)
commita7362e5d688d2d2873d6bab49b86302aa588f1bf
treecb0fdbae8f45abde162a58c65c7e9185986db3dc
parent0b246b477db787417d63339648d13e3b7afc35af
Visibility functions better implemented now. All goes through
WM_SHOWWINDOW except for a newly created window (WM_SHOWWINDOW is too
early for callback then). I now have a state variable that indicates
whether visibility has been notified yet for a new window. This
notification gets done just before the window is first drawn. This
removes the need for fgPlatformMainLoopPreliminaryWork on windows, and
it also works for windows created when the mainloop is already running

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1541 7f0cb862-5218-0410-a997-914c9d46530a
progs/demos/Resizer/Resizer.cpp
src/fg_window.c
src/mswin/fg_internal_mswin.h
src/mswin/fg_main_mswin.c
src/mswin/fg_window_mswin.c
src/x11/fg_window_x11.c