[winecfg 16] Complete support DOS version and winelook settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



- Complete support DOS version and winelook settings

diff -ur --exclude-from=diff-exclusions ../head/programs/winecfg/main.c programs/winecfg/main.c
--- ../head/programs/winecfg/main.c	2003-09-30 01:27:55.000000000 +0100
+++ programs/winecfg/main.c	2003-10-17 19:27:17.000000000 +0100
@@ -136,6 +136,30 @@
 		    addTransaction("Version", "Windows", ACTION_SET, desc->szVersion);
 		}
 	        break;
+
+		case IDC_WINELOOK: if (HIWORD(wParam) == CBN_SELCHANGE) {
+		    /* user changed the wine look combo box */
+		    int selection = SendDlgItemMessage( hDlg, IDC_WINELOOK, CB_GETCURSEL, 0, 0);
+		    VERSION_DESC *desc = getWinelook();
+
+		    while (selection > 0) {
+			desc++; selection--;
+		    }
+		    addTransaction("Tweak.Layout", "WineLook", ACTION_SET, desc->szVersion);
+		}
+		break;
+
+		case IDC_DOSVER: if (HIWORD(wParam) == CBN_SELCHANGE) {
+		    /* user changed the dos version combo box */
+		    int selection = SendDlgItemMessage( hDlg, IDC_WINELOOK, CB_GETCURSEL, 0, 0);
+		    VERSION_DESC *desc = getDOSVersions();
+
+		    while (selection > 0) {
+			desc++; selection--;
+		    }
+		    addTransaction("Version", "DOS", ACTION_SET, desc->szVersion);
+		    
+		}
 	    }
 	    break;
 	    




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux