3 * - By John Hodge (thePowersGang)
9 #include <CCompositor.hpp>
14 CWindow::CWindow(CCompositor& compositor, CClient& client, const ::std::string& name):
16 m_compositor(compositor),
20 _SysDebug("CWindow::CWindow()");
27 void CWindow::Repaint(const CRect& rect)
30 for( auto rgn : m_regions )
32 if( rect.Contains(rgn->m_rect) )
34 CRect rel_rect(rect, rgn->m_rect);
35 rgn->Repaint(m_surface, rel_rect);
41 void CWindow::Show(bool bShow)
43 assert(!"TODO: CWindow::Show");
46 void CWindow::Move(int X, int Y)
48 assert(!"TODO: CWindow::Move");
50 void CWindow::Resize(unsigned int W, unsigned int H)
52 assert(!"TODO: CWindow::Resize");
54 uint64_t CWindow::ShareSurface()
56 assert(!"TODO: CWindow::ShareSurface");
60 void CWindow::MouseButton(int ButtonID, int X, int Y, bool Down)
64 void CWindow::MouseMove(int NewX, int NewY)
68 void CWindow::KeyEvent(::uint32_t Scancode, const ::std::string &Translated, bool Down)