Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MenuDlg.h
Go to the documentation of this file.
1
/* Project Starshatter 4.5
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: Stars.exe
6
FILE: MenuDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Main Menu Dialog Active Window class
13
*/
14
15
#ifndef MenuDlg_h
16
#define MenuDlg_h
17
18
#include "
Types.h
"
19
#include "
FormWindow.h
"
20
#include "
Bitmap.h
"
21
#include "
Button.h
"
22
#include "
ComboBox.h
"
23
#include "
ListBox.h
"
24
#include "
Font.h
"
25
#include "
Text.h
"
26
27
// +--------------------------------------------------------------------+
28
29
class
MenuScreen
;
30
class
Campaign
;
31
class
Starshatter
;
32
33
// +--------------------------------------------------------------------+
34
35
class
MenuDlg
:
public
FormWindow
36
{
37
public
:
38
MenuDlg
(
Screen
* s,
FormDef
& def,
MenuScreen
* mgr);
39
virtual
~MenuDlg
();
40
41
virtual
void
RegisterControls
();
42
virtual
void
Show
();
43
virtual
void
ExecFrame
();
44
45
// Operations:
46
virtual
void
OnStart
(
AWEvent
*
event
);
47
virtual
void
OnCampaign
(
AWEvent
* event);
48
virtual
void
OnMission
(
AWEvent
* event);
49
virtual
void
OnPlayer
(
AWEvent
* event);
50
virtual
void
OnMultiplayer
(
AWEvent
* event);
51
virtual
void
OnMod
(
AWEvent
* event);
52
virtual
void
OnTacReference
(
AWEvent
* event);
53
54
virtual
void
OnVideo
(
AWEvent
* event);
55
virtual
void
OnOptions
(
AWEvent
* event);
56
virtual
void
OnControls
(
AWEvent
* event);
57
virtual
void
OnQuit
(
AWEvent
* event);
58
59
virtual
void
OnButtonEnter
(
AWEvent
* event);
60
virtual
void
OnButtonExit
(
AWEvent
* event);
61
62
protected
:
63
MenuScreen
*
manager
;
64
65
Button
*
btn_start
;
66
Button
*
btn_campaign
;
67
Button
*
btn_mission
;
68
Button
*
btn_player
;
69
Button
*
btn_multi
;
70
Button
*
btn_mod
;
71
Button
*
btn_tac
;
72
73
Button
*
btn_video
;
74
Button
*
btn_options
;
75
Button
*
btn_controls
;
76
Button
*
btn_quit
;
77
78
ActiveWindow
*
version
;
79
ActiveWindow
*
description
;
80
81
Starshatter
*
stars
;
82
Campaign
*
campaign
;
83
};
84
85
#endif MenuDlg_h
86
Stars45
MenuDlg.h
Generated on Tue Jun 5 2012 20:46:56 for Starshatter_Open by
1.8.1