wineconsole & edition flavors

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

 



sounds like Alexandre forgot to attach the 4th part of the patches related to edition flavors on the console

here it is again. since simplified Chinese resources have been added in between, I also added the related basic dialog part for Zh (without translating... ;-)

A+
--
Eric Pouech
Name:          wc_edmo_dlg
ChangeLog:     - Added the GUI part for setting the edition mode flavor
License:       X11
GenDate:       2003/01/11 17:05:23 UTC
ModifiedFiles: programs/wineconsole/dialog.c programs/wineconsole/wineconsole_De.rc programs/wineconsole/wineconsole_En.rc programs/wineconsole/wineconsole_Fr.rc programs/wineconsole/wineconsole_Hu.rc programs/wineconsole/wineconsole_Zh.rc programs/wineconsole/wineconsole_res.rc
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/programs/wineconsole/dialog.c,v
retrieving revision 1.13
diff -u -u -r1.13 dialog.c
--- programs/wineconsole/dialog.c	7 Jan 2003 23:11:12 -0000	1.13
+++ programs/wineconsole/dialog.c	8 Jan 2003 19:29:18 -0000
@@ -601,6 +601,19 @@
 	SetDlgItemInt(hDlg, IDC_CNF_WIN_HEIGHT, di->config.win_height, FALSE);
         SendDlgItemMessage(hDlg, IDC_CNF_CLOSE_EXIT, BM_SETCHECK,
                            (di->config.exit_on_die) ? BST_CHECKED : BST_UNCHECKED, 0L);
+        {
+            static WCHAR        s1[] = {'W','i','n','3','2',0};
+            static WCHAR        s2[] = {'E','m','a','c','s',0};
+
+            SendDlgItemMessage(hDlg, IDC_CNF_EDITION_MODE, CB_ADDSTRING,
+                               0, (LPARAM)s1);
+            SendDlgItemMessage(hDlg, IDC_CNF_EDITION_MODE, CB_ADDSTRING,
+                               0, (LPARAM)s2);
+            SendDlgItemMessage(hDlg, IDC_CNF_EDITION_MODE, CB_SETCURSEL,
+                               di->config.edition_mode, 0);
+            WINE_FIXME("edmo=%d\n", di->config.edition_mode);
+    	}
+
 	break;
     case WM_COMMAND:
 	di = (struct dialog_info*)GetWindowLong(hDlg, DWL_USER);
@@ -637,7 +650,8 @@
                 di->config.win_height = y;
             }
             di->config.exit_on_die = IsDlgButtonChecked(hDlg, IDC_CNF_CLOSE_EXIT) ? 1 : 0;
-
+            di->config.edition_mode = SendDlgItemMessage(hDlg, IDC_CNF_EDITION_MODE, CB_GETCURSEL,
+                                                         0, 0);
             SetWindowLong(hDlg, DWL_MSGRESULT, PSNRET_NOERROR);
 	    return TRUE;
 	default:
Index: programs/wineconsole/wineconsole_De.rc
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/programs/wineconsole/wineconsole_De.rc,v
retrieving revision 1.3
diff -u -u -r1.3 wineconsole_De.rc
--- programs/wineconsole/wineconsole_De.rc	25 Oct 2002 03:49:43 -0000	1.3
+++ programs/wineconsole/wineconsole_De.rc	6 Jan 2003 21:33:28 -0000
@@ -99,6 +99,9 @@
 
 	GROUPBOX "End of program", -1, 115, 11, 80, 42, BS_GROUPBOX
 	AUTOCHECKBOX "&Close console", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
+	
+	GROUPBOX "Edition", -1, 115, 55, 80, 42
+	COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
 }
 
 IDD_SAVE_SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 140, 60
Index: programs/wineconsole/wineconsole_En.rc
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/programs/wineconsole/wineconsole_En.rc,v
retrieving revision 1.9
diff -u -u -r1.9 wineconsole_En.rc
--- programs/wineconsole/wineconsole_En.rc	25 Oct 2002 03:49:43 -0000	1.9
+++ programs/wineconsole/wineconsole_En.rc	6 Jan 2003 21:33:38 -0000
@@ -99,6 +99,9 @@
 
 	GROUPBOX "End of program", -1, 115, 11, 80, 42, BS_GROUPBOX
 	AUTOCHECKBOX "&Close console", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
+
+	GROUPBOX "Edition", -1, 115, 55, 80, 42
+	COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
 }
 
 IDD_SAVE_SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 140, 60
Index: programs/wineconsole/wineconsole_Fr.rc
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/programs/wineconsole/wineconsole_Fr.rc,v
retrieving revision 1.7
diff -u -u -r1.7 wineconsole_Fr.rc
--- programs/wineconsole/wineconsole_Fr.rc	4 Sep 2002 18:41:52 -0000	1.7
+++ programs/wineconsole/wineconsole_Fr.rc	6 Jan 2003 21:33:51 -0000
@@ -99,6 +99,9 @@
 
 	GROUPBOX "Fin du programme", -1, 115, 11, 80, 42, BS_GROUPBOX
 	AUTOCHECKBOX "&Fermer la console", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
+
+	GROUPBOX "Edition", -1, 115, 55, 80, 42
+	COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
 }
 
 IDD_SAVE_SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 200, 60
Index: programs/wineconsole/wineconsole_Hu.rc
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/programs/wineconsole/wineconsole_Hu.rc,v
retrieving revision 1.1
diff -u -u -r1.1 wineconsole_Hu.rc
--- programs/wineconsole/wineconsole_Hu.rc	4 Nov 2002 22:45:23 -0000	1.1
+++ programs/wineconsole/wineconsole_Hu.rc	6 Jan 2003 21:33:14 -0000
@@ -100,6 +100,9 @@
 
 	GROUPBOX "Program v間e", -1, 115, 11, 80, 42, BS_GROUPBOX
 	AUTOCHECKBOX "&Konsol bez醨醩a", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
+
+	GROUPBOX "Edition", -1, 115, 55, 80, 42
+	COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
 }
 
 IDD_SAVE_SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 140, 60
Index: programs/wineconsole/wineconsole_Zh.rc
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/programs/wineconsole/wineconsole_Zh.rc,v
retrieving revision 1.1
diff -u -u -r1.1 wineconsole_Zh.rc
--- programs/wineconsole/wineconsole_Zh.rc	10 Jan 2003 01:48:14 -0000	1.1
+++ programs/wineconsole/wineconsole_Zh.rc	11 Jan 2003 16:40:57 -0000
@@ -101,6 +101,9 @@
 
 	GROUPBOX "当程序退出后", -1, 115, 11, 80, 42, BS_GROUPBOX
 	AUTOCHECKBOX "关闭虚拟终端(&C)", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
+
+	GROUPBOX "Edition", -1, 115, 55, 80, 42
+	COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
 }
 
 IDD_SAVE_SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 140, 60

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

  Powered by Linux