]> git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/bobtoolz/dialogs/IntersectDialog.cpp
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / contrib / bobtoolz / dialogs / IntersectDialog.cpp
1 /*
2    BobToolz plugin for GtkRadiant
3    Copyright (C) 2001 Gordon Biggans
4
5    This library is free software; you can redistribute it and/or
6    modify it under the terms of the GNU Lesser General Public
7    License as published by the Free Software Foundation; either
8    version 2.1 of the License, or (at your option) any later version.
9
10    This library is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    Lesser General Public License for more details.
14
15    You should have received a copy of the GNU Lesser General Public
16    License along with this library; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 // IntersectDialog.cpp : implementation file
21 //
22
23 #include "../StdAfx.h"
24 #include "IntersectDialog.h"
25
26 /////////////////////////////////////////////////////////////////////////////
27 // CIntersectDialog dialog
28
29
30 CIntersectDialog::CIntersectDialog(CWnd *pParent /*=NULL*/ )
31         : CDialog(CIntersectDialog::IDD, pParent)
32 {
33     //{{AFX_DATA_INIT(CIntersectDialog)
34     m_nBrushOptions = 1;
35     m_bUseDetail = FALSE;
36     m_bDuplicateOnly = FALSE;
37     //}}AFX_DATA_INIT
38 }
39
40
41 void CIntersectDialog::DoDataExchange(CDataExchange *pDX)
42 {
43     CDialog::DoDataExchange(pDX);
44     //{{AFX_DATA_MAP(CIntersectDialog)
45     DDX_Radio(pDX, IDC_WHOLEMAP_RADIO, m_nBrushOptions);
46     DDX_Check(pDX, IDC_DETAIL_INCLUDE_CHECK, m_bUseDetail);
47     DDX_Check(pDX, IDC_DUPLICATEONLY_CHECK, m_bDuplicateOnly);
48     //}}AFX_DATA_MAP
49 }
50
51
52 BEGIN_MESSAGE_MAP( CIntersectDialog, CDialog
53 )
54
55 //{{AFX_MSG_MAP(CIntersectDialog)
56 // NOTE: the ClassWizard will add message map macros here
57 //}}AFX_MSG_MAP
58 END_MESSAGE_MAP()
59
60 /////////////////////////////////////////////////////////////////////////////
61 // CIntersectDialog message handlers