mirror of
https://github.com/fltk/fltk.git
synced 2026-05-20 04:31:25 +08:00
More accurate documentation of Fl_Window::wait_for_expose() for Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+6
-4
@@ -413,10 +413,12 @@ void Fl_Window::free_icons() {
|
||||
matter, but in some cases you may want to have the window instantiated
|
||||
and displayed synchronously.
|
||||
|
||||
Currently (as of FLTK 1.3.3) this method only has an effect on X11.
|
||||
On Windows and Mac OS X show() is always synchronous. If you want to
|
||||
write portable code and need this synchronous show() feature, add
|
||||
win->wait_for_expose() on all platforms, and FLTK will just do the
|
||||
Currently (as of FLTK 1.3.4) this method has an effect on X11 and Mac OS.
|
||||
On Windows, show() is always synchronous. The effect of show() varies with
|
||||
versions of Mac OS X: early versions have the window appear on the screen
|
||||
when show() returns, later versions don't.
|
||||
If you want to write portable code and need this synchronous show() feature,
|
||||
add win->wait_for_expose() on all platforms, and FLTK will just do the
|
||||
right thing.
|
||||
|
||||
This method can be used for displaying splash screens before
|
||||
|
||||
Reference in New Issue
Block a user