Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / guicast / bcsubwindow.C
blob001e9329e6a94182556b0396e81d0643c7257e01
1 #include "bcsubwindow.h"
5 BC_SubWindow::BC_SubWindow(int x, int y, int w, int h, int bg_color)
6  : BC_WindowBase()
8         this->x = x; 
9         this->y = y; 
10         this->w = w; 
11         this->h = h;
12         this->bg_color = bg_color;
13 //printf("BC_SubWindow::BC_SubWindow 1\n");
16 BC_SubWindow::~BC_SubWindow()
20 int BC_SubWindow::initialize()
22         create_window(parent_window, 
23                         "Sub Window", 
24                         x, 
25                         y, 
26                         w, 
27                         h, 
28                         0, 
29                         0, 
30                         0, 
31                         0, 
32                         0, 
33                         bg_color, 
34                         NULL, 
35                         SUB_WINDOW, 
36                         0,
37                         0);
38         return 0;
46 BC_SubWindowList::BC_SubWindowList()
47  : ArrayList<BC_WindowBase*>()
51 BC_SubWindowList::~BC_SubWindowList()
55 //      Local Variables:
56 //      mode: C++
57 //      c-file-style: "linux"
58 //      End: