Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ConfirmDlg.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: ConfirmDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
General-purpose confirmation dialog class
13
*/
14
15
#ifndef ConfirmDlg_h
16
#define ConfirmDlg_h
17
18
#include "
Types.h
"
19
#include "
FormWindow.h
"
20
21
// +--------------------------------------------------------------------+
22
23
class
MenuScreen
;
24
25
// +--------------------------------------------------------------------+
26
27
class
ConfirmDlg
:
public
FormWindow
28
{
29
public
:
30
ConfirmDlg
(
Screen
* s,
FormDef
& def,
MenuScreen
* mgr);
31
virtual
~ConfirmDlg
();
32
33
virtual
void
RegisterControls
();
34
virtual
void
Show
();
35
36
ActiveWindow
*
GetParentControl
();
37
void
SetParentControl
(
ActiveWindow
* p);
38
39
Text
GetTitle
();
40
void
SetTitle
(
const
char
* t);
41
42
Text
GetMessage
();
43
void
SetMessage
(
const
char
* m);
44
45
// Operations:
46
virtual
void
ExecFrame
();
47
48
virtual
void
OnApply
(
AWEvent
*
event
);
49
virtual
void
OnCancel
(
AWEvent
* event);
50
51
protected
:
52
MenuScreen
*
manager
;
53
54
ActiveWindow
*
lbl_title
;
55
ActiveWindow
*
lbl_message
;
56
57
Button
*
btn_apply
;
58
Button
*
btn_cancel
;
59
60
ActiveWindow
*
parent_control
;
61
};
62
63
#endif ConfirmDlg_h
64
Stars45
ConfirmDlg.h
Generated on Tue Jun 5 2012 20:46:50 for Starshatter_Open by
1.8.1