#include <dockhost.h>
Collaboration diagram for wxDockHost:
Public Member Functions | |
wxDockHost () | |
~wxDockHost () | |
void | Init () |
wxDockHost (wxWindow *parent, wxWindowID id, wxDirection dir, const wxString &name=wxT("dockhost")) | |
bool | Create (wxWindow *parent, wxWindowID id, wxDirection dir, const wxString &name=wxT("dockhost")) |
void | SetLayoutManager (wxLayoutManager *pLayoutManager) |
wxLayoutManager * | GetLayoutManager () |
void | SetAreaSize (int size) |
int | GetAreaSize () |
void | SetPanelArea (int panelArea) |
int | GetPanelArea () |
void | LockPanelValue (bool state) |
DockWindowList & | GetDockWindowList () |
void | DockPanel (wxDockPanel *pDockPanel, wxHostInfo &hi) |
void | UndockPanel (wxDockPanel *pDockPanel) |
wxRect | GetScreenArea () |
wxRect | GetScreenArea (wxHostInfo &hi) |
wxRect | GetClientArea () |
wxRect | GetClientArea (wxRect availableArea) |
wxOrientation | GetOrientation () |
wxDirection | GetDirection () |
wxExSplitter * | GetSizingSplitter () const |
wxRect | CalcHostPlacement (bool hitTest=false) |
bool | IsEmpty () |
bool | TestForPanel (int sx, int sy, wxHostInfo &hi) |
wxRect | RectToScreen (wxRect &rect) |
void | RecalcPanelAreas () |
void | UpdateSize (bool useProportions=false) |
void | OnSize (wxSizeEvent &event) |
void | OnSplitterMoved (wxCommandEvent &event) |
void | OnCalculateLayout (wxCalculateLayoutEvent &event) |
void | SettingsChanged () |
Private Types | |
enum | eChildType { CT_NONE, CT_PANEL, CT_SPLITTER } |
Private Member Functions | |
void | calcPanelPlacement (bool useProportions=false) |
void | updateSplitters () |
int | getAssetCount () |
Private Attributes | |
wxDirection | dir_ |
int | areaSize_ |
int | panelArea_ |
bool | lockPanelValue_ |
bool | internalSizeEvent_ |
wxPoint | pos_ |
wxSize | size_ |
wxLayoutManager * | pLayoutManager_ |
int | numPanels_ |
int | numSplitters_ |
SplitterList | splitters_ |
unsigned int | splitterFlags_ |
wxExSplitter * | pSizingSplitter_ |
DockWindowList | dockWindows_ |
|
Definition at line 108 of file dockhost.h. |
|
Definition at line 43 of file dockhost.h. |
|
Definition at line 40 of file dockhost.cpp. |
|
Definition at line 50 of file dockhost.h. |
|
Definition at line 312 of file dockhost.cpp. References areaSize_, dir_, wxLayoutManager::GetDockArea(), IsEmpty(), pLayoutManager_, pos_, and size_. Referenced by GetClientArea(), and GetScreenArea(). |
|
Definition at line 507 of file dockhost.cpp. References dir_, wxDockPanel::GetArea(), GetOrientation(), IsEmpty(), lockPanelValue_, numPanels_, numSplitters_, panelArea_, pSizingSplitter_, RecalcPanelAreas(), updateSplitters(), and wxSPLITTER_SIZE. Referenced by UpdateSize(). |
|
Definition at line 63 of file dockhost.cpp. |
|
Definition at line 160 of file dockhost.cpp. References getAssetCount(), wxHostInfo::placement, wxHostInfo::pPanel, RecalcPanelAreas(), wxDockPanel::SetDockedHost(), and wxHIP_BACK. Referenced by wxLayoutManager::DockWindow(). |
|
Definition at line 90 of file dockhost.cpp. References areaSize_. Referenced by wxLayoutManager::SaveToStream(), and wxLayoutManager::SaveToXML(). |
|
Definition at line 602 of file dockhost.cpp. Referenced by DockPanel(), IsEmpty(), and UndockPanel(). |
|
|
|
Definition at line 285 of file dockhost.cpp. References CalcHostPlacement(). Referenced by wxLayoutManager::TrimDockArea(). |
|
Definition at line 308 of file dockhost.cpp. References dir_. Referenced by wxLayoutManager::AddDockHost(), OnCalculateLayout(), and wxLayoutManager::TrimDockArea(). |
|
Definition at line 94 of file dockhost.cpp. References dockWindows_, and wxDockPanel::GetDockWindow(). Referenced by wxLayoutManager::SaveToStream(), and wxLayoutManager::SaveToXML(). |
|
Definition at line 82 of file dockhost.cpp. References pLayoutManager_. |
|
Definition at line 290 of file dockhost.cpp. References dir_. Referenced by calcPanelPlacement(), wxDockPanel::GetOrientation(), OnSize(), RecalcPanelAreas(), SetLayoutManager(), and updateSplitters(). |
|
Definition at line 66 of file dockhost.h. Referenced by wxLayoutManager::SaveToStream(), and wxLayoutManager::SaveToXML(). |
|
Definition at line 275 of file dockhost.cpp. References GetScreenArea(). |
|
Definition at line 265 of file dockhost.cpp. References CalcHostPlacement(), pLayoutManager_, wxLayoutManager::RectToScreen(), and wxLayoutManager::TrimDockArea(). Referenced by GetScreenArea(), wxDockWindowBase::OnMouseMove(), and TestForPanel(). |
|
Definition at line 81 of file dockhost.h. |
|
Definition at line 44 of file dockhost.cpp. References areaSize_, dir_, dockWindows_, internalSizeEvent_, lockPanelValue_, numPanels_, numSplitters_, panelArea_, pLayoutManager_, pos_, pSizingSplitter_, size_, splitterFlags_, splitters_, and wxINITIAL_HOST_SIZE. |
|
Definition at line 357 of file dockhost.cpp. References getAssetCount(). Referenced by CalcHostPlacement(), calcPanelPlacement(), OnCalculateLayout(), OnSize(), TestForPanel(), and wxLayoutManager::TrimDockArea(). |
|
Definition at line 67 of file dockhost.h. Referenced by wxLayoutManager::LoadFromStream(), and wxLayoutManager::LoadFromXML(). |
|
Definition at line 438 of file dockhost.cpp. References areaSize_, GetDirection(), internalSizeEvent_, IsEmpty(), wxLayoutManager::IsPrimaryDockHost(), pLayoutManager_, and wxLayoutManager::SetDockArea(). |
|
Definition at line 117 of file dockhost.cpp. References areaSize_, GetOrientation(), internalSizeEvent_, IsEmpty(), pLayoutManager_, wxLayoutManager::UpdateAllHosts(), and UpdateSize(). |
|
Definition at line 140 of file dockhost.cpp. References pSizingSplitter_, and RecalcPanelAreas(). |
|
Definition at line 404 of file dockhost.cpp. References GetOrientation(), lockPanelValue_, numSplitters_, panelArea_, wxDockPanel::SetArea(), and wxSPLITTER_SIZE. Referenced by calcPanelPlacement(), DockPanel(), and OnSplitterMoved(). |
|
Definition at line 396 of file dockhost.cpp. Referenced by wxDockPanel::GetScreenArea(), and TestForPanel(). |
|
Definition at line 86 of file dockhost.cpp. References areaSize_. Referenced by wxLayoutManager::AddDockHost(), wxLayoutManager::LoadFromStream(), and wxLayoutManager::LoadFromXML(). |
|
Definition at line 71 of file dockhost.cpp. References dir_, GetOrientation(), pLayoutManager_, pSizingSplitter_, and SettingsChanged(). Referenced by wxLayoutManager::AddDockHost(). |
|
Definition at line 65 of file dockhost.h. Referenced by wxLayoutManager::LoadFromStream(), and wxLayoutManager::LoadFromXML(). |
|
Definition at line 490 of file dockhost.cpp. References wxLayoutManager::GetFlags(), pLayoutManager_, pSizingSplitter_, wxExSplitter::SetFlags(), splitterFlags_, splitters_, wxDWF_LIVE_UPDATE, wxDWF_SPLITTER_BORDERS, wxESF_DRAW_GRIPPER, and wxESF_LIVE_UPDATE. Referenced by SetLayoutManager(), and wxLayoutManager::settingsChanged(). |
|
Definition at line 361 of file dockhost.cpp. References GetScreenArea(), IsEmpty(), wxHostInfo::placement, wxHostInfo::pPanel, RectToScreen(), and wxDockPanel::TestForPlacement(). Referenced by wxLayoutManager::TestForHost(). |
|
Definition at line 221 of file dockhost.cpp. References wxDockPanel::GetArea(), getAssetCount(), wxDockPanel::SetArea(), and wxSPLITTER_SIZE. Referenced by wxLayoutManager::UndockWindow(). |
|
Definition at line 147 of file dockhost.cpp. References calcPanelPlacement(). Referenced by OnSize(), and wxDockPanel::SetDockedHost(). |
|
Definition at line 610 of file dockhost.cpp. References CT_NONE, CT_PANEL, CT_SPLITTER, GetOrientation(), numPanels_, numSplitters_, pSizingSplitter_, wxExSplitter::SetWindows(), splitterFlags_, and splitters_. Referenced by calcPanelPlacement(). |
|
Definition at line 115 of file dockhost.h. Referenced by CalcHostPlacement(), GetAreaSize(), Init(), OnCalculateLayout(), OnSize(), and SetAreaSize(). |
|
Definition at line 114 of file dockhost.h. Referenced by CalcHostPlacement(), calcPanelPlacement(), Create(), GetDirection(), GetOrientation(), Init(), and SetLayoutManager(). |
|
Definition at line 132 of file dockhost.h. Referenced by GetDockWindowList(), and Init(). |
|
Definition at line 118 of file dockhost.h. Referenced by Init(), OnCalculateLayout(), and OnSize(). |
|
Definition at line 117 of file dockhost.h. Referenced by calcPanelPlacement(), Init(), and RecalcPanelAreas(). |
|
Definition at line 125 of file dockhost.h. Referenced by calcPanelPlacement(), Init(), and updateSplitters(). |
|
Definition at line 126 of file dockhost.h. Referenced by calcPanelPlacement(), Init(), RecalcPanelAreas(), and updateSplitters(). |
|
Definition at line 116 of file dockhost.h. Referenced by calcPanelPlacement(), Init(), and RecalcPanelAreas(). |
|
Definition at line 123 of file dockhost.h. Referenced by CalcHostPlacement(), GetLayoutManager(), GetScreenArea(), Init(), OnCalculateLayout(), OnSize(), SetLayoutManager(), and SettingsChanged(). |
|
Definition at line 120 of file dockhost.h. Referenced by CalcHostPlacement(), Create(), and Init(). |
|
Definition at line 130 of file dockhost.h. Referenced by calcPanelPlacement(), Init(), OnSplitterMoved(), SetLayoutManager(), SettingsChanged(), and updateSplitters(). |
|
Definition at line 121 of file dockhost.h. Referenced by CalcHostPlacement(), Create(), and Init(). |
|
Definition at line 128 of file dockhost.h. Referenced by Init(), SettingsChanged(), and updateSplitters(). |
|
Definition at line 127 of file dockhost.h. Referenced by Init(), SettingsChanged(), and updateSplitters(). |