tagging release
[dasher.git] / Src / DasherCore / DefaultFilter.h
blob4d8d70e3fc7e10c4dd03c2a0f3f48ce6ae168138
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
9 /// @{
10 class CDefaultFilter : public CInputFilter {
11 public:
12 CDefaultFilter(Dasher::CEventHandler * pEventHandler, CSettingsStore *pSettingsStore, CDasherInterfaceBase *pInterface, CDasherModel *m_pDasherModel, ModuleID_t iID, const char *szName);
13 ~CDefaultFilter();
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);
21 protected:
22 virtual void CreateStartHandler();
24 private:
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;
33 /// @}
35 #endif