|
|
|
@ -14,31 +14,31 @@ WaWidget::~WaWidget() {
|
|
|
|
|
|
|
|
|
|
void WaWidget::paintPixmap(int pixmap_mapping) {
|
|
|
|
|
if (pixmap_mapping != -1)
|
|
|
|
|
WaSkinModel::instance()->bltTo(pixmap_mapping, TQT_TQPAINTDEVICE(this), 0, 0);
|
|
|
|
|
WaSkinModel::instance()->bltTo(pixmap_mapping, this, 0, 0);
|
|
|
|
|
else
|
|
|
|
|
WaSkinModel::instance()->paintBackgroundTo(mapping, TQT_TQPAINTDEVICE(this), 0, 0);
|
|
|
|
|
WaSkinModel::instance()->paintBackgroundTo(mapping, this, 0, 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void WaWidget::paintPixmap(int pixmap_mapping, int x, int y) {
|
|
|
|
|
if (pixmap_mapping != -1)
|
|
|
|
|
WaSkinModel::instance()->bltTo(pixmap_mapping, TQT_TQPAINTDEVICE(this), x, y);
|
|
|
|
|
WaSkinModel::instance()->bltTo(pixmap_mapping, this, x, y);
|
|
|
|
|
else
|
|
|
|
|
WaSkinModel::instance()->paintBackgroundTo(mapping, TQT_TQPAINTDEVICE(this), x, y);
|
|
|
|
|
WaSkinModel::instance()->paintBackgroundTo(mapping, this, x, y);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void WaWidget::paintPixmap(int pixmap_mapping, int argument) {
|
|
|
|
|
if (pixmap_mapping != -1)
|
|
|
|
|
WaSkinModel::instance()->bltTo(pixmap_mapping, TQT_TQPAINTDEVICE(this), 0, 0, argument);
|
|
|
|
|
WaSkinModel::instance()->bltTo(pixmap_mapping, this, 0, 0, argument);
|
|
|
|
|
else
|
|
|
|
|
WaSkinModel::instance()->paintBackgroundTo(mapping, TQT_TQPAINTDEVICE(this), 0, 0);
|
|
|
|
|
WaSkinModel::instance()->paintBackgroundTo(mapping, this, 0, 0);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void WaWidget::paintPixmap(int pixmap_mapping, int argument, int x, int y) {
|
|
|
|
|
if (pixmap_mapping != -1)
|
|
|
|
|
WaSkinModel::instance()->bltTo(pixmap_mapping, TQT_TQPAINTDEVICE(this), x, y, argument);
|
|
|
|
|
WaSkinModel::instance()->bltTo(pixmap_mapping, this, x, y, argument);
|
|
|
|
|
else
|
|
|
|
|
WaSkinModel::instance()->paintBackgroundTo(mapping, TQT_TQPAINTDEVICE(this), x, y);
|
|
|
|
|
WaSkinModel::instance()->paintBackgroundTo(mapping, this, x, y);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQSize WaWidget::sizeHint() {
|
|
|
|
|