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