comparison test/dw_resource_test.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
38 { 38 {
39 FltkPlatform *platform = new FltkPlatform (); 39 FltkPlatform *platform = new FltkPlatform ();
40 Layout *layout = new Layout (platform); 40 Layout *layout = new Layout (platform);
41 41
42 Fl_Window *window = new Fl_Window(410, 210, "Dw Resource test"); 42 Fl_Window *window = new Fl_Window(410, 210, "Dw Resource test");
43 window->box(FL_NO_BOX);
43 window->begin(); 44 window->begin();
44 45
45 FltkViewport *viewport = new FltkViewport (0, 0, 410, 210); 46 FltkViewport *viewport = new FltkViewport (0, 0, 410, 210);
46 layout->attachView (viewport); 47 layout->attachView (viewport);
47 48