diff options
Diffstat (limited to 'q3radiant/BSInput.cpp')
-rwxr-xr-x | q3radiant/BSInput.cpp | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/q3radiant/BSInput.cpp b/q3radiant/BSInput.cpp deleted file mode 100755 index 8d7cef5..0000000 --- a/q3radiant/BSInput.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/* -=========================================================================== -Copyright (C) 1999-2005 Id Software, Inc. - -This file is part of Quake III Arena source code. - -Quake III Arena source code is free software; you can redistribute it -and/or modify it under the terms of the GNU General Public License as -published by the Free Software Foundation; either version 2 of the License, -or (at your option) any later version. - -Quake III Arena source code 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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Foobar; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -=========================================================================== -*/ -// BSInput.cpp : implementation file
-//
-
-#include "stdafx.h"
-#include "Radiant.h"
-#include "BSInput.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// CBSInput dialog
-
-
-CBSInput::CBSInput(CWnd* pParent /*=NULL*/)
- : CDialog(CBSInput::IDD, pParent)
-{
- //{{AFX_DATA_INIT(CBSInput)
- m_fField1 = 0.0f;
- m_fField2 = 0.0f;
- m_fField3 = 0.0f;
- m_fField4 = 0.0f;
- m_fField5 = 0.0f;
- m_strField1 = _T("");
- m_strField2 = _T("");
- m_strField3 = _T("");
- m_strField4 = _T("");
- m_strField5 = _T("");
- //}}AFX_DATA_INIT
-}
-
-
-void CBSInput::DoDataExchange(CDataExchange* pDX)
-{
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CBSInput)
- DDX_Text(pDX, IDC_EDIT_FIELD1, m_fField1);
- DDX_Text(pDX, IDC_EDIT_FIELD2, m_fField2);
- DDX_Text(pDX, IDC_EDIT_FIELD3, m_fField3);
- DDX_Text(pDX, IDC_EDIT_FIELD4, m_fField4);
- DDX_Text(pDX, IDC_EDIT_FIELD5, m_fField5);
- DDX_Text(pDX, IDC_STATIC_FIELD1, m_strField1);
- DDX_Text(pDX, IDC_STATIC_FIELD2, m_strField2);
- DDX_Text(pDX, IDC_STATIC_FIELD3, m_strField3);
- DDX_Text(pDX, IDC_STATIC_FIELD4, m_strField4);
- DDX_Text(pDX, IDC_STATIC_FIELD5, m_strField5);
- //}}AFX_DATA_MAP
-}
-
-
-BEGIN_MESSAGE_MAP(CBSInput, CDialog)
- //{{AFX_MSG_MAP(CBSInput)
- //}}AFX_MSG_MAP
-END_MESSAGE_MAP()
-
-/////////////////////////////////////////////////////////////////////////////
-// CBSInput message handlers
-
-BOOL CBSInput::OnInitDialog()
-{
- CDialog::OnInitDialog();
-
- if (m_strField1.GetLength() == 0)
- {
- GetDlgItem(IDC_EDIT_FIELD1)->ShowWindow(SW_HIDE);
- GetDlgItem(IDC_STATIC_FIELD1)->ShowWindow(SW_HIDE);
- }
- if (m_strField2.GetLength() == 0)
- {
- GetDlgItem(IDC_EDIT_FIELD2)->ShowWindow(SW_HIDE);
- GetDlgItem(IDC_STATIC_FIELD2)->ShowWindow(SW_HIDE);
- }
- if (m_strField3.GetLength() == 0)
- {
- GetDlgItem(IDC_EDIT_FIELD3)->ShowWindow(SW_HIDE);
- GetDlgItem(IDC_STATIC_FIELD3)->ShowWindow(SW_HIDE);
- }
- if (m_strField4.GetLength() == 0)
- {
- GetDlgItem(IDC_EDIT_FIELD4)->ShowWindow(SW_HIDE);
- GetDlgItem(IDC_STATIC_FIELD4)->ShowWindow(SW_HIDE);
- }
- if (m_strField5.GetLength() == 0)
- {
- GetDlgItem(IDC_EDIT_FIELD5)->ShowWindow(SW_HIDE);
- GetDlgItem(IDC_STATIC_FIELD5)->ShowWindow(SW_HIDE);
- }
-
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
-}
|