r870: Merge 2.1:
[cinelerra_cv.git] / cinelerra / gwindow.C
blobd246d57e15ed47897dfe794211b19ebb102b6f9c
1 #include "gwindow.h"
2 #include "gwindowgui.h"
3 #include "mwindow.h"
4 #include "mwindowgui.h"
6 GWindow::GWindow(MWindow *mwindow)
7  : Thread(1, 0, 0)
9         this->mwindow = mwindow;
12 void GWindow::run()
14         gui->run_window();
17 void GWindow::create_objects()
19         int w, h;
22         GWindowGUI::calculate_extents(mwindow->gui, &w, &h);
23         gui = new GWindowGUI(mwindow, w, h);
24         gui->create_objects();