home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / guicast / bcsubwindow.C < prev    next >
C/C++ Source or Header  |  2000-11-29  |  559b  |  52 lines

  1. #include "bcsubwindow.h"
  2.  
  3.  
  4.  
  5. BC_SubWindow::BC_SubWindow(int x, int y, int w, int h, int bg_color)
  6.  : BC_WindowBase()
  7. {
  8.     this->x = x; 
  9.     this->y = y; 
  10.     this->w = w; 
  11.     this->h = h;
  12.     this->bg_color = bg_color;
  13. }
  14.  
  15. BC_SubWindow::~BC_SubWindow()
  16. {
  17. }
  18.  
  19. int BC_SubWindow::initialize()
  20. {
  21.     create_window(parent_window, 
  22.             "", 
  23.             x, 
  24.             y, 
  25.             w, 
  26.             h, 
  27.             0, 
  28.             0, 
  29.             0, 
  30.             0, 
  31.             0, 
  32.             bg_color, 
  33.             NULL, 
  34.             SUB_WINDOW, 
  35.             0);
  36.     return 0;
  37. }
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. BC_SubWindowList::BC_SubWindowList()
  45.  : ArrayList<BC_WindowBase*>()
  46. {
  47. }
  48.  
  49. BC_SubWindowList::~BC_SubWindowList()
  50. {
  51. }
  52.