#include <window_manager.hpp>
Inheritance diagram for CWindowManager:


CWindowManager provides centralized control other multiple clients (views) associated with an application. Window Manager provides two major ways to place clients - in independent top-level frame windows (floating) or in containers emdedded into manager's main window (docked). CWindowManager allows for dynamic creation of hierarchical layouts consisting of containers such as CSplitter and CTabControl and clients. IWMClient interface represents an abstract client window that can be managed by CWindowManager. IWMContainer interface represents an abstract container that can be embedded into CWindowManager. IWMCPosition represents abstract notion of position in IWMContainer.
Definition at line 68 of file window_manager.hpp.
|
|
Definition at line 91 of file window_manager.hpp. |
|
|
Definition at line 298 of file window_manager.hpp. |
|
|
maps generated commands to pair IWMClient, Command
Definition at line 303 of file window_manager.hpp. |
|
|
Definition at line 89 of file window_manager.hpp. |
|
|
Definition at line 92 of file window_manager.hpp. |
|
|
Definition at line 300 of file window_manager.hpp. |
|
|
Definition at line 299 of file window_manager.hpp. |
|
|
Definition at line 232 of file window_manager.hpp. |
|
|
Definition at line 75 of file window_manager.hpp. |
|
|
Definition at line 82 of file window_manager.hpp. |
|
|
Definition at line 154 of file window_manager.cpp. References m_DefFrameH, m_DefFrameW, m_FrameX, m_FrameY, x_CreateRootContainers(), and x_RegisterIcons(). |
|
|
Definition at line 177 of file window_manager.cpp. References CloseAllClients(), and m_RootCont. |
|
|
Definition at line 1257 of file window_manager.cpp. References ActivateClients(). Referenced by CWorkspaceWindow::ActivateClient(), CWorkspaceWindow::AddClient(), and CWorkspaceWindow::AddClientToDock(). |
|
|
||||||||||||||||
|
Definition at line 289 of file window_manager.cpp. References eAddToContainer, pos, and x_AddClient(). Referenced by CWorkspaceWindow::AddClient(). |
|
|
Definition at line 265 of file window_manager.cpp. References eAddToFrame, x_AddClient(), and x_IsFloatingEnabled(). |
|
|
Definition at line 271 of file window_manager.cpp. References eAddToRootTab, and x_AddClient(). Referenced by CWorkspaceWindow::AddClient(), and CWinManagerApp::OnCreateClient(). |
|
||||||||||||
|
Definition at line 277 of file window_manager.cpp. References eAddToContainer, eAddToRootTab, CWMDockContainer::eInvalidDockPos, CWMDockContainer::GetDefInsertPos(), m_DockContainer, pos, StrToDockPos(), and x_AddClient(). Referenced by CWorkspaceWindow::AddClientToDock(). |
|
|
Definition at line 1209 of file window_manager.cpp. References map_checker< Container >::begin(), m_ClientToRec, map_checker< Container >::size(), and x_CloseClient(). Referenced by CWorkspaceWindow::x_CloseAllClients(), and ~CWindowManager(). |
|
|
Definition at line 1199 of file window_manager.cpp. References x_CloseClient(), and x_ResetMenu(). Referenced by CGBenchWorkspaceWindow::OnCloseAllViews(), OnCloseClient(), CWinManagerApp::OnDestroyClient(), x_CascadeClose(), and CWorkspaceWindow::x_CloseClient(). |
|
|
checks if the client in registered in the Manager
Definition at line 1251 of file window_manager.cpp. References x_GetClientRec(). Referenced by CGBenchWorkspaceWindow::Contains(). |
|
|
Reimplemented in CGBenchWindowManager. |
|
||||||||||||||||
|
Definition at line 2101 of file window_manager.cpp. References CEventHandler::Dispatch(), CEventHandler::eDispatch_FirstHandler, GetActiveClient(), CEventHandler::HasListener(), and CEventHandler::Send(). |
|
||||||||||||
|
Definition at line 362 of file window_manager.cpp. References eActivate, eMaximize, eMinimize, eRestore, CWindowManager::SClientRec::m_Container, and x_GetClientRec(). |
|
|
Definition at line 1336 of file window_manager.cpp. References m_ActiveClient. Referenced by Dispatch(), CGBenchWorkspaceWindow::GetActiveClient(), CWinManagerApp::OnDestroyClient(), and CWinManagerApp::OnUpdateDestroyClient(). |
|
|
Definition at line 1243 of file window_manager.cpp. References ITERATE, and m_ClientToRec. Referenced by CGBenchWorkspaceWindow::GetAllClients(). |
|
|
Implements IWindowManager. Definition at line 625 of file window_manager.cpp. References CMenuItem::AddSeparator(), CMenuItem::AddSubItem(), eCmdCPanelClose, eCmdCPanelMaximize, eCmdCPanelMinimize, eCmdCPanelMoveToTopLevel, eCmdCPanelRestoreMaximized, eCmdCPanelRestoreMinimized, eCmdDockBottom, eCmdDockCenter, eCmdDockLeft, eCmdDockRight, eCmdDockTop, IMinMaxClient::eMaximized, IMinMaxClient::GetState(), CTabControl::GetTabIndex(), and m_RootCont. |
|
|
Definition at line 1389 of file window_manager.cpp. References eEmbedded, eFloating, eHidden, eInvalidClientState, CWindowManager::SClientRec::m_bFrame, CWindowManager::SClientRec::m_Container, and x_GetClientRec(). Referenced by MoveClientToFrame(), and MoveClientToTab(). |
|
|
Definition at line 2094 of file window_manager.cpp. References CWMDockContainer::eInvalidDockPos, CWindowManager::SClientRec::m_DockPos, and x_GetClientRec(). |
|
|
Definition at line 2083 of file window_manager.cpp. References DockPosToStr(), CWindowManager::SClientRec::m_DockPos, and x_GetClientRec(). Referenced by CWorkspaceWindow::GetDockPos(). |
|
|
return a menu that will be merged with the Frame's menu; the caller must delete the item
Implements IFrameWindowClient. Definition at line 1515 of file window_manager.cpp. References CreateMenuItems(), IWMClient::GetMenu(), ITERATE, CWindowManager::SClientRec::m_Client, m_ClientToRec, CWindowManager::SClientRec::m_Container, CMenuItem::Merge(), and x_UpdateWindowsMenu(). Referenced by CWorkspaceWindow::GetMenu(), and CGBenchWorkspaceWindow::GetMenu(). |
|
||||||||||||||||
|
Implements IWindowManager. Reimplemented in CGBenchWindowManager. Definition at line 388 of file window_manager.cpp. References map_checker< Container >::clear(), eCmdDelContainer, eCmdIns2x2Splitter, eCmdInsHorzSplitter, eCmdInsTabControl, eCmdInsVertSplitter, IWMContainer::IsAvailable(), m_PseudoCmdCount, m_PseudoCmdMap, m_RootCont, pos, x_GetMoveFromFrameMenu(), and x_GetMoveHereMenu(). Referenced by CGBenchWindowManager::GetPopupItems(). |
|
|
Implements IWindowManager. Definition at line 981 of file window_manager.cpp. References m_ResourceManager. |
|
|
Definition at line 259 of file window_manager.cpp. References m_RootCont. |
|
|
Definition at line 826 of file window_manager.cpp. References m_MaximizedPanel. Referenced by ActivateClients(), x_AddClient(), x_CloseClient(), x_Maximize(), and x_MoveToDockPos(). |
|
|
focus listener
Definition at line 1960 of file window_manager.cpp. References CUser_object::AddField(), IWMContainer::GetDescr(), IWMContainer::GetPosToChildMap(), m_RootCont, NON_CONST_ITERATE, pos, CUser_object_Base::SetType(), and x_ChildToUserObject(). Referenced by x_ChildToUserObject(). |
|
|
Definition at line 1628 of file window_manager.cpp. References CGuiRegistry::GetInstance(), CGuiRegistry::CReadView::GetInt(), CGuiRegistry::GetReadWriteView(), m_DockContainer, m_RegPath, CGuiRegistryUtil::MakeKey(), CWMDockContainer::SetDockSize(), size, and StrToDockPos(). Referenced by CGBenchWorkspaceWindow::LoadSettings(). |
|
|
Definition at line 337 of file window_manager.cpp. References eFloating, GetClientState(), x_IsFloatingEnabled(), x_PutClientInFrame(), x_RemoveClient(), and x_UpdateListener(). |
|
|
Definition at line 350 of file window_manager.cpp. References eEmbedded, GetClientState(), x_PutClientInTab(), x_RemoveClient(), and x_UpdateListener(). |
|
|
Definition at line 1748 of file window_manager.cpp. References ActivateClients(), and m_CmdToWindow. |
|
||||||||||||
|