OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4StartupAboutDlg.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-2016, 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_C4StartupAboutDlg
19 #define INC_C4StartupAboutDlg
20 
21 #include "gui/C4Startup.h"
22 
23 // startup dialog: credits
25 {
26 public:
28  ~C4StartupAboutDlg() override;
29 
30 protected:
31  bool OnEnter() override { DoBack(); return true; }
32  bool OnEscape() override { DoBack(); return true; }
33  void DrawElement(C4TargetFacet &cgo) override;
34  bool KeyBack() { DoBack(); return true; }
35  void OnBackBtn(C4GUI::Control *btn) { DoBack(); }
36 #ifdef WITH_AUTOMATIC_UPDATE
37  void OnUpdateBtn(C4GUI::Control *btn);
38 #endif
39 
40 public:
41 
42  void DoBack(); // back to main menu
43 };
44 
45 
46 #endif // INC_C4StartupAboutDlg
~C4StartupAboutDlg() override
bool OnEscape() override
bool OnEnter() override
void DrawElement(C4TargetFacet &cgo) override
void OnBackBtn(C4GUI::Control *btn)