2 * $Logfile: /Freespace2/code/FRED2/OrientEditor.h $
7 * Object orientation editor (or just object editor) dialog box handling code
10 * Revision 1.1 2002/05/03 03:28:12 root
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.
19 * 1 10/07/98 3:01p Dave
21 * 1 10/07/98 3:00p Dave
23 * 8 5/20/97 2:28p Hoffoss
24 * Added message box queries for close window operation on all modal
27 * 7 4/17/97 2:01p Hoffoss
28 * All dialog box window states are saved between sessions now.
30 * 6 3/12/97 4:33p Hoffoss
31 * added spin controls to orient editor, light intensity level can be
32 * specified in BG editor.
34 * 5 2/21/97 5:34p Hoffoss
35 * Added extensive modification detection and fixed a bug in initial
38 * 4 2/17/97 5:28p Hoffoss
39 * Checked RCS headers, added them were missing, changing description to
40 * something better, etc where needed.
47 /////////////////////////////////////////////////////////////////////////////
48 // orient_editor dialog
50 class orient_editor : public CDialog
57 orient_editor(CWnd* pParent = NULL); // standard constructor
60 //{{AFX_DATA(orient_editor)
61 enum { IDD = IDD_ORIENT_EDITOR };
62 CSpinButtonCtrl m_spin6;
63 CSpinButtonCtrl m_spin5;
64 CSpinButtonCtrl m_spin4;
65 CSpinButtonCtrl m_spin3;
66 CSpinButtonCtrl m_spin2;
67 CSpinButtonCtrl m_spin1;
79 // ClassWizard generated virtual function overrides
80 //{{AFX_VIRTUAL(orient_editor)
82 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
88 // Generated message map functions
89 //{{AFX_MSG(orient_editor)
90 virtual BOOL OnInitDialog();
91 afx_msg void OnClose();
95 float convert(CString &str);
97 int index[MAX_OBJECTS];
98 void update_object(object *ptr);