MatOCAD Logo

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

wxIFMDockTargetButton Class Reference

#include <dragndrop.h>

Collaboration diagram for wxIFMDockTargetButton:

Collaboration graph
List of all members.

Public Member Functions

 wxIFMDockTargetButton (wxWindow *parent, const wxPoint &pos, int id, int icon, wxIFMComponent *component=NULL)
void SetHover (bool hover=true)
int GetId () const
void SetComponent (wxIFMComponent *component)
wxIFMComponentGetComponent () const

Private Member Functions

void OnEraseBackground (wxEraseEvent &event)
void OnPaint (wxPaintEvent &event)

Private Attributes

bool m_hover
int m_id
int m_icon

Detailed Description

Class representing "dock target buttons" that display during dragging

Definition at line 346 of file dragndrop.h.

Constructor & Destructor Documentation

wxIFMDockTargetButton::wxIFMDockTargetButton wxWindow *  parent,
const wxPoint &  pos,
int  id,
int  icon,
wxIFMComponent component = NULL

Definition at line 1181 of file dragndrop.cpp.

Member Function Documentation

wxIFMComponent* wxIFMDockTargetButton::GetComponent  )  const [inline]

Definition at line 369 of file dragndrop.h.

References m_component.

Referenced by wxIFMDefaultDockingPlugin::OnDragEnd().

int wxIFMDockTargetButton::GetId  )  const [inline]

Definition at line 366 of file dragndrop.h.

References m_id.

Referenced by wxIFMDefaultDockingPlugin::OnDragEnd().

void wxIFMDockTargetButton::OnEraseBackground wxEraseEvent &  event  )  [private]

void wxIFMDockTargetButton::OnPaint wxPaintEvent &  event  )  [private]

void wxIFMDockTargetButton::SetComponent wxIFMComponent component  )  [inline]

Definition at line 368 of file dragndrop.h.

References m_component.

void wxIFMDockTargetButton::SetHover bool  hover = true  ) 

Notify this button that the mouse is hovering over it. This will cause the button to redraw itself to reflect its new state

Definition at line 1195 of file dragndrop.cpp.

References m_hover.

Referenced by wxIFMDefaultDockingPlugin::OnDrag().

Member Data Documentation

wxIFMComponent* wxIFMDockTargetButton::m_component [private]

Definition at line 354 of file dragndrop.h.

Referenced by GetComponent(), and SetComponent().

bool wxIFMDockTargetButton::m_hover [private]

Definition at line 351 of file dragndrop.h.

Referenced by SetHover().

int wxIFMDockTargetButton::m_icon [private]

Definition at line 352 of file dragndrop.h.

int wxIFMDockTargetButton::m_id [private]

Definition at line 352 of file dragndrop.h.

Referenced by GetId().

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


SourceForge Logo