MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

wxIFMShowDropTargetsEvent Class Reference

Event for positioning drop target buttons. This event specifies the component that the mouse is hovering over, which is the component that the "cross" drop target buttons should be positioned over. The component actually being dragged is specified by GetDraggedComponent. More...

#include <dragndrop.h>

Collaboration diagram for wxIFMShowDropTargetsEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wxIFMShowDropTargetsEvent (wxIFMComponent *component, const wxPoint &pos, wxIFMComponent *dragged_component)
 wxIFMShowDropTargetsEvent (const wxIFMShowDropTargetsEvent &event)
virtual wxEvent * Clone () const
const wxPoint & GetPosition () const
wxIFMComponentGetDraggedComponent () const

Private Attributes

wxPoint m_pos
wxIFMComponentm_draggedComponent

Detailed Description

Event for positioning drop target buttons. This event specifies the component that the mouse is hovering over, which is the component that the "cross" drop target buttons should be positioned over. The component actually being dragged is specified by GetDraggedComponent.

Definition at line 305 of file dragndrop.h.


Constructor & Destructor Documentation

wxIFMShowDropTargetsEvent::wxIFMShowDropTargetsEvent wxIFMComponent component,
const wxPoint &  pos,
wxIFMComponent dragged_component
[inline]
 

Definition at line 312 of file dragndrop.h.

Referenced by Clone().

wxIFMShowDropTargetsEvent::wxIFMShowDropTargetsEvent const wxIFMShowDropTargetsEvent event  )  [inline]
 

Definition at line 319 of file dragndrop.h.


Member Function Documentation

virtual wxEvent* wxIFMShowDropTargetsEvent::Clone  )  const [inline, virtual]
 

Definition at line 325 of file dragndrop.h.

References wxIFMShowDropTargetsEvent().

wxIFMComponent* wxIFMShowDropTargetsEvent::GetDraggedComponent  )  const [inline]
 

Returns:
The component which is being dragged

Definition at line 335 of file dragndrop.h.

References m_draggedComponent.

Referenced by wxIFMDefaultDockingPlugin::OnShowDropTargets().

const wxPoint& wxIFMShowDropTargetsEvent::GetPosition  )  const [inline]
 

Returns:
Position of the mouse in client coordinates

Definition at line 330 of file dragndrop.h.

References m_pos.

Referenced by wxIFMDefaultDockingPlugin::OnShowDropTargets().


Member Data Documentation

wxIFMComponent* wxIFMShowDropTargetsEvent::m_draggedComponent [private]
 

Definition at line 309 of file dragndrop.h.

Referenced by GetDraggedComponent().

wxPoint wxIFMShowDropTargetsEvent::m_pos [private]
 

Definition at line 308 of file dragndrop.h.

Referenced by GetPosition().


The documentation for this class was generated from the following file:

 

SourceForge Logo