Usermode/AxWin4 - Fixing ID lookups of windows and clients
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / CWindow.hpp
index 704f0c1..5161f03 100644 (file)
@@ -23,14 +23,18 @@ class CRegion;
 class CWindow
 {
 public:
-       CWindow(CCompositor& compositor, CClient& client, const ::std::string &name);
+       CWindow(CCompositor& compositor, CClient& client, const ::std::string &name, unsigned int id);
        ~CWindow();
        
+       const CClient& client() const { return m_client; }
+       const unsigned int id() const { return m_id; }
+       
        void Repaint(const CRect& rect);
 
        void Show(bool bShow);  
        void Move(int X, int Y);
        void Resize(unsigned int W, unsigned int H);
+       void SetFlags(uint32_t Flags);
        
        uint64_t ShareSurface();
        
@@ -45,6 +49,7 @@ public:
 private:
        CCompositor&    m_compositor;
        CClient&        m_client;
+       unsigned int    m_id;
        const ::std::string     m_name;
        ::std::vector<CRegion*> m_regions;
 };

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