From b475babf172ec6702af57f514c6fc28bd43159da Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 21 Apr 2009 09:09:37 +0000 Subject: 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 --- test/output.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/output.cxx') 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 #include // necessary for bug in mingw32? -#include +#include #include #include #include @@ -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."); -- cgit v1.2.3