NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <gui/widgets/wx/dock_container.hpp>
#include <gui/widgets/wx/dock_notebook.hpp>
#include <gui/widgets/wx/dock_hint_frame.hpp>
#include <gui/widgets/wx/window_manager.hpp>
#include <gui/widgets/wx/dock_panel.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/widgets/wx/wm_client.hpp>
#include <objects/general/User_object.hpp>
#include <objects/general/Object_id.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | FClientCreator |
class | FFindHiddenClient |
class | FNodeFingerprintEquals |
struct | FFindVisibleNode |
class | FNodeHasFingerprint |
class | FBlockSplitterLayout |
Functions | |
USING_SCOPE (objects) | |
wxDirection | sGetDirectionByEffect (EDockEffect effect) |
bool | sRootSplit (EDockEffect effect) |
void | sGetSplitSizes (int total_size, vector< int > &sizes, bool split_left) |
void | sRestoreSplitterSizes (CDockLayoutTree::CNode &full_node) |
void | sDockPanel_ShowBorder (wxWindow *w, bool show) |
static CUser_object * | sWindowPosToUserObject (const wxRect &rc, bool maximized) |
static void | sWindowPosFromUserObject (const CUser_object &obj, wxRect &rc, bool &maximized) |
Variables | |
static const char * | kWindowPos = "WindowPos" |
static const char * | kXTag = "x" |
static const char * | kYTag = "y" |
static const char * | kWidthTag = "width" |
static const char * | kHeightTag = "height" |
static const char * | kMaximizedTag = "maximized" |
static const char * | kDockContainer = "DockContainer" |
static const char * | kTreeTag = "Tree" |
void sDockPanel_ShowBorder | ( | wxWindow * | w, |
bool | show | ||
) |
Definition at line 1245 of file dock_container.cpp.
References CDockPanel::ShowBorder().
Referenced by CDockContainer::x_InstantiateNode_AddChildWindows(), and CDockContainer::x_Visible_AddChildToContainer().
wxDirection sGetDirectionByEffect | ( | EDockEffect | effect | ) |
Definition at line 379 of file dock_container.cpp.
References eSplitBottom, eSplitLeft, eSplitRight, eSplitTargetBottom, eSplitTargetLeft, eSplitTargetRight, eSplitTargetTop, and eSplitTop.
Referenced by CDockContainer::x_AddClientInSplitter().
Definition at line 761 of file dock_container.cpp.
References total_size.
Referenced by CDockContainer::x_AddClientInSplitter().
void sRestoreSplitterSizes | ( | CDockLayoutTree::CNode & | full_node | ) |
Definition at line 974 of file dock_container.cpp.
References CDockLayoutTree::eHorzSplitter, CDockLayoutTree::eVertSplitter, CDockLayoutTree::CNode::GetSplitterSizes(), CDockLayoutTree::CNode::GetType(), CDockLayoutTree::CNode::GetWindow(), CSplitter::SetHeights(), and CSplitter::SetWidths().
Referenced by CDockContainer::x_Full_UnhideContainer_AddChildren().
bool sRootSplit | ( | EDockEffect | effect | ) |
Definition at line 404 of file dock_container.cpp.
References eSplitBottom, eSplitLeft, eSplitRight, and eSplitTop.
Referenced by CDockContainer::x_AddClientInSplitter().
|
static |
Definition at line 2105 of file dock_container.cpp.
References CUser_field_Base::C_Data::GetBool(), CUser_field_Base::GetData(), CUser_object::GetField(), CUser_field_Base::C_Data::GetInt(), kHeightTag, kMaximizedTag, kWidthTag, kXTag, and kYTag.
Referenced by CDockContainerDescr::FromUserObject().
|
static |
Definition at line 2093 of file dock_container.cpp.
References CUser_object::AddField(), kHeightTag, kMaximizedTag, kWidthTag, kWindowPos, kXTag, kYTag, CRef< C, Locker >::Release(), and CUser_object_Base::SetType().
Referenced by CDockContainer::SaveLayout(), and CDockContainerDescr::ToUserObject().
USING_SCOPE | ( | objects | ) |
|
static |
Definition at line 2114 of file dock_container.cpp.
Referenced by CDockContainer::SaveLayout(), and CDockContainerDescr::ToUserObject().
|
static |
Definition at line 2090 of file dock_container.cpp.
Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().
|
static |
Definition at line 2091 of file dock_container.cpp.
Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().
|
static |
Definition at line 2115 of file dock_container.cpp.
Referenced by CDockContainerDescr::FromUserObject(), CDockContainer::SaveLayout(), and CDockContainerDescr::ToUserObject().
|
static |
Definition at line 2089 of file dock_container.cpp.
Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().
|
static |
Definition at line 2086 of file dock_container.cpp.
Referenced by CDockContainerDescr::FromUserObject(), CDockContainer::SaveLayout(), sWindowPosToUserObject(), and CDockContainerDescr::ToUserObject().
|
static |
Definition at line 2087 of file dock_container.cpp.
Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().
|
static |
Definition at line 2088 of file dock_container.cpp.
Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().