Mixer: Use doublebuffering for main window.

pull/3/head
Jonathan Moore Liles 2010-01-17 23:48:50 -06:00
parent 41d5f48441
commit b1a989ba14
1 changed files with 4 additions and 5 deletions

View File

@ -18,8 +18,7 @@
/*******************************************************************************/
#include <FL/Fl.H>
#include <FL/Fl_Single_Window.H>
#include <FL/Fl_Single_Window.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Scroll.H>
#include <FL/Fl_Pack.H>
#include "Mixer_Strip.H"
@ -37,8 +36,6 @@
Mixer *mixer;
Fl_Single_Window *main_window;
#include <FL/Boxtypes.H>
#include "Loggable.H"
#include <FL/Fl_Tooltip.H>
@ -98,8 +95,10 @@ main ( int argc, char **argv )
/* Fl::foreground( 0xFF, 0xFF, 0xFF ); */
/* Fl::background( 0x10, 0x10, 0x10 ); */
Fl_Double_Window *main_window;
{
Fl_Single_Window *o = main_window = new Fl_Single_Window( 1024, 768, "Mixer" );
Fl_Double_Window *o = main_window = new Fl_Double_Window( 1024, 768, "Mixer" );
{
Fl_Widget *o = mixer = new Mixer( 0, 0, main_window->w(), main_window->h(), NULL );
Fl_Group::current()->resizable(o);