2 * $Logfile: /Freespace2/code/FRED2/OperatorArgTypeSelect.cpp $
7 * Dialog box handling code for selecting an argument return type of an SEXP.
8 * Changes to SEXPs made this no longer needed, but just in case more changes
9 * cause it to be needed again, it's still around.
12 * Revision 1.1 2002/05/03 03:28:09 root
16 * 2 10/07/98 6:28p Dave
17 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
18 * Fred. Globalized mission and campaign file extensions. Removed Silent
19 * Threat specific code.
21 * 1 10/07/98 3:01p Dave
23 * 1 10/07/98 3:00p Dave
25 * 3 2/17/97 5:28p Hoffoss
26 * Checked RCS headers, added them were missing, changing description to
27 * something better, etc where needed.
34 #include "operatorargtypeselect.h"
39 static char THIS_FILE[] = __FILE__;
42 /////////////////////////////////////////////////////////////////////////////
43 // OperatorArgTypeSelect dialog
46 OperatorArgTypeSelect::OperatorArgTypeSelect(CWnd* pParent /*=NULL*/)
47 : CDialog(OperatorArgTypeSelect::IDD, pParent)
49 //{{AFX_DATA_INIT(OperatorArgTypeSelect)
50 // NOTE: the ClassWizard will add member initialization here
55 void OperatorArgTypeSelect::DoDataExchange(CDataExchange* pDX)
57 CDialog::DoDataExchange(pDX);
58 //{{AFX_DATA_MAP(OperatorArgTypeSelect)
59 // NOTE: the ClassWizard will add DDX and DDV calls here
64 BEGIN_MESSAGE_MAP(OperatorArgTypeSelect, CDialog)
65 //{{AFX_MSG_MAP(OperatorArgTypeSelect)
66 ON_BN_CLICKED(ID_BOOLEAN, OnBoolean)
67 ON_BN_CLICKED(ID_NUMBERS, OnNumbers)
68 ON_BN_CLICKED(ID_SHIPS, OnShips)
69 ON_BN_CLICKED(ID_WINGS, OnWings)
73 /////////////////////////////////////////////////////////////////////////////
74 // OperatorArgTypeSelect message handlers
76 void OperatorArgTypeSelect::OnBoolean()
78 EndDialog(ID_BOOLEAN);
81 void OperatorArgTypeSelect::OnNumbers()
83 EndDialog(ID_NUMBERS);
86 void OperatorArgTypeSelect::OnShips()
91 void OperatorArgTypeSelect::OnWings()