Usermode/AxWin4 - Fix bitmap upscale
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / CWindow.cpp
index 7d50b7b..022d6b4 100644 (file)
@@ -96,5 +96,12 @@ void CWindow::DrawScanline(unsigned int row, unsigned int x, unsigned int w, con
        m_compositor.DamageArea(damaged);
 }
 
+void CWindow::FillScanline(unsigned int row, unsigned int x, unsigned int w, const uint32_t colour)
+{
+       m_surface.FillScanline(row, x, w, colour);
+       CRect   damaged( m_surface.m_rect.m_x+x, m_surface.m_rect.m_y+row, w, 1 );
+       m_compositor.DamageArea(damaged);
+}
+
 };
 

UCC git Repository :: git.ucc.asn.au