]> icculus.org git repositories - taylor/freespace2.git/blob - include/starfieldeditor.h
Initial revision
[taylor/freespace2.git] / include / starfieldeditor.h
1 /*
2  * $Logfile: /Freespace2/code/FRED2/StarfieldEditor.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Starfield editor dialog handling code
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 6:28p Dave
15  * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
16  * Fred. Globalized mission and campaign file extensions. Removed Silent
17  * Threat specific code.
18  * 
19  * 1     10/07/98 3:01p Dave
20  * 
21  * 1     10/07/98 3:00p Dave
22  * 
23  * 7     4/17/97 2:01p Hoffoss
24  * All dialog box window states are saved between sessions now.
25  * 
26  * 6     4/16/97 5:18p Hoffoss
27  * Moved Asteroid field editor stuff to a seperate dialog box.
28  * 
29  * 5     3/17/97 3:00p Hoffoss
30  * slider updates on the fly now.
31  * 
32  * 4     2/17/97 5:28p Hoffoss
33  * Checked RCS headers, added them were missing, changing description to
34  * something better, etc where needed.
35  * 
36  * 3     1/31/97 3:16p Hoffoss
37  * Asteroid field management implemented.
38  *
39  * $NoKeywords: $
40  */
41
42 /////////////////////////////////////////////////////////////////////////////
43 // starfield_editor dialog
44
45 class starfield_editor : public CDialog
46 {
47 // Construction
48 public:
49         void OnOK();
50         void OnCancel();
51         starfield_editor(CWnd* pParent = NULL);   // standard constructor
52
53 // Dialog Data
54         //{{AFX_DATA(starfield_editor)
55         enum { IDD = IDD_STARFIELD };
56         CSliderCtrl                     m_slider;
57         //}}AFX_DATA
58
59
60 // Overrides
61         // ClassWizard generated virtual function overrides
62         //{{AFX_VIRTUAL(starfield_editor)
63         protected:
64         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
65         //}}AFX_VIRTUAL
66
67 // Implementation
68 protected:
69
70         int initialized;
71
72         // Generated message map functions
73         //{{AFX_MSG(starfield_editor)
74         virtual BOOL OnInitDialog();
75         afx_msg void OnEnableAsteroids();
76         afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
77         //}}AFX_MSG
78         DECLARE_MESSAGE_MAP()
79 };
80