Updated German translation
[dasher.git] / Src / DasherCore / ScreenGameModule.h
blobb6e82d3666447f2cdfbae629a4bf37f523644dc7
1 // ScreenGameModule.h
2 //
3 // Created by Alan Lawrence on 17/06/2011.
4 // Copyright 2011 The Dasher Team.
5 //
6 // This file is part of Dasher.
7 //
8 // Dasher is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
13 // Dasher is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with Dasher; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef __SCREEN_GAME_MODULE_H__
23 #define __SCREEN_GAME_MODULE_H__
25 #include "GameModule.h"
27 namespace Dasher {
28 class CScreenGameModule : public CGameModule {
29 public:
30 CScreenGameModule(Dasher::CSettingsUser *pCreateFrom, CDasherInterfaceBase *pInterface,CDasherView *pView, CDasherModel *pModel);
31 void HandleEvent(const CEditEvent *);
32 protected:
33 virtual void ChunkGenerated();
34 virtual void DrawText(CDasherView *pView);
35 private:
36 std::string m_strEntered, m_strTarget;
37 CDasherScreen::Label *m_pLabEntered, *m_pLabTarget, *m_pLabWrong;
38 int m_iFirstSym, m_iLastSym;
42 #endif