BEGIN_DECLARE_EVENT_TYPES()
66DECLARE_LOCAL_EVENT_TYPE(USER_EVT_BEGIN_DRAG_OUTSIDE, 1)
67END_DECLARE_EVENT_TYPES()
74wxEvent(0, USER_EVT_BEGIN_DRAG_OUTSIDE), m_Window(window) {}
87 #define BeginDragOutsideEventHandler(func) \ 88 (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(BeginDragOutsideEventFunction, &func) 90 #define EVT_BEGIN_DRAG_OUTSIDE(fn) \ 91 wx__DECLARE_EVT0(USER_EVT_BEGIN_DRAG_OUTSIDE, BeginDragOutsideEventHandler(fn)) 152 voidAddClientToCentralPane(
CRef<TNode>full_client);
157 voidGetAllClients(vector<IWMClient*>& clients);
158 voidGetClientsInWindow(wxWindow* window, vector<IWMClient*>& clients);
160 voidActivateClients(vector<IWMClient*>& clients);
164wxWindow* GetRootWindow();
172 boolHasNoWMClients();
174 boolIsRootWindow(wxWindow* window);
176 boolNeedToSavePositions();
177 boolHasDefaultPositionFor(
constTFingerprint& fingerprint);
181 voidOnBeginDragOver(
constwxPoint& sc_mouse_pt);
182 voidOnDragOver(
constwxPoint& sc_mouse_pt);
184 boolIsHintShown()
const;
188 voidOnTabClosePressed(wxWindow* page);
192 voidOnLeftDown(wxMouseEvent& event);
193 voidOnLeftUp(wxMouseEvent& event);
194 voidOnMouseMove(wxMouseEvent& event);
195 voidOnMouseCaptureLost(wxMouseCaptureLostEvent& event);
200objects::CUser_object* SaveLayout(wxFrame* mainFrame);
203 virtual boolLayout();
206 voidLogPostTrees(
const string&
test);
213fAddChildWindows = 2,
214fAll = fCreateWindow | fAddChildWindows
217 voidx_CreateControls();
218 voidx_SetRootWindow(wxWindow* window);
220 stringx_GetPageNameByWindow(wxWindow* window);
222 voidx_GetClientsInNode(TNode& node, vector<IWMClient*>& clients);
231 voidx_Full_RemoveNode(TNode& full_node, ERemoveAction action);
233 voidx_Full_DisconnectChildren(TNode& full_node);
234 voidx_Full_ReduceContainer(TNode& full_cont);
235 voidx_Full_ReduceHiddenContainer_IfNeeded(TNode& full_cont);
236 voidx_Full_UnhideContainer_AddChildren(TNode& full_cont,
237TNode& full_vis_child,
238TNode& full_new_child);
241 voidx_Full_CleanLayoutTreeBranch(TNode* centralPane, TNode& full_node);
243 voidx_Visible_RemoveNode(TNode& node, ERemoveAction action);
244 voidx_Visible_AddChildToContainer(TNode& cont, TNode& child);
245 voidx_Visible_ReplaceChildWithContainer(TNode& child, TNode& cont);
246 voidx_Visible_ReplaceContainerWithChild(TNode& cont);
249 voidx_InstantiateNode(TNode& full_node,
boolrecursive, EInstFlags
flags= fAll);
250 voidx_InstantiateNode_AddChildWindows(TNode& full_node);
252 voidx_DestroyNode(TNode& full_node, ERemoveAction action);
254 voidBlockSplittersLayout(
boolblock);
256 boolx_IsElastic(TNode& node);
257 boolx_IsElastic(wxWindow* win);
259 IDockDropTarget* x_FindDockDropTargetByPos(
constwxPoint& screen_pt);
261wxWindow*& target,
boolsplit_tab_pane);
262wxRect x_CalculateHintRect();
265 voidx_DestroyEmptyLayout();
267 voidx_InitDefaultTree(
boolcreate_tab);
269TNode* x_FindNodeByWindow(wxWindow* window);
CBeginDragOutsideEvent(IDockableWindow *window)
virtual wxEvent * Clone() const
IDockableWindow * GetWindow() const
static CDockContainerDescr * FromUserObject(const objects::CUser_object &obj)
CDockContainerDescr(wxPoint pos, wxSize size, bool maximized, CRef< CDockLayoutTree > tree)
CDockContainerDescr(wxRect rect, bool maximized, CRef< CDockLayoutTree > tree)
CRef< CDockLayoutTree > m_Tree
objects::CUser_object * ToUserObject() const
CDockLayoutTree * GetTree()
bool GetMaximized() const
CDockContainer is a window that hosts docked windows.
CWindowManager & m_WindowManager
CDockMarkerWindow * m_MarkersWindow
map< wxWindow *, TNode * > TWindowToNode
CRef< CDockLayoutTree > m_FullTree
CFloatingFrame * m_DockFrame
CRef< CDockLayoutTree > m_VisibleTree
IWMClient::CFingerprint TFingerprint
CDockLayoutTree::CNode TNode
TWindowToNode m_WindowToNode
CDockManager & m_DockManager
CDockLayoutTree::TNodeVector TNodeVector
IDockableWindow * m_TabDockable
CNode - a node in layout tree corresponding to a window.
CDockLayoutTree - represents hierarchical layout in a Dock Container as a tree where nodes correspond...
vector< CRef< CNode > > TNodeVector
CDockManager CDockManager sends requests to Window Manager, Window Manager makes decisions about dele...
CDockMarkerWindow - top level window with docking markers displayed on top of the application window.
CDockNotebook - an extended version of wxAuiNotebook capable of working with Dock Manager and Window ...
CDockPanel - a container with a title bar (caption) hosting a single client window (IWMClient).
CWindowManager - component controlling windowing of client windows.
IDockDropTarget - interface representing a component that can serve as a drop target during D&D docki...
IDockableWindow - repersents a window that can be docked in Dock Manager.
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.
IWClient - abstract Window Manager client.
Include a standard set of the NCBI C++ Toolkit most basic headers.
void(wxEvtHandler::* BeginDragOutsideEventFunction)(CBeginDragOutsideEvent &)
#define test(a, b, c, d, e)
TObjectType * GetPointerOrNull(void) THROWS_NONE
Get pointer value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
const struct ncbi::grid::netcache::search::fields::SIZE size
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
static CNamedPipeClient * client
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4