Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
KeyDlg.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: KeyDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Navigation Active Window class
13
*/
14
15
#ifndef KeyDlg_h
16
#define KeyDlg_h
17
18
#include "
Types.h
"
19
#include "
FormWindow.h
"
20
21
// +--------------------------------------------------------------------+
22
23
class
BaseScreen
;
24
25
// +--------------------------------------------------------------------+
26
27
class
KeyDlg
:
public
FormWindow
28
{
29
public
:
30
KeyDlg
(
Screen
* s,
FormDef
& def,
BaseScreen
* mgr);
31
virtual
~KeyDlg
();
32
33
virtual
void
RegisterControls
();
34
virtual
void
Show
();
35
36
// Operations:
37
virtual
void
ExecFrame
();
38
39
virtual
void
OnApply
(
AWEvent
*
event
);
40
virtual
void
OnCancel
(
AWEvent
* event);
41
virtual
void
OnClear
(
AWEvent
* event);
42
43
int
GetKeyMapIndex
()
const
{
return
key_index
; }
44
void
SetKeyMapIndex
(
int
i);
45
46
protected
:
47
BaseScreen
*
manager
;
48
49
int
key_index
;
50
int
key_key
;
51
int
key_shift
;
52
int
key_joy
;
53
int
key_clear
;
54
55
Button
*
clear
;
56
Button
*
apply
;
57
Button
*
cancel
;
58
59
ActiveWindow
*
command
;
60
ActiveWindow
*
current_key
;
61
ActiveWindow
*
new_key
;
62
};
63
64
#endif KeyDlg_h
65
Stars45
KeyDlg.h
Generated on Tue Jun 5 2012 20:46:55 for Starshatter_Open by
1.8.1