Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / guicast / bcsubwindow.C
blob41e505f6d20d7276d3f6960f5fa2251dcddec529
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()