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