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)
{
}
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
}
};