FS2_Open
Open source remastering of the Freespace 2 engine
operatorargtypeselect.cpp
Go to the documentation of this file.
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 the
6  * source.
7  *
8 */
9 
10 
11 
12 #include "stdafx.h"
13 #include "FRED.h"
14 #include "OperatorArgTypeSelect.h"
15 
16 #ifdef _DEBUG
17 #undef THIS_FILE
18 static char THIS_FILE[] = __FILE__;
19 #endif
20 
22 // OperatorArgTypeSelect dialog
23 
24 
26  : CDialog(OperatorArgTypeSelect::IDD, pParent)
27 {
28  //{{AFX_DATA_INIT(OperatorArgTypeSelect)
29  // NOTE: the ClassWizard will add member initialization here
30  //}}AFX_DATA_INIT
31 }
32 
33 
34 void OperatorArgTypeSelect::DoDataExchange(CDataExchange* pDX)
35 {
36  CDialog::DoDataExchange(pDX);
37  //{{AFX_DATA_MAP(OperatorArgTypeSelect)
38  // NOTE: the ClassWizard will add DDX and DDV calls here
39  //}}AFX_DATA_MAP
40 }
41 
42 
43 BEGIN_MESSAGE_MAP(OperatorArgTypeSelect, CDialog)
44  //{{AFX_MSG_MAP(OperatorArgTypeSelect)
45  ON_BN_CLICKED(ID_BOOLEAN, OnBoolean)
46  ON_BN_CLICKED(ID_NUMBERS, OnNumbers)
47  ON_BN_CLICKED(ID_SHIPS, OnShips)
48  ON_BN_CLICKED(ID_WINGS, OnWings)
49  //}}AFX_MSG_MAP
50 END_MESSAGE_MAP()
51 
53 // OperatorArgTypeSelect message handlers
54 
55 void OperatorArgTypeSelect::OnBoolean()
56 {
57  EndDialog(ID_BOOLEAN);
58 }
59 
61 {
62  EndDialog(ID_NUMBERS);
63 }
64 
66 {
67  EndDialog(ID_SHIPS);
68 }
69 
71 {
72  EndDialog(ID_WINGS);
73 }
#define ID_BOOLEAN
Definition: resource.h:559
OperatorArgTypeSelect(CWnd *pParent=NULL)
#define ID_NUMBERS
Definition: resource.h:626
#define ID_SHIPS
Definition: resource.h:627
#define ID_WINGS
Definition: resource.h:628
virtual void DoDataExchange(CDataExchange *pDX)