00001 #include "bcsubwindow.h"
00002
00003
00004
00005 BC_SubWindow::BC_SubWindow(int x, int y, int w, int h, int bg_color)
00006 : BC_WindowBase()
00007 {
00008 this->x = x;
00009 this->y = y;
00010 this->w = w;
00011 this->h = h;
00012 this->bg_color = bg_color;
00013
00014 }
00015
00016 BC_SubWindow::~BC_SubWindow()
00017 {
00018 }
00019
00020 int BC_SubWindow::initialize()
00021 {
00022 create_window(parent_window,
00023 "Sub Window",
00024 x,
00025 y,
00026 w,
00027 h,
00028 0,
00029 0,
00030 0,
00031 0,
00032 0,
00033 bg_color,
00034 NULL,
00035 SUB_WINDOW,
00036 0,
00037 0);
00038 return 0;
00039 }
00040
00041
00042
00043
00044
00045
00046 BC_SubWindowList::BC_SubWindowList()
00047 : ArrayList<BC_WindowBase*>()
00048 {
00049 }
00050
00051 BC_SubWindowList::~BC_SubWindowList()
00052 {
00053 }