Delete about dialog from DSP_HLE plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1262 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0c8cb3683d
commit
cf2c225b88
|
@ -704,18 +704,6 @@
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
|
||||||
Name="AboutDialog"
|
|
||||||
>
|
|
||||||
<File
|
|
||||||
RelativePath=".\Src\AboutDlg.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\Src\AboutDlg.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
</Filter>
|
|
||||||
<Filter
|
<Filter
|
||||||
Name="ConfigDialog"
|
Name="ConfigDialog"
|
||||||
>
|
>
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
// Copyright (C) 2003-2008 Dolphin Project.
|
|
||||||
|
|
||||||
// This program 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, version 2.0.
|
|
||||||
|
|
||||||
// This program 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 2.0 for more details.
|
|
||||||
|
|
||||||
// A copy of the GPL 2.0 should have been included with the program.
|
|
||||||
// If not, see http://www.gnu.org/licenses/
|
|
||||||
|
|
||||||
// Official SVN repository and contact information can be found at
|
|
||||||
// http://code.google.com/p/dolphin-emu/
|
|
||||||
|
|
||||||
#include "resource.h"
|
|
||||||
|
|
||||||
#include "AboutDlg.h"
|
|
||||||
|
|
||||||
LRESULT
|
|
||||||
CAboutDlg::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
|
|
||||||
{
|
|
||||||
CenterWindow(GetParent());
|
|
||||||
return(TRUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
LRESULT
|
|
||||||
CAboutDlg::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
|
|
||||||
{
|
|
||||||
EndDialog(wID);
|
|
||||||
return(0);
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
// Copyright (C) 2003-2008 Dolphin Project.
|
|
||||||
|
|
||||||
// This program 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, version 2.0.
|
|
||||||
|
|
||||||
// This program 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 2.0 for more details.
|
|
||||||
|
|
||||||
// A copy of the GPL 2.0 should have been included with the program.
|
|
||||||
// If not, see http://www.gnu.org/licenses/
|
|
||||||
|
|
||||||
// Official SVN repository and contact information can be found at
|
|
||||||
// http://code.google.com/p/dolphin-emu/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
class CAboutDlg
|
|
||||||
: public CDialogImpl<CAboutDlg>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
enum { IDD = IDD_ABOUT };
|
|
||||||
|
|
||||||
BEGIN_MSG_MAP(CAboutDlg)
|
|
||||||
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
|
|
||||||
COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
|
|
||||||
COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
|
|
||||||
END_MSG_MAP()
|
|
||||||
|
|
||||||
// Handler prototypes (uncomment arguments if needed):
|
|
||||||
// LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
|
|
||||||
// LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
|
|
||||||
// LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/)
|
|
||||||
|
|
||||||
LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL & /*bHandled*/);
|
|
||||||
|
|
||||||
LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL & /*bHandled*/);
|
|
||||||
};
|
|
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "PCHW/DSoundStream.h"
|
#include "PCHW/DSoundStream.h"
|
||||||
#include "AboutDlg.h"
|
|
||||||
#include "ConfigDlg.h"
|
#include "ConfigDlg.h"
|
||||||
#else
|
#else
|
||||||
#include "PCHW/AOSoundStream.h"
|
#include "PCHW/AOSoundStream.h"
|
||||||
|
@ -186,10 +185,6 @@ void GetDllInfo(PLUGIN_INFO* _PluginInfo)
|
||||||
|
|
||||||
void DllAbout(HWND _hParent)
|
void DllAbout(HWND _hParent)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
|
||||||
CAboutDlg aboutDlg;
|
|
||||||
aboutDlg.DoModal(_hParent);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DllConfig(HWND _hParent)
|
void DllConfig(HWND _hParent)
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
//
|
//
|
||||||
#define IDD_SETTINGS 101
|
#define IDD_SETTINGS 101
|
||||||
#define IDD_DIALOG2 102
|
#define IDD_DIALOG2 102
|
||||||
#define IDD_ABOUT 102
|
|
||||||
#define IDC_COMBO1 1001
|
#define IDC_COMBO1 1001
|
||||||
#define IDC_SAMPLERATE 1001
|
#define IDC_SAMPLERATE 1001
|
||||||
#define IDC_EDIT1 1002
|
#define IDC_EDIT1 1002
|
||||||
|
|
|
@ -65,16 +65,6 @@ BEGIN
|
||||||
CONTROL "Enable Other Audio",IDC_ENABLE_THROTTLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,50,94,10
|
CONTROL "Enable Other Audio",IDC_ENABLE_THROTTLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,50,94,10
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_ABOUT DIALOGEX 0, 0, 184, 65
|
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
||||||
CAPTION "About Dolphin DSP-HLE Plugin"
|
|
||||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
||||||
BEGIN
|
|
||||||
DEFPUSHBUTTON "OK",IDOK,127,44,50,14
|
|
||||||
LTEXT "Coded by ector and F|RES",IDC_STATIC,51,25,104,14
|
|
||||||
LTEXT "Dolphin DSP-HLE plugin",IDC_STATIC,51,7,104,14
|
|
||||||
END
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
@ -93,14 +83,6 @@ BEGIN
|
||||||
BOTTOMMARGIN, 79
|
BOTTOMMARGIN, 79
|
||||||
HORZGUIDE, 31
|
HORZGUIDE, 31
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_ABOUT, DIALOG
|
|
||||||
BEGIN
|
|
||||||
LEFTMARGIN, 7
|
|
||||||
RIGHTMARGIN, 177
|
|
||||||
TOPMARGIN, 7
|
|
||||||
BOTTOMMARGIN, 58
|
|
||||||
END
|
|
||||||
END
|
END
|
||||||
#endif // APSTUDIO_INVOKED
|
#endif // APSTUDIO_INVOKED
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue