Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MsnSelectDlg.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: MsnSelectDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Mission Select Dialog Active Window class
13
*/
14
15
#ifndef MsnSelectDlg_h
16
#define MsnSelectDlg_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
MsnSelectDlg
:
public
FormWindow
36
{
37
public
:
38
MsnSelectDlg
(
Screen
* s,
FormDef
& def,
MenuScreen
* mgr);
39
virtual
~MsnSelectDlg
();
40
41
virtual
void
RegisterControls
();
42
virtual
void
Show
();
43
virtual
void
ExecFrame
();
44
45
// Operations:
46
virtual
void
OnCampaignSelect
(
AWEvent
*
event
);
47
virtual
void
OnMissionSelect
(
AWEvent
* event);
48
49
virtual
void
OnMod
(
AWEvent
* event);
50
virtual
void
OnNew
(
AWEvent
* event);
51
virtual
void
OnEdit
(
AWEvent
* event);
52
virtual
void
OnDel
(
AWEvent
* event);
53
virtual
void
OnDelConfirm
(
AWEvent
* event);
54
virtual
void
OnAccept
(
AWEvent
* event);
55
virtual
void
OnCancel
(
AWEvent
* event);
56
57
protected
:
58
MenuScreen
*
manager
;
59
60
Button
*
btn_mod
;
61
Button
*
btn_new
;
62
Button
*
btn_edit
;
63
Button
*
btn_del
;
64
Button
*
btn_accept
;
65
Button
*
btn_cancel
;
66
67
ComboBox
*
cmb_campaigns
;
68
ListBox
*
lst_campaigns
;
69
ListBox
*
lst_missions
;
70
71
ActiveWindow
*
description
;
72
73
Starshatter
*
stars
;
74
Campaign
*
campaign
;
75
int
selected_mission
;
76
int
mission_id
;
77
bool
editable
;
78
};
79
80
#endif MsnSelectDlg_h
81
Stars45
MsnSelectDlg.h
Generated on Tue Jun 5 2012 20:47:00 for Starshatter_Open by
1.8.1