comparison test/dw_ui_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 6b9486c3be92
children 8cf59505bd0a
comparison
equal deleted inserted replaced
2010:c60462acb9cf 2012:bfb8bc9ddf62
42 { 42 {
43 FltkPlatform *platform = new FltkPlatform (); 43 FltkPlatform *platform = new FltkPlatform ();
44 Layout *layout = new Layout (platform); 44 Layout *layout = new Layout (platform);
45 45
46 Fl_Window *window = new Fl_Window(400, 400, "Dw UI Test"); 46 Fl_Window *window = new Fl_Window(400, 400, "Dw UI Test");
47 window->box(FL_NO_BOX);
47 window->begin(); 48 window->begin();
48 49
49 FltkViewport *viewport = new FltkViewport (0, 0, 400, 400); 50 FltkViewport *viewport = new FltkViewport (0, 0, 400, 400);
50 layout->attachView (viewport); 51 layout->attachView (viewport);
51 52