Usermode/AxWin4 - Fixing ID lookups of windows and clients
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / CWindow.cpp
index 32ff4f6..55c2482 100644 (file)
 
 namespace AxWin {
 
-CWindow::CWindow(CCompositor& compositor, CClient& client, const ::std::string& name):
+CWindow::CWindow(CCompositor& compositor, CClient& client, const ::std::string& name, unsigned int id):
        m_surface(0,0,0,0),
        m_compositor(compositor),
        m_client(client),
-       m_name(name)
+       m_id(id),
+       m_name(name),
+       m_is_shown(false)
 {
        _SysDebug("CWindow::CWindow()");
 }
@@ -59,6 +61,11 @@ void CWindow::Resize(unsigned int W, unsigned int H)
        m_surface.Resize(W, H);
        IPC::SendMessage_NotifyDims(m_client, W, H);
 }
+void CWindow::SetFlags(uint32_t Flags)
+{
+       // TODO: CWindow::SetFlags
+       _SysDebug("TOOD: CWindow::SetFlags");
+}
 uint64_t CWindow::ShareSurface()
 {
        assert(!"TODO: CWindow::ShareSurface");

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