GSdx-gui: Grey out Texture filtering and Interlacing on Null.

This commit is contained in:
lightningterror 2018-08-29 02:12:00 +02:00
parent 22f1048e8f
commit 846f31851e
3 changed files with 17 additions and 12 deletions

View File

@ -384,6 +384,10 @@ void GSSettingsDlg::UpdateControls()
ShowWindow(GetDlgItem(m_hWnd, IDC_OPENCL_DEVICE), SW_HIDE);
ShowWindow(GetDlgItem(m_hWnd, IDC_OPENCL_TEXT), SW_HIDE);
#endif
EnableWindow(GetDlgItem(m_hWnd, IDC_INTERLACE), !null);
EnableWindow(GetDlgItem(m_hWnd, IDC_INTERLACE_TEXT), !null);
EnableWindow(GetDlgItem(m_hWnd, IDC_FILTER), !null);
EnableWindow(GetDlgItem(m_hWnd, IDC_FILTER_TEXT), !null);
ShowWindow(GetDlgItem(m_hWnd, IDC_LOGZ), dx9 ? SW_SHOW: SW_HIDE);
ShowWindow(GetDlgItem(m_hWnd, IDC_FBA), dx9 ? SW_SHOW : SW_HIDE);

View File

@ -291,7 +291,7 @@ BEGIN
COMBOBOX IDC_RENDERER,71,55,166,118,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Adapter:",IDC_ADAPTER_TEXT,6,72,79,8
COMBOBOX IDC_ADAPTER,71,70,166,118,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Interlacing (F5):",IDC_STATIC,6,87,52,8
LTEXT "Interlacing (F5):",IDC_INTERLACE_TEXT,6,87,52,8
COMBOBOX IDC_INTERLACE,71,85,166,118,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Texture Filtering:",IDC_FILTER_TEXT,6,102,79,8
COMBOBOX IDC_FILTER,71,100,166,63,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP

View File

@ -6,17 +6,18 @@
#define IDD_CONFIG 2001
#define IDB_NULL 2002
#define IDB_LOGO9 2003
#define IDB_LOGO11 2005
#define IDB_LOGOGL 2006
#define IDC_NULL 2007
#define IDC_LOGO9 2008
#define IDC_LOGO11 2009
#define IDC_LOGOGL 2010
#define IDC_ADAPTER_TEXT 2011
#define IDC_ADAPTER 2012
#define IDC_RENDERER 2013
#define IDC_FILTER_TEXT 2014
#define IDC_FILTER 2015
#define IDB_LOGO11 2004
#define IDB_LOGOGL 2005
#define IDC_NULL 2006
#define IDC_LOGO9 2007
#define IDC_LOGO11 2008
#define IDC_LOGOGL 2009
#define IDC_ADAPTER_TEXT 2010
#define IDC_ADAPTER 2011
#define IDC_RENDERER 2012
#define IDC_FILTER_TEXT 2013
#define IDC_FILTER 2014
#define IDC_INTERLACE_TEXT 2015
#define IDC_INTERLACE 2016
#define IDC_OPENCL_DEVICE 2017
#define IDC_OPENCL_TEXT 2018