comparison test/dw_links.cc @ 2012:bfb8bc9ddf62

Avoid lots of flicker while resizing the window (when "buffered_drawing" is set to 0 or 1)
author Jorge Arellano Cid <jcid@dillo.org>
date Fri, 13 May 2011 14:14:43 -0400
parents 553e63661ec1
children 8cf59505bd0a
comparison
equal deleted inserted replaced
2010:c60462acb9cf 2012:bfb8bc9ddf62
75 LinkTestReceiver linkTestReceiver; 75 LinkTestReceiver linkTestReceiver;
76 FltkPlatform *platform = new FltkPlatform (); 76 FltkPlatform *platform = new FltkPlatform ();
77 Layout *layout = new Layout (platform); 77 Layout *layout = new Layout (platform);
78 78
79 Fl_Window *window = new Fl_Window(200, 300, "Dw Links"); 79 Fl_Window *window = new Fl_Window(200, 300, "Dw Links");
80 window->box(FL_NO_BOX);
80 window->begin(); 81 window->begin();
81 82
82 FltkViewport *viewport = new FltkViewport (0, 0, 200, 300); 83 FltkViewport *viewport = new FltkViewport (0, 0, 200, 300);
83 layout->attachView (viewport); 84 layout->attachView (viewport);
84 85