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/output.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/output.cxx')
| -rw-r--r-- | test/output.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/output.cxx b/test/output.cxx index 5c9dc5713..ccf4c4ca2 100644 --- a/test/output.cxx +++ b/test/output.cxx @@ -27,7 +27,7 @@ #include <FL/Fl.H> #include <FL/Fl_Value_Input.H> // necessary for bug in mingw32? -#include <FL/Fl_Window.H> +#include <FL/Fl_Double_Window.H> #include <FL/Fl_Box.H> #include <FL/Fl_Hor_Value_Slider.H> #include <FL/Fl_Toggle_Button.H> @@ -41,7 +41,7 @@ Fl_Multiline_Output *text2; Fl_Input *input; Fl_Value_Slider *fonts; Fl_Value_Slider *sizes; -Fl_Window *window; +Fl_Double_Window *window; void font_cb(Fl_Widget *,void *) { text->textfont(int(fonts->value())); @@ -63,7 +63,7 @@ void input_cb(Fl_Widget *,void *) { } int main(int argc, char **argv) { - window = new Fl_Window(400,400); + window = new Fl_Double_Window(400,400); input = new Fl_Input(50,375,350,25); input->static_value("The quick brown fox\njumped over\nthe lazy dog."); |
