2 #include "bcpixmapsw.h"
3 #include "bcresources.h"
13 BC_PixmapSW::BC_PixmapSW(int x, int y, BC_Pixmap *thepixmap)
14 : BC_SubWindow(x, y, -1, -1, -1)
16 this->thepixmap = thepixmap;
19 BC_PixmapSW::~BC_PixmapSW()
23 int BC_PixmapSW::initialize()
25 w = thepixmap->get_w();
26 h = thepixmap->get_h();
28 BC_SubWindow::initialize();
33 int BC_PixmapSW::reposition_widget(int x, int y)
35 BC_WindowBase::reposition_window(x, y);
40 int BC_PixmapSW::draw()
42 draw_top_background(parent_window, 0, 0, get_w(), get_h());
43 draw_pixmap(thepixmap);