2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
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
10 * $Logfile: /Freespace2/code/FRED2/OperatorArgTypeSelect.cpp $
15 * Dialog box handling code for selecting an argument return type of an SEXP.
16 * Changes to SEXPs made this no longer needed, but just in case more changes
17 * cause it to be needed again, it's still around.
20 * Revision 1.3 2002/06/09 04:41:16 relnev
21 * added copyright header
23 * Revision 1.2 2002/05/07 03:16:44 theoddone33
24 * The Great Newline Fix
26 * Revision 1.1.1.1 2002/05/03 03:28:09 root
30 * 2 10/07/98 6:28p Dave
31 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
32 * Fred. Globalized mission and campaign file extensions. Removed Silent
33 * Threat specific code.
35 * 1 10/07/98 3:01p Dave
37 * 1 10/07/98 3:00p Dave
39 * 3 2/17/97 5:28p Hoffoss
40 * Checked RCS headers, added them were missing, changing description to
41 * something better, etc where needed.
48 #include "operatorargtypeselect.h"
53 static char THIS_FILE[] = __FILE__;
56 /////////////////////////////////////////////////////////////////////////////
57 // OperatorArgTypeSelect dialog
60 OperatorArgTypeSelect::OperatorArgTypeSelect(CWnd* pParent /*=NULL*/)
61 : CDialog(OperatorArgTypeSelect::IDD, pParent)
63 //{{AFX_DATA_INIT(OperatorArgTypeSelect)
64 // NOTE: the ClassWizard will add member initialization here
69 void OperatorArgTypeSelect::DoDataExchange(CDataExchange* pDX)
71 CDialog::DoDataExchange(pDX);
72 //{{AFX_DATA_MAP(OperatorArgTypeSelect)
73 // NOTE: the ClassWizard will add DDX and DDV calls here
78 BEGIN_MESSAGE_MAP(OperatorArgTypeSelect, CDialog)
79 //{{AFX_MSG_MAP(OperatorArgTypeSelect)
80 ON_BN_CLICKED(ID_BOOLEAN, OnBoolean)
81 ON_BN_CLICKED(ID_NUMBERS, OnNumbers)
82 ON_BN_CLICKED(ID_SHIPS, OnShips)
83 ON_BN_CLICKED(ID_WINGS, OnWings)
87 /////////////////////////////////////////////////////////////////////////////
88 // OperatorArgTypeSelect message handlers
90 void OperatorArgTypeSelect::OnBoolean()
92 EndDialog(ID_BOOLEAN);
95 void OperatorArgTypeSelect::OnNumbers()
97 EndDialog(ID_NUMBERS);
100 void OperatorArgTypeSelect::OnShips()
105 void OperatorArgTypeSelect::OnWings()