| 600 | } |
| 601 | |
| 602 | void RemoteViewWidget::drawBackground(QPainter *p) |
| 603 | { |
| 604 | // not really efficient... |
| 605 | p->fillRect(rect(), m_inactiveBackgroundBrush); |
| 606 | p->fillRect(m_x, m_y, |
| 607 | m_zoom * m_frame.viewRect().width(), |
| 608 | m_zoom * m_frame.viewRect().height(), |
| 609 | m_activeBackgroundBrush); |
| 610 | } |
| 611 | |
| 612 | void RemoteViewWidget::drawDecoration(QPainter *p) |
| 613 | { |