3 * - By John Hodge (thePowersGang)
15 #include "CSurface.hpp"
26 CWindow(CCompositor& compositor, CClient& client, const ::std::string &name, unsigned int id);
29 const CClient& client() const { return m_client; }
30 const unsigned int id() const { return m_id; }
32 void Repaint(const CRect& rect);
34 void Show(bool bShow);
35 void Move(int X, int Y);
36 void Resize(unsigned int W, unsigned int H);
37 void SetFlags(uint32_t Flags);
39 uint64_t ShareSurface();
41 void MouseButton(int ButtonID, int X, int Y, bool Down);
42 void MouseMove(int NewX, int NewY);
43 void KeyEvent(::uint32_t Scancode, const ::std::string &Translated, bool Down);
45 void DrawScanline(unsigned int row, unsigned int x, unsigned int w, const uint8_t *data);
46 void FillScanline(unsigned int row, unsigned int x, unsigned int w, const uint32_t colour);
51 CCompositor& m_compositor;
54 const ::std::string m_name;
55 ::std::vector<CRegion*> m_regions;