diff options
| author | Greg Ercolano <erco@seriss.com> | 2009-04-21 09:09:37 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2009-04-21 09:09:37 +0000 |
| commit | b475babf172ec6702af57f514c6fc28bd43159da (patch) | |
| tree | 115b0aa1a977a8496552c2b16161f96573e350a9 /test/pixmap_browser.cxx | |
| parent | 03ec459eb03b18c4792c9edc5f8e585653c276e9 (diff) | |
Most test demos converted to use Fl_Double_Window
to prevent flicker when new users run test/demo programs.
For details, see fltk.development thread started 04/16/09,
"Subject: browser demo flicker".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/pixmap_browser.cxx')
| -rw-r--r-- | test/pixmap_browser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pixmap_browser.cxx b/test/pixmap_browser.cxx index 53cd5fb0e..4df8c1fed 100644 --- a/test/pixmap_browser.cxx +++ b/test/pixmap_browser.cxx @@ -27,7 +27,7 @@ #include <FL/Fl.H> #include <FL/Fl_Box.H> -#include <FL/Fl_Window.H> +#include <FL/Fl_Double_Window.H> #include <FL/Fl_Button.H> #include <FL/Fl_Shared_Image.H> #include <string.h> @@ -36,7 +36,7 @@ #include <FL/fl_message.H> Fl_Box *b; -Fl_Window *w; +Fl_Double_Window *w; Fl_Shared_Image *img; @@ -105,7 +105,7 @@ int main(int argc, char **argv) { Fl::args(argc,argv,i,arg); - Fl_Window window(400,435); ::w = &window; + Fl_Double_Window window(400,435); ::w = &window; Fl_Box b(10,45,380,380); ::b = &b; b.box(FL_THIN_DOWN_BOX); b.align(FL_ALIGN_INSIDE|FL_ALIGN_CENTER); |
