Enviro application
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DriveDlg Class Reference

Inherits DriveDlgBase.

Public Member Functions

 DriveDlg (wxWindow *parent)
 
void SetCarEngine (CarEngine *eng)
 
CarEngine * GetCarEngine ()
 

Protected Member Functions

void OnLeftDown (wxMouseEvent &event)
 
void OnLeftUp (wxMouseEvent &event)
 
void OnMotion (wxMouseEvent &event)
 
void OnLeftDClick (wxMouseEvent &event)
 
void OnAreaPaint (wxPaintEvent &event)
 
void OnFollow (wxCommandEvent &event)
 
void OnScroll (wxScrollEvent &event)
 
void MouseToMotion (int mx, int my)
 

Protected Attributes

float m_fSpeed
 
float m_fTurn
 
bool m_bFollow
 
CarEnginePtr m_Engine
 
bool m_bMouseDown
 

Detailed Description

Implementing DriveDlgBase

Constructor & Destructor Documentation

DriveDlg::DriveDlg ( wxWindow *  parent)

Constructor

Member Function Documentation

CarEngine* DriveDlg::GetCarEngine ( )
inline
void DriveDlg::MouseToMotion ( int  mx,
int  my 
)
protected
void DriveDlg::OnAreaPaint ( wxPaintEvent &  event)
protected
void DriveDlg::OnFollow ( wxCommandEvent &  event)
protected
void DriveDlg::OnLeftDClick ( wxMouseEvent &  event)
protected
void DriveDlg::OnLeftDown ( wxMouseEvent &  event)
protected
void DriveDlg::OnLeftUp ( wxMouseEvent &  event)
protected
void DriveDlg::OnMotion ( wxMouseEvent &  event)
protected
void DriveDlg::OnScroll ( wxScrollEvent &  event)
protected
void DriveDlg::SetCarEngine ( CarEngine *  eng)
inline

Member Data Documentation

bool DriveDlg::m_bFollow
protected
bool DriveDlg::m_bMouseDown
protected
CarEnginePtr DriveDlg::m_Engine
protected
float DriveDlg::m_fSpeed
protected
float DriveDlg::m_fTurn
protected