NCBI C++ ToolKit
|
Search Toolkit Book for CFloatingFrame
#include <gui/widgets/wx/dock_frames.hpp>
Public Member Functions | |
CFloatingFrame (CDockManager &manager, wxWindow *parent, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
virtual | ~CFloatingFrame () |
virtual CDockContainer * | GetDockContainer () |
virtual void | SetDockContainer (CDockContainer *dock_cont) |
virtual bool | Destroy () |
Public Member Functions inherited from IDockableWindow | |
virtual | ~IDockableWindow () |
Protected Member Functions | |
virtual void | OnMoveStart () |
virtual void | OnMoving () |
virtual void | OnMoveFinished (bool drop) |
void | OnClose (wxCloseEvent &event) |
void | OnMovingEvent (wxMoveEvent &event) |
void | OnIdle (wxIdleEvent &event) |
void | OnActivate (wxActivateEvent &event) |
void | OnMotion (wxMouseEvent &evt) |
void | OnKeyDown (wxKeyEvent &event) |
void | OnKeyUp (wxKeyEvent &event) |
Static Protected Member Functions | |
static bool | isMouseDown () |
Private Attributes | |
CDockManager * | m_DockManager |
CDockContainer * | m_DockContainer |
wxPoint | m_OrigMouseShift |
bool | m_solid_drag |
bool | m_moving |
wxRect | m_last_rect |
wxRect | m_last2_rect |
wxRect | m_last3_rect |
wxSize | m_last_size |
Definition at line 126 of file dock_frames.hpp.
CFloatingFrame::CFloatingFrame | ( | CDockManager & | manager, |
wxWindow * | parent, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize |
||
) |
Definition at line 403 of file dock_frames.cpp.
References CUICommandRegistry::ApplyAccelerators(), b, CUICommandRegistry::GetInstance(), m_moving, m_solid_drag, ncbi::grid::netcache::search::fields::size, TRUE, true, and wxID_ANY.
|
virtual |
Definition at line 448 of file dock_frames.cpp.
|
virtual |
Definition at line 464 of file dock_frames.cpp.
References m_DockContainer, m_DockManager, and NULL.
Referenced by CDockManager::x_DestroyFrameAndContainer().
|
virtual |
Implements IDockableWindow.
Definition at line 459 of file dock_frames.cpp.
References m_DockContainer.
Referenced by CDockManager::AddToDefaultLocation(), CDockManager::OnFloatingFrameActivateEvent(), CDockManager::OnFrameClosePressed(), CDockManager::x_GetActiveContainerByPos(), and CDockManager::x_MoveToFloatingFrame().
|
staticprotected |
Definition at line 765 of file dock_frames.cpp.
Referenced by OnIdle(), and OnMovingEvent().
|
protected |
Definition at line 723 of file dock_frames.cpp.
References m_DockManager, and CDockManager::OnFloatingFrameActivateEvent().
|
protected |
Definition at line 488 of file dock_frames.cpp.
References m_DockManager, and CDockManager::OnFrameClosePressed().
|
protected |
Definition at line 652 of file dock_frames.cpp.
References abs, dummy, isMouseDown(), m_moving, m_OrigMouseShift, offset, OnMoveFinished(), and OnMovingEvent().
|
protected |
Definition at line 749 of file dock_frames.cpp.
References CDockContainer::GetDockManager(), m_DockContainer, and CDockManager::OnKeyDown().
|
protected |
Definition at line 755 of file dock_frames.cpp.
References CDockContainer::GetDockManager(), m_DockContainer, and CDockManager::OnKeyUp().
|
protected |
Definition at line 743 of file dock_frames.cpp.
|
protectedvirtual |
Definition at line 712 of file dock_frames.cpp.
References CDockManager::eCancel, CDockManager::eDrop, m_DockManager, CDockManager::OnFloatingPaneEndMove(), and result.
Referenced by OnIdle().
|
protectedvirtual |
Definition at line 694 of file dock_frames.cpp.
References m_DockManager, and CDockManager::OnFloatingPaneBeginMove().
Referenced by OnMovingEvent().
|
protectedvirtual |
Definition at line 703 of file dock_frames.cpp.
References m_DockManager, and CDockManager::OnFloatingPaneMoving().
Referenced by OnMovingEvent().
|
protected |
Definition at line 495 of file dock_frames.cpp.
References abs, BroadcastCommandToChildWindows(), delta(), eCmdParentMove, isMouseDown(), m_last2_rect, m_last3_rect, m_last_rect, m_moving, m_OrigMouseShift, m_solid_drag, OnMoveStart(), and OnMoving().
Referenced by OnIdle().
|
virtual |
Implements IDockableWindow.
Definition at line 453 of file dock_frames.cpp.
References m_DockContainer.
Referenced by CDockManager::x_CreateFrameAndContainer().
|
private |
Definition at line 164 of file dock_frames.hpp.
Referenced by Destroy(), GetDockContainer(), OnKeyDown(), OnKeyUp(), and SetDockContainer().
|
private |
Definition at line 163 of file dock_frames.hpp.
Referenced by Destroy(), OnActivate(), OnClose(), OnMoveFinished(), OnMoveStart(), and OnMoving().
|
private |
Definition at line 173 of file dock_frames.hpp.
Referenced by OnMovingEvent().
|
private |
Definition at line 174 of file dock_frames.hpp.
Referenced by OnMovingEvent().
|
private |
Definition at line 172 of file dock_frames.hpp.
Referenced by OnMovingEvent().
|
private |
Definition at line 175 of file dock_frames.hpp.
|
private |
Definition at line 170 of file dock_frames.hpp.
Referenced by CFloatingFrame(), OnIdle(), and OnMovingEvent().
|
private |
Definition at line 167 of file dock_frames.hpp.
Referenced by OnIdle(), and OnMovingEvent().
|
private |
Definition at line 169 of file dock_frames.hpp.
Referenced by CFloatingFrame(), and OnMovingEvent().