3 // Copyright 2005 by Chris Ball
5 #ifndef __DASHER_BUTTONS_H__
6 #define __DASHER_BUTTONS_H__
14 #include "InputFilter.h"
21 class CDasherButtons
: public CStaticFilter
24 CDasherButtons(CSettingsUser
*pCreator
, CDasherInterfaceBase
*pInterface
, bool bMenu
, ModuleID_t iID
, const char *szName
);
28 virtual bool DecorateView(CDasherView
*pView
, CDasherInput
*pInput
)=0;
30 void KeyDown(unsigned long iTime
, int iId
, CDasherView
*pView
, CDasherInput
*pInput
, CDasherModel
*pModel
);
31 void Timer(unsigned long Time
, CDasherView
*pView
, CDasherInput
*pInput
, CDasherModel
*m_pDasherModel
, CExpansionPolicy
**pol
);
42 virtual void SetupBoxes()=0;
43 void NewDrawGoTo(CDasherView
*pView
, myint iDasherMin
, myint iDasherMax
, bool bActive
);
45 bool m_bDecorationChanged
;
47 int m_iNumBoxes
, iActiveBox
;
48 unsigned long m_iScanTime
;
50 virtual void DirectKeyDown(unsigned long iTime
, int iId
, CDasherView
*pView
, CDasherModel
*pModel
);