Index: dxglcfg/dxglcfg.cpp |
— | — | @@ -714,6 +714,10 @@ |
715 | 715 | }
|
716 | 716 | }
|
717 | 717 | }
|
| 718 | + else
|
| 719 | + {
|
| 720 | + EnableWindow(GetDlgItem(hWnd, IDC_DPISCALE), FALSE);
|
| 721 | + }
|
718 | 722 | if(token) CloseHandle(token);
|
719 | 723 | return true;
|
720 | 724 | case WM_MEASUREITEM:
|
— | — | @@ -811,6 +815,7 @@ |
812 | 816 | SendDlgItemMessage(hWnd,IDC_EXTRAMODES,BM_SETSTYLE,BS_AUTO3STATE,(LPARAM)TRUE);
|
813 | 817 | SendDlgItemMessage(hWnd,IDC_TEXTUREFORMAT,CB_ADDSTRING,0,(LPARAM)strdefault);
|
814 | 818 | SendDlgItemMessage(hWnd,IDC_TEXUPLOAD,CB_ADDSTRING,0,(LPARAM)strdefault);
|
| 819 | + SendDlgItemMessage(hWnd, IDC_DPISCALE, CB_ADDSTRING, 0, (LPARAM)strdefault);
|
815 | 820 | }
|
816 | 821 | else if(!current_app && tristate)
|
817 | 822 | {
|
— | — | @@ -839,6 +844,8 @@ |
840 | 845 | SendDlgItemMessage(hWnd,IDC_ASPECT3D,CB_FINDSTRING,-1,(LPARAM)strdefault),0);
|
841 | 846 | SendDlgItemMessage(hWnd,IDC_TEXUPLOAD,CB_DELETESTRING,
|
842 | 847 | SendDlgItemMessage(hWnd,IDC_ASPECT3D,CB_FINDSTRING,-1,(LPARAM)strdefault),0);
|
| 848 | + SendDlgItemMessage(hWnd, IDC_DPISCALE, CB_DELETESTRING,
|
| 849 | + SendDlgItemMessage(hWnd, IDC_ASPECT3D, CB_FINDSTRING, -1, (LPARAM)strdefault), 0);
|
843 | 850 | }
|
844 | 851 | // Read settings into controls
|
845 | 852 | SetCombo(hWnd,IDC_VIDMODE,cfg->scaler,cfgmask->scaler,tristate);
|
— | — | @@ -856,6 +863,7 @@ |
857 | 864 | SetCombo(hWnd,IDC_TEXUPLOAD,cfg->TexUpload,cfgmask->TexUpload,tristate);
|
858 | 865 | SetCheck(hWnd,IDC_EXTRAMODES,cfg->ExtraModes,cfgmask->ExtraModes,tristate);
|
859 | 866 | SetText(hWnd,IDC_SHADER,cfg->shaderfile,cfgmask->shaderfile,tristate);
|
| 867 | + SetCombo(hWnd, IDC_DPISCALE, cfg->DPIScale, cfgmask->DPIScale, tristate);
|
860 | 868 | }
|
861 | 869 | case IDC_VIDMODE:
|
862 | 870 | cfg->scaler = GetCombo(hWnd,IDC_VIDMODE,cfgmask->scaler);
|