comparison test/fltk_browser.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 8178c7976185
children f356a146762b
comparison
equal deleted inserted replaced
2010:c60462acb9cf 2012:bfb8bc9ddf62
24 #include <FL/Fl.H> 24 #include <FL/Fl.H>
25 25
26 int main (int argc, char *argv[]) 26 int main (int argc, char *argv[])
27 { 27 {
28 Fl_Window *window = new Fl_Window (300, 300, "FLTK Browser"); 28 Fl_Window *window = new Fl_Window (300, 300, "FLTK Browser");
29 window->box(FL_NO_BOX);
29 window->begin (); 30 window->begin ();
30 Fl_Browser *browser = new Fl_Browser (0, 0, 300, 300); 31 Fl_Browser *browser = new Fl_Browser (0, 0, 300, 300);
31 browser->begin (); 32 browser->begin ();
32 33
33 for (int i = 0; i < 10; i++) { 34 for (int i = 0; i < 10; i++) {