SuperTuxKart
help_common.hpp
1  // SuperTuxKart - a fun racing game with go-kart
2 // Copyright (C) 2009-2015 Marianne Gagnon
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 3
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 
18 #ifndef __HEADER_HELP_COMMON_HPP__
19 #define __HEADER_HELP_COMMON_HPP__
20 
21 // This file contains include headers that are used by all or most help screens.
22 // It also contains a standalone function to switch between the help screens.
23 // This simplifies maintenance.
24 
25 // Frequent widgets used by multiple option screens
26 #include "guiengine/widgets/ribbon_widget.hpp"
27 
28 // Other help screens, for navigation between them
29 #include "states_screens/help/help_screen_1.hpp"
30 #include "states_screens/help/help_screen_2.hpp"
31 #include "states_screens/help/help_screen_3.hpp"
32 #include "states_screens/help/help_screen_4.hpp"
33 #include "states_screens/help/help_screen_5.hpp"
34 #include "states_screens/help/help_screen_6.hpp"
35 #include "states_screens/help/help_screen_7.hpp"
36 
37 // GUI management
38 #include "states_screens/state_manager.hpp"
39 
40 namespace HelpCommon
41 {
42  void switchTab(std::string selected_tab);
43 }
44 
45 #endif