comparison test/dw_images_simple.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
95 { 95 {
96 FltkPlatform *platform = new FltkPlatform (); 96 FltkPlatform *platform = new FltkPlatform ();
97 layout = new Layout (platform); 97 layout = new Layout (platform);
98 98
99 Fl_Window *window = new Fl_Window(410, 210, "Dw Simple Image"); 99 Fl_Window *window = new Fl_Window(410, 210, "Dw Simple Image");
100 window->box(FL_NO_BOX);
100 window->begin(); 101 window->begin();
101 102
102 FltkViewport *viewport = new FltkViewport (0, 0, 410, 210); 103 FltkViewport *viewport = new FltkViewport (0, 0, 410, 210);
103 layout->attachView (viewport); 104 layout->attachView (viewport);
104 105