| 44 | bool isVisible() const { return (m_nativeWindow && m_nativeWindow->isVisible()); } |
| 45 | |
| 46 | void redraw() |
| 47 | { |
| 48 | auto rc = m_nativeWindow->surface()->bounds(); |
| 49 | onRedraw(m_nativeWindow->surface(), rc); |
| 50 | |
| 51 | if (m_nativeWindow->isVisible()) |
| 52 | m_nativeWindow->invalidateRegion(gfx::Region(rc)); |
| 53 | else |
| 54 | m_nativeWindow->setVisible(true); |
| 55 | } |
| 56 | |
| 57 | virtual bool isFloating() const { return false; } |
| 58 |
no test coverage detected