comparison test/dw_anchors_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 c60462acb9cf
children 8cf59505bd0a
comparison
equal deleted inserted replaced
2010:c60462acb9cf 2012:bfb8bc9ddf62
97 97
98 platform = new FltkPlatform (); 98 platform = new FltkPlatform ();
99 layout = new Layout (platform); 99 layout = new Layout (platform);
100 100
101 window = new Fl_Window(250, 200, "Dw Anchors Test"); 101 window = new Fl_Window(250, 200, "Dw Anchors Test");
102 window->box(FL_NO_BOX);
102 window->begin(); 103 window->begin();
103 104
104 viewport = new FltkViewport (50, 0, 200, 200); 105 viewport = new FltkViewport (50, 0, 200, 200);
105 viewport->end(); 106 viewport->end();
106 layout->attachView (viewport); 107 layout->attachView (viewport);