diff options
Diffstat (limited to 'test/doublebuffer.cxx')
| -rw-r--r-- | test/doublebuffer.cxx | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/test/doublebuffer.cxx b/test/doublebuffer.cxx index b15bc02c3..a88bc2f0d 100644 --- a/test/doublebuffer.cxx +++ b/test/doublebuffer.cxx @@ -1,14 +1,37 @@ -// Double-buffering test. - +// +// "$Id" +// +// Double-buffering test program for the Fast Light Tool Kit (FLTK). +// // This demo shows how double buffering helps, by drawing the // window in a particularily bad way. - +// // The single-buffered window will blink as it updates. The // double buffered one will not. It will take just as long // (or longer) to update, but often it will appear to be faster. - +// // This demo should work for both the GL and X versions of Fl, // even though the double buffering mechanism is totally different. +// +// Copyright 1998 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems to "fltk-bugs@easysw.com". +// #include <FL/Fl.H> #include <FL/Fl_Single_Window.H> @@ -97,3 +120,7 @@ int main() { w2.show(); return Fl::run(); } + +// +// End of "$Id: doublebuffer.cxx,v 1.2 1998/10/20 13:25:01 mike Exp $". +// |
