DXGL r867 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r866‎ | r867 | r868 >
Date:19:09, 15 September 2018
Author:admin
Status:new
Tags:
Comment:
Adjust combo box sizes for compatibility with legacy Windows versions.
Adjust size of profiles dropdown.
Fix a typo in the Hacks tab.
Modified paths:
  • /dxglcfg/dxglcfg.rc (modified) (history)

Diff [purge]

Index: dxglcfg/dxglcfg.rc
@@ -36,7 +36,7 @@
3737 FONT 8, "Ms Shell Dlg"
3838 {
3939 LTEXT "Application profile", IDC_STATIC, 7, 7, 58, 8, SS_LEFT, WS_EX_LEFT
40 - COMBOBOX IDC_APPS, 7, 17, 287, 195, WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | 0x00000400, WS_EX_LEFT
 40+ COMBOBOX IDC_APPS, 7, 17, 342, 203, WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | 0x00000400, WS_EX_LEFT
4141 CONTROL "", IDC_TABS, WC_TABCONTROL, 0, 7, 35, 344, 185, WS_EX_LEFT
4242 PUSHBUTTON "A&dd...", IDC_ADD, 7, 223, 50, 14, 0, WS_EX_LEFT
4343 PUSHBUTTON "&Remove", IDC_REMOVE, 59, 223, 50, 14, WS_DISABLED, WS_EX_LEFT
@@ -54,23 +54,23 @@
5555 FONT 8, "Ms Shell Dlg"
5656 {
5757 LTEXT "Video mode", IDC_STATIC, 7, 7, 38, 8, SS_LEFT, WS_EX_LEFT
58 - COMBOBOX IDC_VIDMODE, 7, 17, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 58+ COMBOBOX IDC_VIDMODE, 7, 17, 102, 120, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
5959 LTEXT "Add color depths", IDC_STATIC, 114, 7, 54, 8, SS_LEFT, WS_EX_LEFT
60 - COMBOBOX IDC_COLORDEPTH, 114, 17, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED, WS_EX_LEFT
 60+ COMBOBOX IDC_COLORDEPTH, 114, 17, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED, WS_EX_LEFT
6161 LTEXT "Scaling method", IDC_STATIC, 221, 6, 50, 9, SS_LEFT, WS_EX_LEFT
62 - COMBOBOX IDC_SCALE, 221, 17, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 62+ COMBOBOX IDC_SCALE, 221, 17, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
6363 LTEXT "Additional display modes", IDC_STATIC, 7, 32, 80, 8, SS_LEFT, WS_EX_LEFT
64 - COMBOBOX IDC_EXTRAMODES, 7, 43, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED, WS_EX_LEFT
 64+ COMBOBOX IDC_EXTRAMODES, 7, 43, 102, 100, CBS_DROPDOWNLIST | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED, WS_EX_LEFT
6565 LTEXT "Screen aspect ratio", IDC_STATIC, 114, 33, 63, 8, SS_LEFT, WS_EX_LEFT
66 - COMBOBOX IDC_ASPECT, 114, 43, 102, 30, CBS_DROPDOWN | CBS_HASSTRINGS, WS_EX_LEFT
 66+ COMBOBOX IDC_ASPECT, 114, 43, 102, 64, CBS_DROPDOWN | CBS_HASSTRINGS, WS_EX_LEFT
6767 LTEXT "Sort video modes", IDC_STATIC, 221, 33, 56, 8, SS_LEFT, WS_EX_LEFT
68 - COMBOBOX IDC_SORTMODES, 221, 43, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 68+ COMBOBOX IDC_SORTMODES, 221, 43, 102, 50, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
6969 LTEXT "DPI scaling mode", IDC_STATIC, 7, 58, 56, 8, SS_LEFT, WS_EX_LEFT
70 - COMBOBOX IDC_DPISCALE, 7, 68, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 70+ COMBOBOX IDC_DPISCALE, 7, 68, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
7171 LTEXT "Vertical sync", IDC_STATIC, 114, 58, 41, 8, SS_LEFT, WS_EX_LEFT
72 - COMBOBOX IDC_VSYNC, 114, 68, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 72+ COMBOBOX IDC_VSYNC, 114, 68, 102, 48, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
7373 LTEXT "Fullscreen window mode", IDC_STATIC, 221, 57, 79, 9, SS_LEFT, WS_EX_LEFT
74 - COMBOBOX IDC_FULLMODE, 221, 68, 101, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 74+ COMBOBOX IDC_FULLMODE, 221, 68, 101, 80, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
7575 LTEXT "Fixed scaling", IDC_FIXEDSCALELABEL, 7, 83, 47, 9, SS_LEFT, WS_EX_LEFT
7676 LTEXT "X", IDC_FIXEDSCALELABELX, 7, 97, 8, 9, SS_LEFT, WS_EX_LEFT
7777 EDITTEXT IDC_FIXEDSCALEX, 15, 94, 40, 14, ES_AUTOHSCROLL, WS_EX_LEFT
@@ -91,17 +91,17 @@
9292 FONT 8, "Ms Shell Dlg"
9393 {
9494 LTEXT "Texture filter", IDC_STATIC, 7, 7, 43, 8, SS_LEFT, WS_EX_LEFT
95 - COMBOBOX IDC_TEXFILTER, 7, 17, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 95+ COMBOBOX IDC_TEXFILTER, 7, 17, 102, 96, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
9696 LTEXT "Anisotropic filtering", IDC_STATIC, 114, 7, 62, 8, SS_LEFT, WS_EX_LEFT
97 - COMBOBOX IDC_ANISO, 114, 17, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 97+ COMBOBOX IDC_ANISO, 114, 17, 102, 80, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
9898 LTEXT "Antialiasing (MSAA)", IDC_STATIC, 7, 32, 64, 8, SS_LEFT, WS_EX_LEFT
99 - COMBOBOX IDC_MSAA, 7, 43, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 99+ COMBOBOX IDC_MSAA, 7, 43, 102, 128, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
100100 LTEXT "Renderer aspect ratio", IDC_STATIC, 114, 32, 71, 8, SS_LEFT, WS_EX_LEFT
101 - COMBOBOX IDC_ASPECT3D, 114, 43, 102, 14, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 101+ COMBOBOX IDC_ASPECT3D, 114, 43, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
102102 LTEXT "Low color rendering", IDC_STATIC, 7, 58, 63, 9, SS_LEFT, WS_EX_LEFT
103 - COMBOBOX IDC_LOWCOLORRENDER, 7, 68, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 103+ COMBOBOX IDC_LOWCOLORRENDER, 7, 68, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
104104 LTEXT "Enable dithering", IDC_STATIC, 114, 58, 52, 9, SS_LEFT, WS_EX_LEFT
105 - COMBOBOX IDC_DITHERING, 114, 68, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 105+ COMBOBOX IDC_DITHERING, 114, 68, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
106106 }
107107
108108
@@ -112,12 +112,12 @@
113113 FONT 8, "Ms Shell Dlg"
114114 {
115115 LTEXT "Texture format", IDC_STATIC, 7, 7, 50, 8, SS_LEFT, WS_EX_LEFT
116 - COMBOBOX IDC_TEXTUREFORMAT, 7, 17, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 116+ COMBOBOX IDC_TEXTUREFORMAT, 7, 17, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
117117 LTEXT "Texture access method", IDC_STATIC, 114, 7, 76, 8, SS_LEFT, WS_EX_LEFT
118 - COMBOBOX IDC_TEXUPLOAD, 114, 17, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 118+ COMBOBOX IDC_TEXUPLOAD, 114, 17, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
119119 LTEXT "Remembered window size", IDC_STATIC, 114, 58, 83, 9, SS_LEFT, WS_EX_LEFT
120120 LTEXT "Default window position", IDC_STATIC, 7, 32, 76, 9, SS_LEFT, WS_EX_LEFT
121 - COMBOBOX IDC_WINDOWPOS, 7, 43, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 121+ COMBOBOX IDC_WINDOWPOS, 7, 43, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
122122 AUTOCHECKBOX "Remember window position", IDC_REMEMBERWINDOWPOS, 114, 38, 102, 8, 0, WS_EX_LEFT
123123 AUTOCHECKBOX "Remember window size", IDC_REMEMBERWINDOWSIZE, 114, 48, 90, 8, 0, WS_EX_LEFT
124124 LTEXT "Remembered window position", 0, 7, 58, 95, 9, SS_LEFT, WS_EX_LEFT
@@ -158,8 +158,8 @@
159159 STYLE DS_3DLOOK | DS_CENTER | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW
160160 FONT 8, "Ms Shell Dlg"
161161 {
162 - LTEXT "These options should be set only for specific programs; use with other programs may cause malfuncion.", IDC_STATIC, 7, 5, 332, 9, SS_LEFT, WS_EX_LEFT
163 - COMBOBOX IDC_HACKSDROPDOWN, 186, 17, 146, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 162+ LTEXT "These options should be set only for specific programs; use with other programs may cause malfunction.", IDC_STATIC, 7, 5, 332, 9, SS_LEFT, WS_EX_LEFT
 163+ COMBOBOX IDC_HACKSDROPDOWN, 186, 17, 146, 80, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
164164 EDITTEXT IDC_HACKSEDIT, 186, 32, 146, 14, ES_AUTOHSCROLL, WS_EX_LEFT
165165 LISTBOX IDC_HACKSLIST, 7, 16, 326, 148, WS_TABSTOP | WS_VSCROLL | LBS_NOINTEGRALHEIGHT |
166166 LBS_OWNERDRAWVARIABLE | LBS_HASSTRINGS | LBS_NOTIFY, WS_EX_LEFT
@@ -192,9 +192,9 @@
193193 EDITTEXT IDC_FRAMERATE, 223, 125, 49, 14, WS_DISABLED | ES_AUTOHSCROLL
194194 CONTROL "", IDC_SPINFRAME, UPDOWN_CLASS, UDS_ALIGNRIGHT | UDS_ARROWKEYS | UDS_AUTOBUDDY, 261, 125, 12, 14
195195 LTEXT "Texture filter", IDC_FILTERLABEL, 186, 141, 40, 8, SS_LEFT
196 - COMBOBOX IDC_FILTER, 186, 150, 66, 19, WS_DISABLED | CBS_DROPDOWN | CBS_HASSTRINGS
 196+ COMBOBOX IDC_FILTER, 186, 150, 66, 96, WS_DISABLED | CBS_DROPDOWN | CBS_HASSTRINGS
197197 LTEXT "Antialiasing", IDC_FSAALABEL, 259, 141, 38, 8, SS_LEFT
198 - COMBOBOX IDC_FSAA, 257, 150, 70, 19, WS_DISABLED | CBS_DROPDOWN | CBS_HASSTRINGS
 198+ COMBOBOX IDC_FSAA, 257, 150, 70, 128, WS_DISABLED | CBS_DROPDOWN | CBS_HASSTRINGS
199199 PUSHBUTTON "Run test", IDC_TEST, 277, 125, 56, 14, WS_DISABLED
200200 }
201201
@@ -221,15 +221,15 @@
222222 FONT 8, "Ms Shell Dlg"
223223 {
224224 LTEXT "Postprocess scaler", IDC_STATIC, 7, 7, 61, 9, SS_LEFT, WS_EX_LEFT
225 - COMBOBOX IDC_POSTSCALE, 7, 17, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 225+ COMBOBOX IDC_POSTSCALE, 7, 17, 102, 64, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
226226 LTEXT "Postprocess input multiplier", IDC_STATIC, 114, 7, 90, 9, SS_LEFT, WS_EX_LEFT
227 - COMBOBOX IDC_POSTSCALESIZE, 114, 17, 102, 30, CBS_DROPDOWN | CBS_HASSTRINGS, WS_EX_LEFT
 227+ COMBOBOX IDC_POSTSCALESIZE, 114, 17, 102, 80, CBS_DROPDOWN | CBS_HASSTRINGS, WS_EX_LEFT
228228 // AUTOCHECKBOX "Use post-processing shader", IDC_USESHADER, 7, 33, 103, 8, WS_DISABLED, WS_EX_LEFT
229229 // COMBOBOX IDC_SHADER, 7, 43, 247, 92, WS_DISABLED | CBS_DROPDOWN | CBS_HASSTRINGS, WS_EX_LEFT
230230 // PUSHBUTTON "...", IDC_BROWSESHADER, 256, 42, 20, 14, WS_DISABLED, WS_EX_LEFT
231231 // Move the following controls down by 25 after re-adding the Post-Process shader
232232 LTEXT "Primary buffer scaling", IDC_STATIC, 7, 33, 70, 8, SS_LEFT, WS_EX_LEFT
233 - COMBOBOX IDC_PRIMARYSCALE, 7, 43, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
 233+ COMBOBOX IDC_PRIMARYSCALE, 7, 43, 102, 128, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
234234 LTEXT "Blt Scaling Filter", IDC_STATIC, 114, 33, 52, 8, SS_LEFT, WS_EX_LEFT
235235 COMBOBOX IDC_BLTFILTER, 114, 43, 102, 92, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
236236 LTEXT "Custom scale", IDC_CUSTOMSCALELABEL, 7, 58, 44, 8, WS_DISABLED | SS_LEFT, WS_EX_LEFT
@@ -293,31 +293,31 @@
294294 EDITTEXT IDC_TEXCOLORKEY, 339, 18, 40, 14, ES_AUTOHSCROLL
295295 CONTROL "", IDC_SETTEXCOLORKEY, WC_BUTTON, WS_TABSTOP | WS_TABSTOP | BS_OWNERDRAW, 381, 18, 14, 14
296296 LTEXT "Texture", IDC_STATIC, 254, 36, 25, 8, SS_LEFT
297 - COMBOBOX IDC_TEXTURE, 289, 34, 106, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 297+ COMBOBOX IDC_TEXTURE, 289, 34, 106, 64, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
298298 LTEXT "File", IDC_STATIC, 254, 52, 12, 8, SS_LEFT
299299 EDITTEXT IDC_TEXTUREFILE, 289, 49, 93, 13, ES_AUTOHSCROLL
300300 PUSHBUTTON "...", IDC_TEXTUREBROWSE, 384, 49, 11, 13
301301 CONTROL "", IDC_STATIC, WC_STATIC, SS_ETCHEDHORZ, 254, 64, 141, 1
302302 LTEXT "Color Arg. 1", IDC_STATIC, 254, 69, 38, 8, SS_LEFT
303 - COMBOBOX IDC_CARG1, 297, 67, 48, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 303+ COMBOBOX IDC_CARG1, 297, 67, 48, 64, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
304304 AUTOCHECKBOX "Inv", IDC_CARG1INV, 347, 70, 26, 8
305305 AUTOCHECKBOX "A", IDC_CARG1A, 374, 70, 21, 8
306306 LTEXT "Color Arg. 2", IDC_STATIC, 254, 84, 38, 8, SS_LEFT
307 - COMBOBOX IDC_CARG2, 297, 82, 48, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 307+ COMBOBOX IDC_CARG2, 297, 82, 48, 64, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
308308 AUTOCHECKBOX "Inv", IDC_CARG2INV, 347, 84, 26, 8
309309 AUTOCHECKBOX "A", IDC_CARG2A, 374, 84, 21, 8
310310 LTEXT "Color Op.", IDC_STATIC, 254, 99, 30, 8, SS_LEFT
311 - COMBOBOX IDC_COLOROP, 297, 97, 98, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 311+ COMBOBOX IDC_COLOROP, 297, 97, 98, 216, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
312312 LTEXT "Alpha Arg. 1", IDC_STATIC, 254, 114, 40, 8, SS_LEFT
313 - COMBOBOX IDC_AARG1, 297, 112, 48, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 313+ COMBOBOX IDC_AARG1, 297, 112, 48, 64, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
314314 AUTOCHECKBOX "Inv", IDC_AARG1INV, 347, 115, 26, 8
315315 AUTOCHECKBOX "A", IDC_AARG1A, 374, 115, 21, 8
316316 LTEXT "Alpha Arg. 2", IDC_STATIC, 254, 129, 40, 8, SS_LEFT
317 - COMBOBOX IDC_AARG2, 297, 127, 48, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 317+ COMBOBOX IDC_AARG2, 297, 127, 48, 64, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
318318 AUTOCHECKBOX "Inv", IDC_AARG2INV, 347, 129, 26, 8
319319 AUTOCHECKBOX "A", IDC_AARG2A, 374, 129, 21, 8
320320 LTEXT "Alpha Op.", IDC_STATIC, 254, 144, 32, 8, SS_LEFT
321 - COMBOBOX IDC_ALPHAOP, 297, 142, 98, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 321+ COMBOBOX IDC_ALPHAOP, 297, 142, 98, 216, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
322322 GROUPBOX "Colors", IDC_STATIC, 248, 161, 152, 67
323323 LTEXT "Diffuse", IDC_STATIC, 255, 172, 23, 8, SS_LEFT
324324 EDITTEXT IDC_DIFFUSE, 254, 182, 40, 14, ES_AUTOHSCROLL
@@ -335,14 +335,14 @@
336336 GROUPBOX "Alpha Blending", IDC_STATIC, 402, 92, 78, 136
337337 AUTOCHECKBOX "Alpha Blending", IDC_ALPHABLEND, 408, 102, 63, 8
338338 LTEXT "Source Blend Factor", IDC_STATIC, 408, 112, 66, 8, SS_LEFT
339 - COMBOBOX IDC_SRCBLEND, 408, 122, 66, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 339+ COMBOBOX IDC_SRCBLEND, 408, 122, 66, 128, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
340340 LTEXT "Dest. Blend Factor", IDC_STATIC, 408, 137, 60, 8, SS_LEFT
341 - COMBOBOX IDC_DESTBLEND, 408, 146, 66, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 341+ COMBOBOX IDC_DESTBLEND, 408, 146, 66, 128, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
342342 LTEXT "Ref. Alpha", IDC_STATIC, 408, 164, 34, 8, SS_LEFT
343343 EDITTEXT IDC_ALPHAREF, 444, 161, 30, 14, ES_AUTOHSCROLL | ES_NUMBER
344344 CONTROL "", IDC_SPINALPHAREF, UPDOWN_CLASS, UDS_ALIGNRIGHT | UDS_ARROWKEYS | UDS_AUTOBUDDY | UDS_SETBUDDYINT, 462, 161, 11, 14
345345 LTEXT "Alpha Test Function", IDC_STATIC, 408, 177, 64, 8, SS_LEFT
346 - COMBOBOX IDC_ALPHAFUNC, 408, 187, 66, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 346+ COMBOBOX IDC_ALPHAFUNC, 408, 187, 66, 80, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
347347 AUTOCHECKBOX "Stippled", IDC_ALPHASTIPPLE, 408, 202, 41, 8
348348 AUTOCHECKBOX "Test", IDC_ALPHATEST, 448, 202, 30, 8
349349 AUTOCHECKBOX "Key", IDC_COLORKEY, 408, 215, 26, 8
@@ -349,9 +349,9 @@
350350 AUTOCHECKBOX "KeyBlend", IDC_COLORKEYBLEND, 434, 215, 44, 8
351351 GROUPBOX "Fog", IDC_STATIC, 7, 230, 158, 80
352352 LTEXT "Vertex Fog Mode", IDC_STATIC, 13, 241, 55, 8, SS_LEFT
353 - COMBOBOX IDC_VERTEXFOGMODE, 13, 251, 72, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 353+ COMBOBOX IDC_VERTEXFOGMODE, 13, 251, 72, 48, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
354354 LTEXT "Pixel Fog Mode", IDC_STATIC, 88, 241, 50, 8, SS_LEFT
355 - COMBOBOX IDC_PIXELFOGMODE, 88, 251, 72, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 355+ COMBOBOX IDC_PIXELFOGMODE, 88, 251, 72, 48, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
356356 LTEXT "Start", IDC_STATIC, 13, 266, 16, 8, SS_LEFT
357357 EDITTEXT IDC_FOGSTART, 13, 276, 45, 14, ES_AUTOHSCROLL
358358 LTEXT "End", IDC_STATIC, 63, 266, 14, 8, SS_LEFT
@@ -387,15 +387,15 @@
388388 CONTROL "", IDC_DISPLAY, WC_STATIC, WS_BORDER | SS_GRAYRECT, 7, 7, 236, 221
389389 GROUPBOX "Texture", IDC_STATIC, 248, 7, 152, 43
390390 LTEXT "Texture", IDC_STATIC, 254, 19, 25, 8, SS_LEFT
391 - COMBOBOX IDC_TEXTURE, 289, 17, 106, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 391+ COMBOBOX IDC_TEXTURE, 289, 17, 106, 64, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
392392 LTEXT "File", IDC_STATIC, 254, 35, 12, 8, SS_LEFT
393393 EDITTEXT IDC_TEXTUREFILE, 289, 32, 93, 13, ES_AUTOHSCROLL
394394 PUSHBUTTON "...", IDC_TEXTUREBROWSE, 384, 32, 11, 13
395395 GROUPBOX "Fog", IDC_STATIC, 248, 55, 152, 80
396396 LTEXT "Vertex Fog Mode", IDC_STATIC, 254, 66, 55, 8, SS_LEFT
397 - COMBOBOX IDC_VERTEXFOGMODE, 254, 76, 67, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 397+ COMBOBOX IDC_VERTEXFOGMODE, 254, 76, 67, 48, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
398398 LTEXT "Pixel Fog Mode", IDC_STATIC, 324, 66, 50, 8, SS_LEFT
399 - COMBOBOX IDC_PIXELFOGMODE, 324, 76, 67, 30, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
 399+ COMBOBOX IDC_PIXELFOGMODE, 324, 76, 67, 48, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS
400400 LTEXT "Start", IDC_STATIC, 254, 91, 16, 8, SS_LEFT
401401 EDITTEXT IDC_FOGSTART, 254, 101, 43, 14, ES_AUTOHSCROLL
402402 LTEXT "End", IDC_STATIC, 304, 91, 14, 8, SS_LEFT
@@ -438,11 +438,11 @@
439439 CONTROL "", IDC_TEXTUREPREVIEW, WC_STATIC, WS_BORDER | SS_GRAYRECT, 402, 7, 78, 78
440440 GROUPBOX "Settings", IDC_STATIC, 402, 87, 78, 198
441441 LTEXT "Fill mode", IDC_STATIC, 405, 98, 28, 8, SS_LEFT
442 - COMBOBOX IDC_FILLMODE, 405, 108, 70, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
 442+ COMBOBOX IDC_FILLMODE, 405, 108, 70, 40, CBS_DROPDOWNLIST | CBS_HASSTRINGS
443443 LTEXT "Shade mode", IDC_STATIC, 405, 123, 41, 8, SS_LEFT
444 - COMBOBOX IDC_SHADEMODE, 405, 133, 70, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
 444+ COMBOBOX IDC_SHADEMODE, 405, 133, 70, 40, CBS_DROPDOWNLIST | CBS_HASSTRINGS
445445 LTEXT "Back face culling", IDC_STATIC, 405, 148, 56, 8, SS_LEFT
446 - COMBOBOX IDC_CULLMODE, 405, 158, 70, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
 446+ COMBOBOX IDC_CULLMODE, 405, 158, 70, 40, CBS_DROPDOWNLIST | CBS_HASSTRINGS
447447 AUTOCHECKBOX "Enable lighting", IDC_ENABLELIGHT, 405, 174, 62, 8
448448 AUTOCHECKBOX "Specular highlights", IDC_ENABLESPECULAR, 405, 187, 72, 8
449449 AUTOCHECKBOX "Vertex colors", IDC_VERTEXCOLOR, 405, 200, 57, 8
@@ -452,13 +452,13 @@
453453 CONTROL "", IDC_SPINDETAIL, UPDOWN_CLASS, UDS_ALIGNRIGHT | UDS_ARROWKEYS | UDS_AUTOBUDDY | UDS_SETBUDDYINT, 463, 236, 11, 14
454454 GROUPBOX "Per-vertex color sources", IDC_STATIC, 5, 230, 238, 55
455455 LTEXT "Diffuse", IDC_STATIC, 11, 244, 23, 8, SS_LEFT
456 - COMBOBOX IDC_DIFFUSESOURCE, 50, 242, 72, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
 456+ COMBOBOX IDC_DIFFUSESOURCE, 50, 242, 72, 40, CBS_DROPDOWNLIST | CBS_HASSTRINGS
457457 LTEXT "Ambient", IDC_STATIC, 127, 244, 26, 8, SS_LEFT
458 - COMBOBOX IDC_AMBIENTSOURCE, 166, 242, 72, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
 458+ COMBOBOX IDC_AMBIENTSOURCE, 166, 242, 72, 40, CBS_DROPDOWNLIST | CBS_HASSTRINGS
459459 LTEXT "Specular", IDC_STATIC, 11, 264, 29, 8, SS_LEFT
460 - COMBOBOX IDC_SPECULARSOURCE, 50, 262, 72, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
 460+ COMBOBOX IDC_SPECULARSOURCE, 50, 262, 72, 40, CBS_DROPDOWNLIST | CBS_HASSTRINGS
461461 LTEXT "Emissive", IDC_STATIC, 127, 264, 28, 8, SS_LEFT
462 - COMBOBOX IDC_EMISSIVESOURCE, 166, 262, 72, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
 462+ COMBOBOX IDC_EMISSIVESOURCE, 166, 262, 72, 40, CBS_DROPDOWNLIST | CBS_HASSTRINGS
463463 GROUPBOX "Lights", IDC_STATIC, 5, 284, 475, 86
464464 LTEXT "Light number", IDC_STATIC, 11, 295, 42, 8, SS_LEFT
465465 EDITTEXT IDC_LIGHTNUMBER, 11, 305, 40, 14, ES_AUTOHSCROLL
@@ -470,7 +470,7 @@
471471 EDITTEXT IDC_LIGHTAMBIENT, 142, 305, 40, 14, ES_AUTOHSCROLL
472472 CONTROL "", IDC_LIGHTAMBIENTSELECT, WC_BUTTON, WS_TABSTOP | WS_TABSTOP | BS_OWNERDRAW, 184, 305, 24, 14
473473 LTEXT "Type", IDC_STATIC, 11, 321, 17, 8, SS_LEFT
474 - COMBOBOX IDC_LIGHTTYPE, 11, 331, 48, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
 474+ COMBOBOX IDC_LIGHTTYPE, 11, 331, 48, 56, CBS_DROPDOWNLIST | CBS_HASSTRINGS
475475 LTEXT "Specular", IDC_STATIC, 71, 321, 29, 8, SS_LEFT
476476 EDITTEXT IDC_LIGHTSPECULAR, 71, 331, 40, 14, ES_AUTOHSCROLL
477477 CONTROL "", IDC_LIGHTSPECULARSELECT, WC_BUTTON, WS_TABSTOP | WS_TABSTOP | BS_OWNERDRAW, 113, 331, 24, 14