OpenClonk
C4StartupLegalDlg.h
Go to the documentation of this file.
1 /*
2  * OpenClonk, http://www.openclonk.org
3  *
4  * Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
5  * Copyright (c) 2013-2020, The OpenClonk Team and contributors
6  *
7  * Distributed under the terms of the ISC license; see accompanying file
8  * "COPYING" for details.
9  *
10  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
11  * See accompanying file "TRADEMARK" for details.
12  *
13  * To redistribute this file separately, substitute the full license texts
14  * for the above references.
15  */
16 // Credits screen
17 
18 #ifndef INC_C4StartupLegalDlg
19 #define INC_C4StartupLegalDlg
20 
21 #include "gui/C4Startup.h"
22 
23 // startup dialog: credits
25 {
26 public:
28  ~C4StartupLegalDlg() override;
29 
30 protected:
31  bool OnEnter() override { DoBack(); return true; }
32  bool OnEscape() override { DoBack(); return true; }
33  void DrawElement(C4TargetFacet &) override {}
34  bool KeyBack() { DoBack(); return true; }
36 
37 public:
38 
39  void DoBack(); // back to main menu
40 };
41 
42 
43 #endif // INC_C4StartupLegalDlg