3 #include "bcresources.h"
9 BC_Bar::BC_Bar(int x, int y, int w, VFrame *data)
10 : BC_SubWindow(x, y, w, 0, -1)
21 int BC_Bar::initialize()
26 set_image(get_resources()->bar_data);
28 // Create the subwindow
29 BC_SubWindow::initialize();
35 void BC_Bar::set_image(VFrame *data)
38 image = new BC_Pixmap(parent_window, data, PIXMAP_ALPHA);
42 int BC_Bar::reposition_window(int x, int y, int w)
44 BC_WindowBase::reposition_window(x, y, w, -1);
49 int BC_Bar::resize_event(int w, int h)
51 reposition_window(x, y, get_w());
58 draw_top_background(parent_window, 0, 0,w, h);
59 draw_3segmenth(0, 0, w, 0, w, image);