NCBI C++ ToolKit
Classes | Functions | Variables
dock_container.cpp File Reference
#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>
+ Include dependency graph for dock_container.cpp:

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_objectsWindowPosToUserObject (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"
 

Function Documentation

◆ sDockPanel_ShowBorder()

void sDockPanel_ShowBorder ( wxWindow *  w,
bool  show 
)

◆ sGetDirectionByEffect()

wxDirection sGetDirectionByEffect ( EDockEffect  effect)

◆ sGetSplitSizes()

void sGetSplitSizes ( int  total_size,
vector< int > &  sizes,
bool  split_left 
)

Definition at line 761 of file dock_container.cpp.

References total_size.

Referenced by CDockContainer::x_AddClientInSplitter().

◆ sRestoreSplitterSizes()

void sRestoreSplitterSizes ( CDockLayoutTree::CNode full_node)

◆ sRootSplit()

bool sRootSplit ( EDockEffect  effect)

Definition at line 404 of file dock_container.cpp.

References eSplitBottom, eSplitLeft, eSplitRight, and eSplitTop.

Referenced by CDockContainer::x_AddClientInSplitter().

◆ sWindowPosFromUserObject()

static void sWindowPosFromUserObject ( const CUser_object obj,
wxRect &  rc,
bool maximized 
)
static

◆ sWindowPosToUserObject()

static CUser_object* sWindowPosToUserObject ( const wxRect &  rc,
bool  maximized 
)
static

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kDockContainer

const char* kDockContainer = "DockContainer"
static

◆ kHeightTag

const char* kHeightTag = "height"
static

Definition at line 2090 of file dock_container.cpp.

Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().

◆ kMaximizedTag

const char* kMaximizedTag = "maximized"
static

Definition at line 2091 of file dock_container.cpp.

Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().

◆ kTreeTag

const char* kTreeTag = "Tree"
static

◆ kWidthTag

const char* kWidthTag = "width"
static

Definition at line 2089 of file dock_container.cpp.

Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().

◆ kWindowPos

const char* kWindowPos = "WindowPos"
static

◆ kXTag

const char* kXTag = "x"
static

Definition at line 2087 of file dock_container.cpp.

Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().

◆ kYTag

const char* kYTag = "y"
static

Definition at line 2088 of file dock_container.cpp.

Referenced by sWindowPosFromUserObject(), and sWindowPosToUserObject().

Modified on Fri Sep 20 14:57:10 2024 by modify_doxy.py rev. 669887