1 #ifndef __DEFAULT_FILTER_H__
2 #define __DEFAULT_FILTER_H__
4 #include "InputFilter.h"
5 #include "AutoSpeedControl.h"
6 #include "StartHandler.h"
8 /// \ingroup InputFilter
10 class CDefaultFilter
: public CInputFilter
{
12 CDefaultFilter(Dasher::CEventHandler
* pEventHandler
, CSettingsStore
*pSettingsStore
, CDasherInterfaceBase
*pInterface
, CDasherModel
*m_pDasherModel
, ModuleID_t iID
, const char *szName
);
15 virtual void HandleEvent(Dasher::CEvent
* pEvent
);
17 virtual bool DecorateView(CDasherView
*pView
);
18 virtual bool Timer(int Time
, CDasherView
*m_pDasherView
, CDasherModel
*m_pDasherModel
, Dasher::VECTOR_SYMBOL_PROB
*pAdded
, int *pNumDeleted
);
19 virtual void KeyDown(int iTime
, int iId
, CDasherModel
*pModel
, CUserLogBase
*pUserLog
);
22 virtual void CreateStartHandler();
25 virtual void DrawMouse(CDasherView
*pView
);
26 virtual void DrawMouseLine(CDasherView
*pView
);
27 virtual void ApplyAutoCalibration(myint
&iDasherX
, myint
&iDasherY
, bool bUpdate
);
28 virtual void ApplyTransform(myint
&iDasherX
, myint
&iDasherY
);
30 CAutoSpeedControl
*m_pAutoSpeedControl
;
31 CStartHandler
*m_pStartHandler
;