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
24
class
C4StartupLegalDlg
:
public
C4StartupDlg
25
{
26
public
:
27
C4StartupLegalDlg
();
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
; }
35
void
OnBackBtn
(
C4GUI::Control
*) {
DoBack
(); }
36
37
public
:
38
39
void
DoBack
();
// back to main menu
40
};
41
42
43
#endif
// INC_C4StartupLegalDlg
C4Startup.h
C4GUI::Control
Definition:
C4Gui.h:1047
C4StartupDlg
Definition:
C4Startup.h:96
C4StartupLegalDlg
Definition:
C4StartupLegalDlg.h:25
C4StartupLegalDlg::~C4StartupLegalDlg
~C4StartupLegalDlg() override
C4StartupLegalDlg::OnEnter
bool OnEnter() override
Definition:
C4StartupLegalDlg.h:31
C4StartupLegalDlg::OnBackBtn
void OnBackBtn(C4GUI::Control *)
Definition:
C4StartupLegalDlg.h:35
C4StartupLegalDlg::KeyBack
bool KeyBack()
Definition:
C4StartupLegalDlg.h:34
C4StartupLegalDlg::DrawElement
void DrawElement(C4TargetFacet &) override
Definition:
C4StartupLegalDlg.h:33
C4StartupLegalDlg::C4StartupLegalDlg
C4StartupLegalDlg()
Definition:
C4StartupLegalDlg.cpp:33
C4StartupLegalDlg::OnEscape
bool OnEscape() override
Definition:
C4StartupLegalDlg.h:32
C4StartupLegalDlg::DoBack
void DoBack()
Definition:
C4StartupLegalDlg.cpp:64
C4TargetFacet
Definition:
C4Facet.h:160
openclonk
src
gui
C4StartupLegalDlg.h
Generated on Fri May 16 2025 04:33:17 for OpenClonk by
1.9.1