RigsofRods
Soft-body Physics Simulation
GUI_GameAbout.h
Go to the documentation of this file.
1 /*
2  This source file is part of Rigs of Rods
3  Copyright 2005-2012 Pierre-Michel Ricordel
4  Copyright 2007-2012 Thomas Fischer
5  Copyright 2013-2019 Petr Ohlidal
6 
7  For more information, see http://www.rigsofrods.org/
8 
9  Rigs of Rods is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License version 3, as
11  published by the Free Software Foundation.
12 
13  Rigs of Rods 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.
17 
18  You should have received a copy of the GNU General Public License
19  along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
25 
26 #pragma once
27 
28 namespace RoR {
29 namespace GUI {
30 
31 class GameAbout
32 {
33 public:
34  void SetVisible(bool v);
35  bool IsVisible() const { return m_is_visible; }
36 
37  void Draw();
38 
39 private:
40  bool m_is_visible = false;
41 };
42 
43 } // namespace GUI
44 } // namespace RoR
RoR::GUI::GameAbout
Definition: GUI_GameAbout.h:31
RoR::GUI::GameAbout::Draw
void Draw()
Definition: GUI_GameAbout.cpp:39
RoR::GUI::GameAbout::m_is_visible
bool m_is_visible
Definition: GUI_GameAbout.h:40
RoR::GUI::GameAbout::SetVisible
void SetVisible(bool v)
Definition: GUI_GameAbout.cpp:156
RoR::GUI::GameAbout::IsVisible
bool IsVisible() const
Definition: GUI_GameAbout.h:35
RoR
Definition: AppContext.h:36