NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
CFloatingFrame Class Reference

Search Toolkit Book for CFloatingFrame

#include <gui/widgets/wx/dock_frames.hpp>

+ Inheritance diagram for CFloatingFrame:
+ Collaboration diagram for CFloatingFrame:

Public Member Functions

 CFloatingFrame (CDockManager &manager, wxWindow *parent, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
 
virtual ~CFloatingFrame ()
 
virtual CDockContainerGetDockContainer ()
 
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

CDockManagerm_DockManager
 
CDockContainerm_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
 

Detailed Description

Definition at line 126 of file dock_frames.hpp.

Constructor & Destructor Documentation

◆ CFloatingFrame()

CFloatingFrame::CFloatingFrame ( CDockManager manager,
wxWindow *  parent,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize 
)

◆ ~CFloatingFrame()

CFloatingFrame::~CFloatingFrame ( )
virtual

Definition at line 448 of file dock_frames.cpp.

Member Function Documentation

◆ Destroy()

bool CFloatingFrame::Destroy ( void  )
virtual

Definition at line 464 of file dock_frames.cpp.

References m_DockContainer, m_DockManager, and NULL.

Referenced by CDockManager::x_DestroyFrameAndContainer().

◆ GetDockContainer()

CDockContainer * CFloatingFrame::GetDockContainer ( )
virtual

◆ isMouseDown()

bool CFloatingFrame::isMouseDown ( )
staticprotected

Definition at line 765 of file dock_frames.cpp.

Referenced by OnIdle(), and OnMovingEvent().

◆ OnActivate()

void CFloatingFrame::OnActivate ( wxActivateEvent &  event)
protected

Definition at line 723 of file dock_frames.cpp.

References m_DockManager, and CDockManager::OnFloatingFrameActivateEvent().

◆ OnClose()

void CFloatingFrame::OnClose ( wxCloseEvent &  event)
protected

Definition at line 488 of file dock_frames.cpp.

References m_DockManager, and CDockManager::OnFrameClosePressed().

◆ OnIdle()

void CFloatingFrame::OnIdle ( wxIdleEvent &  event)
protected

◆ OnKeyDown()

void CFloatingFrame::OnKeyDown ( wxKeyEvent &  event)
protected

◆ OnKeyUp()

void CFloatingFrame::OnKeyUp ( wxKeyEvent &  event)
protected

◆ OnMotion()

void CFloatingFrame::OnMotion ( wxMouseEvent &  evt)
protected

Definition at line 743 of file dock_frames.cpp.

◆ OnMoveFinished()

void CFloatingFrame::OnMoveFinished ( bool  drop)
protectedvirtual

◆ OnMoveStart()

void CFloatingFrame::OnMoveStart ( )
protectedvirtual

Definition at line 694 of file dock_frames.cpp.

References m_DockManager, and CDockManager::OnFloatingPaneBeginMove().

Referenced by OnMovingEvent().

◆ OnMoving()

void CFloatingFrame::OnMoving ( )
protectedvirtual

Definition at line 703 of file dock_frames.cpp.

References m_DockManager, and CDockManager::OnFloatingPaneMoving().

Referenced by OnMovingEvent().

◆ OnMovingEvent()

void CFloatingFrame::OnMovingEvent ( wxMoveEvent &  event)
protected

◆ SetDockContainer()

void CFloatingFrame::SetDockContainer ( CDockContainer dock_cont)
virtual

Implements IDockableWindow.

Definition at line 453 of file dock_frames.cpp.

References m_DockContainer.

Referenced by CDockManager::x_CreateFrameAndContainer().

Member Data Documentation

◆ m_DockContainer

CDockContainer* CFloatingFrame::m_DockContainer
private

Definition at line 164 of file dock_frames.hpp.

Referenced by Destroy(), GetDockContainer(), OnKeyDown(), OnKeyUp(), and SetDockContainer().

◆ m_DockManager

CDockManager* CFloatingFrame::m_DockManager
private

Definition at line 163 of file dock_frames.hpp.

Referenced by Destroy(), OnActivate(), OnClose(), OnMoveFinished(), OnMoveStart(), and OnMoving().

◆ m_last2_rect

wxRect CFloatingFrame::m_last2_rect
private

Definition at line 173 of file dock_frames.hpp.

Referenced by OnMovingEvent().

◆ m_last3_rect

wxRect CFloatingFrame::m_last3_rect
private

Definition at line 174 of file dock_frames.hpp.

Referenced by OnMovingEvent().

◆ m_last_rect

wxRect CFloatingFrame::m_last_rect
private

Definition at line 172 of file dock_frames.hpp.

Referenced by OnMovingEvent().

◆ m_last_size

wxSize CFloatingFrame::m_last_size
private

Definition at line 175 of file dock_frames.hpp.

◆ m_moving

bool CFloatingFrame::m_moving
private

Definition at line 170 of file dock_frames.hpp.

Referenced by CFloatingFrame(), OnIdle(), and OnMovingEvent().

◆ m_OrigMouseShift

wxPoint CFloatingFrame::m_OrigMouseShift
private

Definition at line 167 of file dock_frames.hpp.

Referenced by OnIdle(), and OnMovingEvent().

◆ m_solid_drag

bool CFloatingFrame::m_solid_drag
private

Definition at line 169 of file dock_frames.hpp.

Referenced by CFloatingFrame(), and OnMovingEvent().


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:45 2024 by modify_doxy.py rev. 669887