2009-06-19 20:28:25 -04:00
|
|
|
// SuperTuxKart - a fun racing game with go-kart
|
2015-03-29 20:31:42 -04:00
|
|
|
// Copyright (C) 2009-2015 Marianne Gagnon
|
2009-06-19 20:28:25 -04:00
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
// as published by the Free Software Foundation; either version 3
|
|
|
|
// of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
2009-10-04 19:59:05 -04:00
|
|
|
#ifndef HEADER_HELP_SCREEN_1_HPP
|
|
|
|
#define HEADER_HELP_SCREEN_1_HPP
|
2009-06-19 20:28:25 -04:00
|
|
|
|
2009-10-04 19:59:05 -04:00
|
|
|
#include "guiengine/screen.hpp"
|
2009-05-23 20:52:31 -04:00
|
|
|
|
2009-10-04 19:59:05 -04:00
|
|
|
namespace GUIEngine { class Widget; }
|
2009-05-23 20:52:31 -04:00
|
|
|
|
2010-04-23 16:48:56 -04:00
|
|
|
/**
|
|
|
|
* \brief Help screen, part 1
|
|
|
|
* \ingroup states_screens
|
|
|
|
*/
|
2009-10-04 19:59:05 -04:00
|
|
|
class HelpScreen1 : public GUIEngine::Screen, public GUIEngine::ScreenSingleton<HelpScreen1>
|
2009-05-23 20:52:31 -04:00
|
|
|
{
|
2009-10-04 19:59:05 -04:00
|
|
|
friend class GUIEngine::ScreenSingleton<HelpScreen1>;
|
|
|
|
HelpScreen1();
|
2013-05-30 15:47:39 -04:00
|
|
|
|
2009-10-04 19:59:05 -04:00
|
|
|
public:
|
|
|
|
|
2010-05-01 15:16:38 -04:00
|
|
|
/** \brief implement callback from parent class GUIEngine::Screen */
|
2012-05-13 20:04:26 -04:00
|
|
|
virtual void loadedFromFile() OVERRIDE;
|
2013-05-30 15:47:39 -04:00
|
|
|
|
2010-05-01 15:16:38 -04:00
|
|
|
/** \brief implement callback from parent class GUIEngine::Screen */
|
2012-05-13 20:04:26 -04:00
|
|
|
virtual void eventCallback(GUIEngine::Widget* widget, const std::string& name,
|
|
|
|
const int playerID) OVERRIDE;
|
2013-05-30 15:47:39 -04:00
|
|
|
|
2010-05-01 15:16:38 -04:00
|
|
|
/** \brief implement callback from parent class GUIEngine::Screen */
|
2012-05-13 20:04:26 -04:00
|
|
|
virtual void init() OVERRIDE;
|
2009-10-04 19:59:05 -04:00
|
|
|
};
|
2009-05-23 20:52:31 -04:00
|
|
|
|
|
|
|
#endif
|