]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/dialogs/brushcheckdialog.cpp
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / contrib / bobtoolz / dialogs / brushcheckdialog.cpp
index 06fe6c9bce3b23592b914a814e1de74c12e63bac..948575d50ffa9a47c471b32f36024d3d7a450d29 100644 (file)
@@ -1,21 +1,21 @@
 /*
-BobToolz plugin for GtkRadiant
-Copyright (C) 2001 Gordon Biggans
+   BobToolz plugin for GtkRadiant
+   Copyright (C) 2001 Gordon Biggans
 
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
 
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Lesser General Public License for more details.
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
 
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 // BrushCheckDialog.cpp : implementation file
 //
@@ -24,37 +24,33 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #include "../bobtoolz.h"
 #include "BrushCheckDialog.h"
 
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
-#endif
-
 /////////////////////////////////////////////////////////////////////////////
 // CBrushCheckDialog dialog
 
 
-CBrushCheckDialog::CBrushCheckDialog(CWnd* pParent /*=NULL*/)
-       : CDialog(CBrushCheckDialog::IDD, pParent)
+CBrushCheckDialog::CBrushCheckDialog(CWnd *pParent /*=NULL*/ )
+        : CDialog(CBrushCheckDialog::IDD, pParent)
 {
-       //{{AFX_DATA_INIT(CBrushCheckDialog)
-       //}}AFX_DATA_INIT
+    //{{AFX_DATA_INIT(CBrushCheckDialog)
+    //}}AFX_DATA_INIT
 }
 
 
-void CBrushCheckDialog::DoDataExchange(CDataExchangepDX)
+void CBrushCheckDialog::DoDataExchange(CDataExchange *pDX)
 {
-       CDialog::DoDataExchange(pDX);
-       //{{AFX_DATA_MAP(CBrushCheckDialog)
-       DDX_Control(pDX, IDC_PROGRESS1, m_prog1);
-       //}}AFX_DATA_MAP
+    CDialog::DoDataExchange(pDX);
+    //{{AFX_DATA_MAP(CBrushCheckDialog)
+    DDX_Control(pDX, IDC_PROGRESS1, m_prog1);
+    //}}AFX_DATA_MAP
 }
 
 
-BEGIN_MESSAGE_MAP(CBrushCheckDialog, CDialog)
-       //{{AFX_MSG_MAP(CBrushCheckDialog)
-               // NOTE: the ClassWizard will add message map macros here
-       //}}AFX_MSG_MAP
+BEGIN_MESSAGE_MAP( CBrushCheckDialog, CDialog
+)
+
+//{{AFX_MSG_MAP(CBrushCheckDialog)
+// NOTE: the ClassWizard will add message map macros here
+//}}AFX_MSG_MAP
 END_MESSAGE_MAP()
 
 /////////////////////////////////////////////////////////////////////////////