Updated German translation
[dasher.git] / Src / DasherCore / AlternatingDirectMode.h
blob3dd4f2d2fd666302abebef6510c9eaa125d3dbcb
2 // DasherButtons.h
3 // Copyright 2005 by Chris Ball
5 #ifndef __ALTERNATING_DIRECT_MODE_H__
6 #define __ALTERNATING_DIRECT_MODE_H__
8 #include <string>
9 #include <vector>
10 #include <iostream>
11 #include <fstream>
12 #include <algorithm>
13 #include "Event.h"
14 #include "DasherButtons.h"
17 using namespace std;
18 namespace Dasher {
19 /// \ingroup Input
20 /// @{
22 //TODO maybe some kind of scanning/menu option here, too, tho slightly more complicated than for direct/menu mode?
24 class CAlternatingDirectMode : public CDasherButtons
26 public:
27 CAlternatingDirectMode(CSettingsUser *pCreator, CDasherInterfaceBase *pInterface);
29 bool DecorateView(CDasherView *pView, CDasherInput *pInput);
31 bool GetSettings(SModuleSettings **pSettings, int *iCount);
33 protected:
34 void SetupBoxes();
36 private:
37 void DirectKeyDown(unsigned long iTime, int iId, CDasherView *pView, CDasherModel *pModel);
39 int m_iLastBox;
42 /// @}
44 #endif