* Remove unused window CInfoDialog or IDD_DEBUGINFO

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2360 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2007-08-08 19:37:17 +00:00
parent b95b607976
commit 9d148e7f8b
4 changed files with 0 additions and 170 deletions

View File

@ -342,10 +342,6 @@ SOURCE=.\heightmap.h
# End Source File
# Begin Source File
SOURCE=.\infodialog.h
# End Source File
# Begin Source File
SOURCE=.\initiallimitsdlg.hpp
# End Source File
# Begin Source File

View File

@ -1081,18 +1081,6 @@ BEGIN
WS_VSCROLL | WS_HSCROLL
END
IDD_DEBUGINFO DIALOGEX 0, 0, 466, 295
STYLE WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_TOOLWINDOW
CAPTION "Output"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,261,19,50,14
PUSHBUTTON "Cancel",IDCANCEL,330,19,50,14
EDITTEXT IDC_DEBUGINFO,16,13,219,265,ES_MULTILINE |
ES_AUTOVSCROLL | ES_READONLY
END
IDD_PASTEPREFS DIALOG DISCARDABLE 0, 0, 186, 95
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Paste Preferences"

View File

@ -1,88 +0,0 @@
/*
This file is part of Warzone 2100.
Copyright (C) 1999-2004 Eidos Interactive
Copyright (C) 2005-2007 Warzone Resurrection Project
Warzone 2100 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.
Warzone 2100 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 Warzone 2100; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
$Revision$
$Id$
$HeadURL$
*/
// InfoDialog.cpp : implementation file
//
#include "stdafx.h"
#include "btedit.h"
#include "infodialog.h"
/////////////////////////////////////////////////////////////////////////////
// CInfoDialog dialog
CInfoDialog::CInfoDialog(CWnd* pParent /*=NULL*/)
: CDialog(CInfoDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CInfoDialog)
m_Info = _T("");
//}}AFX_DATA_INIT
m_pView = NULL;
}
CInfoDialog::CInfoDialog(CView *pView)
{
m_pView = pView;
}
BOOL CInfoDialog::Create(void)
{
return CDialog::Create(CInfoDialog::IDD); //_DEBUGINFO);
}
void CInfoDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CInfoDialog)
DDX_Text(pDX, IDC_DEBUGINFO, m_Info);
DDV_MaxChars(pDX, m_Info, 65535);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CInfoDialog, CDialog)
//{{AFX_MSG_MAP(CInfoDialog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInfoDialog message handlers
void CInfoDialog::OnCancel()
{
if(m_pView != NULL) {
m_pView->PostMessage(WM_GOODBYE, IDCANCEL);
}
}
void CInfoDialog::OnOK()
{
UpdateData(TRUE);
if(m_pView != NULL) {
m_pView->PostMessage(WM_GOODBYE, IDOK);
}
}

View File

@ -1,66 +0,0 @@
/*
This file is part of Warzone 2100.
Copyright (C) 1999-2004 Eidos Interactive
Copyright (C) 2005-2007 Warzone Resurrection Project
Warzone 2100 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.
Warzone 2100 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 Warzone 2100; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
$Revision$
$Id$
$HeadURL$
*/
// InfoDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CInfoDialog dialog
#define WM_GOODBYE (WM_USER+5)
class CInfoDialog : public CDialog
{
private:
CView *m_pView;
// Construction
public:
CInfoDialog(CWnd* pParent = NULL); // standard constructor
CInfoDialog(CView *pView);
BOOL Create(void);
// Dialog Data
//{{AFX_DATA(CInfoDialog)
enum { IDD = IDD_DEBUGINFO };
CString m_Info;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInfoDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CInfoDialog)
virtual void OnCancel();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};