MatOCAD Logo

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

wxIFMComponentButton Class Reference

#include <definterface.h>

Collaboration diagram for wxIFMComponentButton:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wxIFMComponentButton (wxIFMComponentButtonManager *manager, int id, wxWindow *parent)
int GetID () const
void SetHover (bool h)
bool GetHover () const
void SetPressed (bool p)
bool GetPressed () const
void OnPaint (wxPaintEvent &event)
void OnEraseBg (wxEraseEvent &event)
void OnEnterWindow (wxMouseEvent &event)
void OnLeaveWindow (wxMouseEvent &event)
void OnLeftDown (wxMouseEvent &event)
void OnLeftUp (wxMouseEvent &event)
void OnMouseMove (wxMouseEvent &event)

Public Attributes

wxBitmap * m_bmp
wxBitmap * m_bmpH
wxBitmap * m_bmpP

Private Member Functions

wxIFMInterfacePluginBase * GetIP ()

Private Attributes

int m_id
wxIFMComponentButtonManager * m_manager
bool m_hover
bool m_pressed
bool m_leftDown

Detailed Description

Definition at line 405 of file definterface.h.


Constructor & Destructor Documentation

wxIFMComponentButton::wxIFMComponentButton (  wxIFMComponentButtonManager *  manager,
int  id,
wxWindow *  parent
) 
 

Definition at line 2784 of file definterface.cpp.


Member Function Documentation

bool wxIFMComponentButton::GetHover (   )  const
 

Definition at line 2806 of file definterface.cpp.

References m_hover.

int wxIFMComponentButton::GetID (   )  const
 

Definition at line 2801 of file definterface.cpp.

References m_id.

Referenced by wxIFMDefaultPanelPlugin::OnComponentButtonClick(), and wxIFMDefaultContainerPlugin::OnComponentButtonClick().

wxIFMInterfacePluginBase * wxIFMComponentButton::GetIP (   )  [private]
 

Definition at line 2796 of file definterface.cpp.

References wxIFMComponentButtonManager::GetIP(), and m_manager.

Referenced by OnLeftUp().

bool wxIFMComponentButton::GetPressed (   )  const
 

Definition at line 2811 of file definterface.cpp.

References m_pressed.

void wxIFMComponentButton::OnEnterWindow (  wxMouseEvent &  event  ) 
 

void wxIFMComponentButton::OnEraseBg (  wxEraseEvent &  event  ) 
 

void wxIFMComponentButton::OnLeaveWindow (  wxMouseEvent &  event  ) 
 

void wxIFMComponentButton::OnLeftDown (  wxMouseEvent &  event  ) 
 

void wxIFMComponentButton::OnLeftUp (  wxMouseEvent &  event  ) 
 

Definition at line 2878 of file definterface.cpp.

References wxIFMComponentButtonManager::GetComponent(), GetIP(), m_leftDown, m_manager, wxIFMInterfacePluginBase::ProcessPluginEvent(), and SetPressed().

void wxIFMComponentButton::OnMouseMove (  wxMouseEvent &  event  ) 
 

Definition at line 2898 of file definterface.cpp.

References m_leftDown, and SetPressed().

void wxIFMComponentButton::OnPaint (  wxPaintEvent &  event  ) 
 

void wxIFMComponentButton::SetHover (  bool  h  ) 
 

Sets the hover state of this button.

Definition at line 2816 of file definterface.cpp.

References m_hover.

void wxIFMComponentButton::SetPressed (  bool  p  ) 
 

Sets the pressed state of this button.

Definition at line 2825 of file definterface.cpp.

References m_pressed.

Referenced by OnLeftUp(), and OnMouseMove().


Member Data Documentation

wxBitmap* wxIFMComponentButton::m_bmp
 

Definition at line 418 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnCreateComponent(), and wxIFMDefaultContainerPlugin::OnCreateComponent().

wxBitmap * wxIFMComponentButton::m_bmpH
 

Definition at line 418 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnCreateComponent(), and wxIFMDefaultContainerPlugin::OnCreateComponent().

wxBitmap * wxIFMComponentButton::m_bmpP
 

Definition at line 418 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnCreateComponent(), and wxIFMDefaultContainerPlugin::OnCreateComponent().

bool wxIFMComponentButton::m_hover [private]
 

Definition at line 413 of file definterface.h.

Referenced by GetHover(), and SetHover().

int wxIFMComponentButton::m_id [private]
 

Definition at line 409 of file definterface.h.

Referenced by GetID().

bool wxIFMComponentButton::m_leftDown [private]
 

Definition at line 413 of file definterface.h.

Referenced by OnLeftUp(), and OnMouseMove().

wxIFMComponentButtonManager* wxIFMComponentButton::m_manager [private]
 

Definition at line 411 of file definterface.h.

Referenced by GetIP(), and OnLeftUp().

bool wxIFMComponentButton::m_pressed [private]
 

Definition at line 413 of file definterface.h.

Referenced by GetPressed(), and SetPressed().


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

 

SourceForge Logo