Commit e027f029 authored by Nigel Liang's avatar Nigel Liang Committed by Alexandre Julliard

winecfg: Add trackbar to set screen resolution in graphics tab.

parent 21572967
...@@ -65,31 +65,35 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250 ...@@ -65,31 +65,35 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg" FONT 8, "MS Shell Dlg"
BEGIN BEGIN
GROUPBOX " ",IDC_STATIC,8,10,244,195 GROUPBOX " ",IDC_STATIC,8,0,244,195
CONTROL " DirectX ",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,20,230,8 CONTROL " DirectX ",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,10,230,8
/* FIXME: the wording is terrible */ /* FIXME: the wording is terrible */
LTEXT " Wine , , . \n\n , , - -.", LTEXT " Wine , , . \n\n , , - -.",
IDC_STATIC,15,43,228,80 IDC_STATIC,15,33,228,80
CONTROL " ",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,117,230,8 CONTROL " ",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,107,230,8
/* FIXME: the wording of this explanation could be a lot better */ /* FIXME: the wording of this explanation could be a lot better */
LTEXT " , e , .", LTEXT " , e , .",
IDC_STATIC,15,146,228,28 IDC_STATIC,15,136,228,28
LTEXT " :",IDC_DESKTOP_SIZE,15,188,44,8,WS_DISABLED LTEXT " :",IDC_DESKTOP_SIZE,15,178,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,188,8,8,WS_DISABLED LTEXT "X",IDC_DESKTOP_BY,108,178,8,8,WS_DISABLED
CONTROL " ",IDC_ENABLE_DESKTOP,"Button", CONTROL " ",IDC_ENABLE_DESKTOP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,173,230,10 BS_AUTOCHECKBOX | WS_TABSTOP,15,163,230,10
EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,64,178,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,178,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 GROUPBOX " Direct3D ",IDC_STATIC,8,195,244,45
LTEXT " Vertex Shader: ",IDC_STATIC,15,220,105,30 LTEXT " Vertex Shader: ",IDC_STATIC,15,205,105,30
COMBOBOX IDC_D3D_VSHADER_MODE,115,218,125,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,115,203,125,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL " Pixel Shader ( )",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 CONTROL " Pixel Shader ( )",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,222,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -88,6 +88,10 @@ BEGIN ...@@ -88,6 +88,10 @@ BEGIN
COMBOBOX IDC_D3D_VSHADER_MODE,105,197,140,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,105,197,140,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Povolit stnovn pixel (spolh se na hardware podporu)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 CONTROL "Povolit stnovn pixel (spolh se na hardware podporu)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,252,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,260,187,15
EDITTEXT IDC_RES_DPIEDIT,204,260,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,262,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -84,6 +84,10 @@ BEGIN ...@@ -84,6 +84,10 @@ BEGIN
COMBOBOX IDC_D3D_VSHADER_MODE,140,197,105,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,140,197,105,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Pixel Shader aktivieren (wenn von Hardware untersttzt)", IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,212,230,10 CONTROL "Pixel Shader aktivieren (wenn von Hardware untersttzt)", IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,212,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -79,12 +79,16 @@ BEGIN ...@@ -79,12 +79,16 @@ BEGIN
EDITTEXT IDC_DESKTOP_WIDTH,64,166,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,64,166,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,166,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,166,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Direct3D ",IDC_STATIC,8,195,244,48 GROUPBOX " Direct3D ",IDC_STATIC,8,190,244,48
LTEXT "Vertex Shader Support: ",IDC_STATIC,15,208,80,32 LTEXT "Vertex Shader Support: ",IDC_STATIC,15,203,80,32
COMBOBOX IDC_D3D_VSHADER_MODE,100,206,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,201,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Allow Pixel Shader (if supported by hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,224,230,10 CONTROL "Allow Pixel Shader (if supported by hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,219,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -83,6 +83,10 @@ BEGIN ...@@ -83,6 +83,10 @@ BEGIN
COMBOBOX IDC_D3D_VSHADER_MODE,100,197,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,197,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Permitir Pixel Shader (si hay soporte por hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 CONTROL "Permitir Pixel Shader (si hay soporte por hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -61,29 +61,33 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250 ...@@ -61,29 +61,33 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg" FONT 8, "MS Shell Dlg"
BEGIN BEGIN
GROUPBOX " Ikkuna-asetukset ",IDC_STATIC,8,25,244,180 GROUPBOX " Ikkuna-asetukset ",IDC_STATIC,8,5,244,180
CONTROL "&Salli DirectX -sovellusten est kursorin poistuminen ikkunasta",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,35,230,8 CONTROL "&Salli DirectX -sovellusten est kursorin poistuminen ikkunasta",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,15,230,8
LTEXT "Kun ikkunaohjelma hallitsee ikkunoita, niill on normaalit reunat, ne noudattavat nennistypyti ja nkyvt ikkunalistassa.\n\nMikli ikkunaohjelma ei hallitse ikkunoita, ikkunat eivt integroidu yht hyvin typytsi, mutta emulaatio on tarkempaa ja se voi auttaa joitain sovelluksia toimimaan paremmin.", LTEXT "Kun ikkunaohjelma hallitsee ikkunoita, niill on normaalit reunat, ne noudattavat nennistypyti ja nkyvt ikkunalistassa.\n\nMikli ikkunaohjelma ei hallitse ikkunoita, ikkunat eivt integroidu yht hyvin typytsi, mutta emulaatio on tarkempaa ja se voi auttaa joitain sovelluksia toimimaan paremmin.",
IDC_STATIC,15,58,228,80 IDC_STATIC,15,38,228,80
CONTROL "Salli ikkunaohjelman hallita ikkunoita",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,132,230,8 CONTROL "Salli ikkunaohjelman hallita ikkunoita",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,112,230,8
LTEXT "Wine voi emuloida Windowsin typyt, jossa kaikki ikkunat ovat yhdess virtuaalisessa nytss, tai jossa kaikki ikkunat ovat typydllsi erillisin.", LTEXT "Wine voi emuloida Windowsin typyt, jossa kaikki ikkunat ovat yhdess virtuaalisessa nytss, tai jossa kaikki ikkunat ovat typydllsi erillisin.",
IDC_STATIC,15,146,228,28 IDC_STATIC,15,126,228,28
LTEXT "Typydn koko:",IDC_DESKTOP_SIZE,15,188,44,8,WS_DISABLED LTEXT "Typydn koko:",IDC_DESKTOP_SIZE,15,168,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,188,8,8,WS_DISABLED LTEXT "X",IDC_DESKTOP_BY,108,168,8,8,WS_DISABLED
CONTROL "&Emuloi virtuaalista typyt",IDC_ENABLE_DESKTOP,"Button", CONTROL "&Emuloi virtuaalista typyt",IDC_ENABLE_DESKTOP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,173,230,10 BS_AUTOCHECKBOX | WS_TABSTOP,15,153,230,10
EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,64,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 GROUPBOX " Direct3D ",IDC_STATIC,8,190,244,50
LTEXT "Vertex Shader -tuki: ",IDC_STATIC,15,220,80,30 LTEXT "Vertex Shader -tuki: ",IDC_STATIC,15,200,80,30
COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,198,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Salli &Pixel Shader:n kytt laitteiston tukiessa",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 CONTROL "Salli &Pixel Shader:n kytt laitteiston tukiessa",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,217,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -84,6 +84,10 @@ BEGIN ...@@ -84,6 +84,10 @@ BEGIN
COMBOBOX IDC_D3D_VSHADER_MODE,110,198,100,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,110,198,100,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Permettre le Pixel Shader (si support par le matriel)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,215,230,10 CONTROL "Permettre le Pixel Shader (si support par le matriel)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,215,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -60,30 +60,34 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250 ...@@ -60,30 +60,34 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg" FONT 8, "MS Shell Dlg"
BEGIN BEGIN
GROUPBOX " Ablakbelltsok ",IDC_STATIC,8,25,244,180 GROUPBOX " Ablakbelltsok ",IDC_STATIC,8,5,244,180
CONTROL "A DirectX-es alkalmazsok ablakbol nem lphet ki az egrmutat",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,35,230,8 CONTROL "A DirectX-es alkalmazsok ablakbol nem lphet ki az egrmutat",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,15,230,8
LTEXT "Ha az ablakokat egy msik ablakkezel kezeli, akkor lesz standard keretjk, tisztelni fogjk a virtulis asztalokat, s megjelennek az ablaklistban. \n\nHa az ablakok kezeletlenek, el fognak vllni az n ablakkezeljtl. Ez azt jelenti, hogy az ablakok nem fognak szorosan egybeplni az n asztalval, de az emulci hatsosabb, jobban egytt tud mkdni nhny programmal.", LTEXT "Ha az ablakokat egy msik ablakkezel kezeli, akkor lesz standard keretjk, tisztelni fogjk a virtulis asztalokat, s megjelennek az ablaklistban. \n\nHa az ablakok kezeletlenek, el fognak vllni az n ablakkezeljtl. Ez azt jelenti, hogy az ablakok nem fognak szorosan egybeplni az n asztalval, de az emulci hatsosabb, jobban egytt tud mkdni nhny programmal.",
IDC_STATIC,15,58,228,80 IDC_STATIC,15,38,228,80
CONTROL "Az ablakkezel kezelheti az ablakokat",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,132,230,8 CONTROL "Az ablakkezel kezelheti az ablakokat",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,112,230,8
/* FIXME: the wording of this explanation could be a lot better */ /* FIXME: the wording of this explanation could be a lot better */
LTEXT "n vlaszthatja a windows asztal emullst, ahol az sszes ablak egy 'virtulis kpernyn' fog megjelnni, vagy az ablakok megjelnthetk az n standard asztaln.", LTEXT "n vlaszthatja a windows asztal emullst, ahol az sszes ablak egy 'virtulis kpernyn' fog megjelnni, vagy az ablakok megjelnthetk az n standard asztaln.",
IDC_STATIC,15,146,228,28 IDC_STATIC,15,126,228,28
LTEXT "Ablakmret:",IDC_DESKTOP_SIZE,15,188,44,8,WS_DISABLED LTEXT "Ablakmret:",IDC_DESKTOP_SIZE,15,168,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,188,8,8,WS_DISABLED LTEXT "X",IDC_DESKTOP_BY,108,168,8,8,WS_DISABLED
CONTROL "Virtulis asztal emullsa",IDC_ENABLE_DESKTOP,"Button", CONTROL "Virtulis asztal emullsa",IDC_ENABLE_DESKTOP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,173,230,10 BS_AUTOCHECKBOX | WS_TABSTOP,15,153,230,10
EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,64,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 GROUPBOX " Direct3D ",IDC_STATIC,8,190,244,50
LTEXT "Vertex Shader tmogats: ",IDC_STATIC,15,220,80,30 LTEXT "Vertex Shader tmogats: ",IDC_STATIC,15,200,80,30
COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,198,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Pixel Shader engedlyezse (ha tmogatja a hardver)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 CONTROL "Pixel Shader engedlyezse (ha tmogatja a hardver)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,217,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -70,6 +70,10 @@ BEGIN ...@@ -70,6 +70,10 @@ BEGIN
EDITTEXT IDC_DESKTOP_WIDTH,64,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,64,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -77,12 +77,16 @@ BEGIN ...@@ -77,12 +77,16 @@ BEGIN
EDITTEXT IDC_DESKTOP_WIDTH,74,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,74,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,127,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,127,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Direct3D ",IDC_STATIC,8,140,244,120 GROUPBOX " Direct3D ",IDC_STATIC,8,140,244,60
LTEXT "Vertex Shader サポート: ",IDC_STATIC,15,150,80,30 LTEXT "Vertex Shader サポート: ",IDC_STATIC,15,150,80,30
COMBOBOX IDC_D3D_VSHADER_MODE,100,148,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,148,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Pixel Shader を有効にする(ハードウェアでサポートされている場合のみ)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,165,230,10 CONTROL "Pixel Shader を有効にする(ハードウェアでサポートされている場合のみ)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,165,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -86,6 +86,10 @@ BEGIN ...@@ -86,6 +86,10 @@ BEGIN
COMBOBOX IDC_D3D_VSHADER_MODE,100,197,146,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,197,146,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "픽셀 쉐이더 허용 (하드웨어에서 지원한다면)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 CONTROL "픽셀 쉐이더 허용 (하드웨어에서 지원한다면)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -86,6 +86,10 @@ BEGIN ...@@ -86,6 +86,10 @@ BEGIN
COMBOBOX IDC_D3D_VSHADER_MODE,120,197,130,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,120,197,130,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Pixel Shader toestaan (indien ondersteund door de hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 CONTROL "Pixel Shader toestaan (indien ondersteund door de hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -60,29 +60,33 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250 ...@@ -60,29 +60,33 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg" FONT 8, "MS Shell Dlg"
BEGIN BEGIN
GROUPBOX " Vinduinnstillinger ",IDC_STATIC,8,25,244,180 GROUPBOX " Vinduinnstillinger ",IDC_STATIC,8,5,244,180
CONTROL "Tillat DirectX-programmer hindre musen fra forlate vinduet",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,35,230,8 CONTROL "Tillat DirectX-programmer hindre musen fra forlate vinduet",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,15,230,8
LTEXT "Hvis vinduer kontrolleres av din standardvindusbehandler, fr de vanlige rammer, og respekterer det virtuelle skrivebordet ditt og vises i vinduslisten.\n\nHvis de er ukontrollerte er de koblet fra vindusbehandleren. Dette betyr at de ikke integreres like godt med skrivebordet ditt, men emuleringen blir mer presis snn at noen programmer virker bedre.", LTEXT "Hvis vinduer kontrolleres av din standardvindusbehandler, fr de vanlige rammer, og respekterer det virtuelle skrivebordet ditt og vises i vinduslisten.\n\nHvis de er ukontrollerte er de koblet fra vindusbehandleren. Dette betyr at de ikke integreres like godt med skrivebordet ditt, men emuleringen blir mer presis snn at noen programmer virker bedre.",
IDC_STATIC,15,58,228,80 IDC_STATIC,15,38,228,80
CONTROL "Tillat vindusbehandleren kontrollere vinduene",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,132,230,8 CONTROL "Tillat vindusbehandleren kontrollere vinduene",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,112,230,8
LTEXT "Du kan velge emulere et Windows-skrivebord, der alle vinduene er bundet i en virtuell skjerm, eller du kan f vinduene til oppfre seg som andre programmer p skrivebordet.", LTEXT "Du kan velge emulere et Windows-skrivebord, der alle vinduene er bundet i en virtuell skjerm, eller du kan f vinduene til oppfre seg som andre programmer p skrivebordet.",
IDC_STATIC,15,146,228,28 IDC_STATIC,15,126,228,28
LTEXT "Skrivebordsstrrelse:",IDC_DESKTOP_SIZE,15,188,44,8,WS_DISABLED LTEXT "Skrivebordsstrrelse:",IDC_DESKTOP_SIZE,15,168,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,188,8,8,WS_DISABLED LTEXT "X",IDC_DESKTOP_BY,108,168,8,8,WS_DISABLED
CONTROL "Emuler et virtuelt skrivebord",IDC_ENABLE_DESKTOP,"Button", CONTROL "Emuler et virtuelt skrivebord",IDC_ENABLE_DESKTOP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,173,230,10 BS_AUTOCHECKBOX | WS_TABSTOP,15,153,230,10
EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,64,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 GROUPBOX " Direct3D ",IDC_STATIC,8,190,244,50
LTEXT "Verteks-skyggelegging: ",IDC_STATIC,15,220,80,30 LTEXT "Verteks-skyggelegging: ",IDC_STATIC,15,200,80,30
COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,198,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Tillat piksel-skyggelegger (hvis maskinvaren sttter det)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 CONTROL "Tillat piksel-skyggelegger (hvis maskinvaren sttter det)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,217,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -88,6 +88,10 @@ Niektrym aplikacjom moe to pomc w lepszym dziaaniu.", ...@@ -88,6 +88,10 @@ Niektrym aplikacjom moe to pomc w lepszym dziaaniu.",
COMBOBOX IDC_D3D_VSHADER_MODE,100,197,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,197,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Obsuguj Pixel Shader (jeeli s obsugiwane przez kart graficzn)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 CONTROL "Obsuguj Pixel Shader (jeeli s obsugiwane przez kart graficzn)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -111,6 +111,10 @@ BEGIN ...@@ -111,6 +111,10 @@ BEGIN
EDITTEXT IDC_DESKTOP_WIDTH,120,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,120,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,173,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,173,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
......
...@@ -85,6 +85,10 @@ BEGIN ...@@ -85,6 +85,10 @@ BEGIN
COMBOBOX IDC_D3D_VSHADER_MODE,100,197,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,197,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Allow Pixel Shader (if supported by hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 CONTROL "Allow Pixel Shader (if supported by hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -79,12 +79,16 @@ BEGIN ...@@ -79,12 +79,16 @@ BEGIN
EDITTEXT IDC_DESKTOP_WIDTH,64,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,64,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,55 GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,45
LTEXT " : ",IDC_STATIC,15,199,120,30 LTEXT " : ",IDC_STATIC,15,199,120,30
COMBOBOX IDC_D3D_VSHADER_MODE,120,197,125,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,120,197,125,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL " Pixel Shader ( )",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 CONTROL " Pixel Shader ( )",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -75,6 +75,10 @@ BEGIN ...@@ -75,6 +75,10 @@ BEGIN
IDC_STATIC,15,112,228,28 IDC_STATIC,15,112,228,28
LTEXT "Desktop size:",IDC_DESKTOP_SIZE,17,161,44,8,WS_DISABLED LTEXT "Desktop size:",IDC_DESKTOP_SIZE,17,161,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,161,8,8,WS_DISABLED LTEXT "X",IDC_DESKTOP_BY,108,161,8,8,WS_DISABLED
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -60,29 +60,33 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250 ...@@ -60,29 +60,33 @@ IDD_GRAPHCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg" FONT 8, "MS Shell Dlg"
BEGIN BEGIN
GROUPBOX " Pencere ayarlar ",IDC_STATIC,8,25,244,180 GROUPBOX " Pencere ayarlar ",IDC_STATIC,8,5,244,180
CONTROL "DirectX uygulamalarnn fareyi pencere iine kilitlemelerine izin ver",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,35,230,8 CONTROL "DirectX uygulamalarnn fareyi pencere iine kilitlemelerine izin ver",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,15,230,8
LTEXT "Pencereler pencere yneticiniz tarafndan ynetildiinde, standart kenarlara sahip olacak, sanal masastnze uygun davranacak ve pencere listenizde grnecektir. \n\nEer pencereler ynetilmezse, pencere yneticinizden bamsz olacaklardr. Bu, pencerelerin masastnzle tam olarak btnleemeyecei anlamna gelir; ama taklit daha dzgn yaplabiliceinden baz programlar daha iyi alabilir.", LTEXT "Pencereler pencere yneticiniz tarafndan ynetildiinde, standart kenarlara sahip olacak, sanal masastnze uygun davranacak ve pencere listenizde grnecektir. \n\nEer pencereler ynetilmezse, pencere yneticinizden bamsz olacaklardr. Bu, pencerelerin masastnzle tam olarak btnleemeyecei anlamna gelir; ama taklit daha dzgn yaplabiliceinden baz programlar daha iyi alabilir.",
IDC_STATIC,15,58,228,80 IDC_STATIC,15,38,228,80
CONTROL "Pencere yneticisinin pencereleri ynetmesine izin ver",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,132,230,8 CONTROL "Pencere yneticisinin pencereleri ynetmesine izin ver",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,112,230,8
LTEXT "Tm pencerelerin sanal bir ekrana hapsedildii bir windows masast emle edebilirsiniz veya pencerelerin standart masastnze yerlemesini salayabilirsiniz.", LTEXT "Tm pencerelerin sanal bir ekrana hapsedildii bir windows masast emle edebilirsiniz veya pencerelerin standart masastnze yerlemesini salayabilirsiniz.",
IDC_STATIC,15,146,228,28 IDC_STATIC,15,126,228,28
LTEXT "Masast bykl:",IDC_DESKTOP_SIZE,15,188,44,8,WS_DISABLED LTEXT "Masast bykl:",IDC_DESKTOP_SIZE,15,168,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,188,8,8,WS_DISABLED LTEXT "X",IDC_DESKTOP_BY,108,168,8,8,WS_DISABLED
CONTROL "Sanal masast kullan",IDC_ENABLE_DESKTOP,"Button", CONTROL "Sanal masast kullan",IDC_ENABLE_DESKTOP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,173,230,10 BS_AUTOCHECKBOX | WS_TABSTOP,15,153,230,10
EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_WIDTH,64,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 GROUPBOX " Direct3D ",IDC_STATIC,8,190,244,50
LTEXT "Vertex Shader Destei: ",IDC_STATIC,15,220,80,30 LTEXT "Vertex Shader Destei: ",IDC_STATIC,15,200,80,30
COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_D3D_VSHADER_MODE,100,198,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Pixel Shader'a izin ver (donanm destekliyorsa)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 CONTROL "Pixel Shader'a izin ver (donanm destekliyorsa)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,217,230,10
GROUPBOX " Screen Resolution ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
LTEXT "dpi",IDC_STATIC,235,252,10,8
END END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -152,6 +152,9 @@ ...@@ -152,6 +152,9 @@
#define IDS_SHADER_MODE_HARDWARE 8100 #define IDS_SHADER_MODE_HARDWARE 8100
#define IDS_SHADER_MODE_NONE 8101 #define IDS_SHADER_MODE_NONE 8101
#define IDC_RES_TRACKBAR 1107
#define IDC_RES_DPIEDIT 1108
/* applications tab */ /* applications tab */
#define IDC_APP_LISTVIEW 1200 #define IDC_APP_LISTVIEW 1200
#define IDC_APP_ADDAPP 1201 #define IDC_APP_ADDAPP 1201
......
...@@ -142,6 +142,7 @@ static inline void set_text(HWND dialog, WORD id, const char *text) ...@@ -142,6 +142,7 @@ static inline void set_text(HWND dialog, WORD id, const char *text)
} }
#define WINE_KEY_ROOT "Software\\Wine" #define WINE_KEY_ROOT "Software\\Wine"
#define MAXBUFLEN 256
extern HMENU hPopupMenus; extern HMENU hPopupMenus;
......
...@@ -36,7 +36,11 @@ ...@@ -36,7 +36,11 @@
WINE_DEFAULT_DEBUG_CHANNEL(winecfg); WINE_DEFAULT_DEBUG_CHANNEL(winecfg);
#define RES_MAXLEN 5 /* the maximum number of characters in a screen dimension. 5 digits should be plenty, what kind of crazy person runs their screen >10,000 pixels across? */ #define RES_MAXLEN 5 /* the maximum number of characters in a screen dimension. 5 digits should be plenty, what kind of crazy person runs their screen >10,000 pixels across? */
#define MINDPI 96
#define MAXDPI 120
#define DEFDPI 96
static const char logpixels_reg[] = "System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts";
static struct SHADERMODE static struct SHADERMODE
{ {
...@@ -237,12 +241,48 @@ static void on_d3d_pshader_mode_clicked(HWND dialog) { ...@@ -237,12 +241,48 @@ static void on_d3d_pshader_mode_clicked(HWND dialog) {
else else
set_reg_key(config_key, keypath("Direct3D"), "PixelShaderMode", "disabled"); set_reg_key(config_key, keypath("Direct3D"), "PixelShaderMode", "disabled");
} }
static INT read_logpixels_reg(void)
{
DWORD dwLogPixels;
char *buf = get_reg_key(HKEY_LOCAL_MACHINE, logpixels_reg,
"LogPixels", (const char *)MAXDPI);
dwLogPixels = *buf;
HeapFree(GetProcessHeap(), 0, buf);
return dwLogPixels;
}
static void init_dpi_editbox(HWND hDlg)
{
HWND hDpiEditBox = GetDlgItem(hDlg, IDC_RES_DPIEDIT);
DWORD dwLogpixels;
char szLogpixels[MAXBUFLEN];
dwLogpixels = read_logpixels_reg();
WINE_TRACE("%d\n", (int) dwLogpixels);
szLogpixels[0] = 0;
sprintf(szLogpixels, "%d", dwLogpixels);
SendMessage(hDpiEditBox, WM_SETTEXT, 0, (LPARAM) szLogpixels);
}
static void init_trackbar(HWND hDlg)
{
HWND hTrackBar = GetDlgItem(hDlg, IDC_RES_TRACKBAR);
DWORD dwLogpixels;
dwLogpixels = read_logpixels_reg();
SendMessageW(hTrackBar, TBM_SETRANGE, TRUE, MAKELONG(MINDPI, MAXDPI));
SendMessageW(hTrackBar, TBM_SETPOS, TRUE, dwLogpixels);
}
INT_PTR CALLBACK INT_PTR CALLBACK
GraphDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) GraphDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{ {
switch (uMsg) { switch (uMsg) {
case WM_INITDIALOG: case WM_INITDIALOG:
init_dpi_editbox(hDlg);
init_trackbar(hDlg);
break; break;
case WM_SHOWWINDOW: case WM_SHOWWINDOW:
...@@ -290,6 +330,8 @@ GraphDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) ...@@ -290,6 +330,8 @@ GraphDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
break; break;
} }
case PSN_APPLY: { case PSN_APPLY: {
int i = SendMessageW(GetDlgItem(hDlg, IDC_RES_TRACKBAR), TBM_GETPOS, 0, 0);
set_reg_key_dword(HKEY_LOCAL_MACHINE, logpixels_reg, "LogPixels", i);
apply(); apply();
SetWindowLongPtr(hDlg, DWLP_MSGRESULT, PSNRET_NOERROR); SetWindowLongPtr(hDlg, DWLP_MSGRESULT, PSNRET_NOERROR);
break; break;
...@@ -301,6 +343,19 @@ GraphDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) ...@@ -301,6 +343,19 @@ GraphDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
break; break;
case WM_HSCROLL:
switch (wParam) {
default: {
char buf[MAXBUFLEN];
int i = SendMessageW(GetDlgItem(hDlg, IDC_RES_TRACKBAR), TBM_GETPOS, 0, 0);
buf[0] = 0;
sprintf(buf, "%d", i);
SendMessage(GetDlgItem(hDlg, IDC_RES_DPIEDIT), WM_SETTEXT, 0, (LPARAM) buf);
break;
}
}
break;
default: default:
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment