mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Add cancel button to Hacks dialog
Add a cancel button to the Hacks dialog to make it easier for the user to exit the window without making changes.
This commit is contained in:
parent
5420fcaf3a
commit
55b0be36cd
|
@ -767,6 +767,11 @@ bool GSHacksDlg::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
EndDialog(m_hWnd, id);
|
||||
} break;
|
||||
|
||||
case IDCANCEL:
|
||||
{
|
||||
EndDialog(m_hWnd, IDCANCEL);
|
||||
} break;
|
||||
}
|
||||
|
||||
} break;
|
||||
|
|
|
@ -115,7 +115,8 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSM
|
|||
CAPTION "Hacks Configuration"
|
||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "OK",IDOK,89,214,57,14
|
||||
DEFPUSHBUTTON "OK",IDOK,27,214,50,14
|
||||
DEFPUSHBUTTON "Cancel",IDCANCEL,84,214,50,14
|
||||
GROUPBOX "USE AT YOUR OWN RISK!",IDC_STATIC,7,7,147,206,0,WS_EX_TRANSPARENT
|
||||
CONTROL "Preload Frame Data",IDC_PRELOAD_GS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,115,80,8
|
||||
RTEXT "MSAA:",IDC_MSAA_TEXT,62,20,22,8
|
||||
|
|
Loading…
Reference in New Issue