usermode/axwin4 - Blit to screen planned
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / CWindow.cpp
index 79308cc..4d1416e 100644 (file)
@@ -12,7 +12,7 @@ namespace AxWin {
 CWindow::CWindow(CClient& client, const ::std::string& name):
        m_client(client),
        m_name(name),
-       m_rect(0,0,0,0)
+       m_surface(0,0,0,0)
 {
        
 }
@@ -23,7 +23,16 @@ CWindow::~CWindow()
 
 void CWindow::Repaint(const CRect& rect)
 {
-       
+       #if 0
+       for( auto rgn : m_regions )
+       {
+               if( rect.Contains(rgn->m_rect) )
+               {
+                       CRect   rel_rect(rect, rgn->m_rect);
+                       rgn->Repaint();
+               } 
+       }
+       #endif
 }
 
 };

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