]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/dialogs/AutoCaulkStartDialog.cpp
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / contrib / bobtoolz / dialogs / AutoCaulkStartDialog.cpp
index 3eca76f8665bce47e8b2e66b2bd42ac62ae3d5cc..ac7b85d342edcd87f2454d46d8eae0638c408329 100644 (file)
@@ -1,66 +1,62 @@
-/*\r
-BobToolz plugin for GtkRadiant\r
-Copyright (C) 2001 Gordon Biggans\r
-\r
-This library is free software; you can redistribute it and/or\r
-modify it under the terms of the GNU Lesser General Public\r
-License as published by the Free Software Foundation; either\r
-version 2.1 of the License, or (at your option) any later version.\r
-\r
-This library is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
-Lesser General Public License for more details.\r
-\r
-You should have received a copy of the GNU Lesser General Public\r
-License along with this library; if not, write to the Free Software\r
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
-*/\r
-\r
-// AutoCaulkStartDialog.cpp : implementation file\r
-//\r
-\r
-#include "../StdAfx.h"\r
-#include "../bobtoolz.h"\r
-#include "AutoCaulkStartDialog.h"\r
-\r
-#ifdef _DEBUG\r
-#define new DEBUG_NEW\r
-#undef THIS_FILE\r
-static char THIS_FILE[] = __FILE__;\r
-#endif\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CAutoCaulkStartDialog dialog\r
-\r
-\r
-CAutoCaulkStartDialog::CAutoCaulkStartDialog(CWnd* pParent /*=NULL*/)\r
-       : CDialog(CAutoCaulkStartDialog::IDD, pParent)\r
-{\r
-       //{{AFX_DATA_INIT(CAutoCaulkStartDialog)\r
-       m_bAllowDestruction = FALSE;\r
-       m_Warning1 = _T("");\r
-       m_nMode = 0;\r
-       //}}AFX_DATA_INIT\r
-}\r
-\r
-\r
-void CAutoCaulkStartDialog::DoDataExchange(CDataExchange* pDX)\r
-{\r
-       CDialog::DoDataExchange(pDX);\r
-       //{{AFX_DATA_MAP(CAutoCaulkStartDialog)\r
-       DDX_Check(pDX, IDC_KILLBRUSHES_CHECK, m_bAllowDestruction);\r
-       DDX_Text(pDX, IDC_WARNING1_STATIC, m_Warning1);\r
-       DDX_Radio(pDX, IDC_AC_NORMAL_RADIO, m_nMode);\r
-       //}}AFX_DATA_MAP\r
-}\r
-\r
-\r
-BEGIN_MESSAGE_MAP(CAutoCaulkStartDialog, CDialog)\r
-       //{{AFX_MSG_MAP(CAutoCaulkStartDialog)\r
-               // NOTE: the ClassWizard will add message map macros here\r
-       //}}AFX_MSG_MAP\r
-END_MESSAGE_MAP()\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CAutoCaulkStartDialog message handlers\r
+/*
+   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 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
+ */
+
+// AutoCaulkStartDialog.cpp : implementation file
+//
+
+#include "../StdAfx.h"
+#include "../bobtoolz.h"
+#include "AutoCaulkStartDialog.h"
+
+/////////////////////////////////////////////////////////////////////////////
+// CAutoCaulkStartDialog dialog
+
+
+CAutoCaulkStartDialog::CAutoCaulkStartDialog(CWnd *pParent /*=NULL*/ )
+        : CDialog(CAutoCaulkStartDialog::IDD, pParent)
+{
+    //{{AFX_DATA_INIT(CAutoCaulkStartDialog)
+    m_bAllowDestruction = FALSE;
+    m_Warning1 = _T("");
+    m_nMode = 0;
+    //}}AFX_DATA_INIT
+}
+
+
+void CAutoCaulkStartDialog::DoDataExchange(CDataExchange *pDX)
+{
+    CDialog::DoDataExchange(pDX);
+    //{{AFX_DATA_MAP(CAutoCaulkStartDialog)
+    DDX_Check(pDX, IDC_KILLBRUSHES_CHECK, m_bAllowDestruction);
+    DDX_Text(pDX, IDC_WARNING1_STATIC, m_Warning1);
+    DDX_Radio(pDX, IDC_AC_NORMAL_RADIO, m_nMode);
+    //}}AFX_DATA_MAP
+}
+
+
+BEGIN_MESSAGE_MAP( CAutoCaulkStartDialog, CDialog
+)
+
+//{{AFX_MSG_MAP(CAutoCaulkStartDialog)
+// NOTE: the ClassWizard will add message map macros here
+//}}AFX_MSG_MAP
+END_MESSAGE_MAP()
+
+/////////////////////////////////////////////////////////////////////////////
+// CAutoCaulkStartDialog message handlers