3 // Created by Alan Lawrence on 17/06/2011.
4 // Copyright 2011 The Dasher Team.
6 // This file is part of Dasher.
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"
28 class CScreenGameModule
: public CGameModule
{
30 CScreenGameModule(Dasher::CSettingsUser
*pCreateFrom
, CDasherInterfaceBase
*pInterface
,CDasherView
*pView
, CDasherModel
*pModel
);
31 void HandleEvent(const CEditEvent
*);
33 virtual void ChunkGenerated();
34 virtual void DrawText(CDasherView
*pView
);
36 std::string m_strEntered
, m_strTarget
;
37 CDasherScreen::Label
*m_pLabEntered
, *m_pLabTarget
, *m_pLabWrong
;
38 int m_iFirstSym
, m_iLastSym
;