#include <wx/layoutmanager.h>
#include <wx/dockhost.h>
#include <wx/dockpanel.h>
#include <wx/dockwindow.h>
#include <wx/slidebar.h>
#include <wx/util.h>
#include <wx/mdi.h>
#include <wx/xml/xml.h>
#include <wx/gdicmn.h>
#include <wx/filename.h>
#include <wx/list.h>
#include <wx/listimpl.cpp>
Include dependency graph for layoutmanager.cpp:
Go to the source code of this file.
Defines | |
#define | STREAM_VERSION wxT("wxDocking-Stream-v1.0") |
Functions | |
WX_DECLARE_LIST (wxDockPanel, DockPanelList) | |
WX_DEFINE_LIST (DockPanelList) | |
WX_DEFINE_LIST (DockHostList) | |
wxXmlNode * | eNode (const wxString &nodename, const wxString &content) |
This function creates a new XML_ELEMENT_NODE and then creates a XML_TEXT_NODE that is then assigned the content passed to the function. | |
wxXmlNode * | changeNode (wxXmlNode *, const wxString &nodePath, const wxString &content) |
Used in the SaveToXML() method for either changing existing XML node content or to create a new XML node if the existing node does not exist. | |
wxXmlNode * | xmlFindNode (wxXmlNode *root, const wxString &nodePath, bool getText=true) |
Searches the XML document tree starting from the given node, the argument "nodePath" denotes the tree structure to follow (node names separated by '/') if getText is true the returned node pointer will point to the XML_TEXT_NODE otherwise it will return the final XML_ELEMENT_NODE. |
|
Definition at line 80 of file layoutmanager.cpp. Referenced by wxSlideBar::LoadFromStream(), wxLayoutManager::LoadFromStream(), wxLayoutManager::LoadFromXML(), wxSlideBar::SaveToStream(), wxLayoutManager::SaveToStream(), and wxLayoutManager::SaveToXML(). |
|
Used in the SaveToXML() method for either changing existing XML node content or to create a new XML node if the existing node does not exist. TODO: move this to the wxDockUtil namespace so it is shared by wxSlideBar
Definition at line 736 of file layoutmanager.cpp. |
|
This function creates a new XML_ELEMENT_NODE and then creates a XML_TEXT_NODE that is then assigned the content passed to the function. The pointer to the new element node is returned to the caller. TODO: move this to the wxDockUtil namespace so it is shared by wxSlideBar
Definition at line 715 of file layoutmanager.cpp. Referenced by wxLayoutManager::SaveToXML(). |
|
|
|
|
|
|
|
Searches the XML document tree starting from the given node, the argument "nodePath" denotes the tree structure to follow (node names separated by '/') if getText is true the returned node pointer will point to the XML_TEXT_NODE otherwise it will return the final XML_ELEMENT_NODE. TODO: move this to the wxDockUtil namespace so it is shared by wxSlideBar
Definition at line 757 of file layoutmanager.cpp. Referenced by wxLayoutManager::LoadFromXML(). |