r1006: configure: Use libx264_pic instead of libx264 if available.
[cinelerra_cv/mob.git] / cinelerra / levelwindow.C
bloba618aa585766e7ef673044f49b1bb8bcb90b4d18
1 #include "levelwindow.h"
2 #include "levelwindowgui.h"
3 #include "mainmenu.h"
4 #include "mwindow.h"
6 LevelWindow::LevelWindow(MWindow *mwindow)
7  : Thread()
9         this->mwindow = mwindow;
10         Thread::set_synchronous(1);
13 LevelWindow::~LevelWindow()
15         if(gui) 
16         {
17                 gui->set_done(0);
18                 join();
19         }
20         if(gui) delete gui;
23 int LevelWindow::create_objects()
25         gui = new LevelWindowGUI(mwindow, this);
26         gui->create_objects();
27         return 0;
31 void LevelWindow::run()
33         if(gui) gui->run_window();