]> source.dussan.org Git - tigervnc.git/commitdiff
Added the new scale values (10, 200) to the vncviewer
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Mon, 11 Sep 2006 04:11:51 +0000 (04:11 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Mon, 11 Sep 2006 04:11:51 +0000 (04:11 +0000)
options scale combo-box.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@657 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/vncviewer/OptionsDialog.cxx
win/vncviewer/vncviewer.rc

index af112ee7af32692f5bf985c3d958890f7f760c59..c4bf401eb9874cd7c00b731285fdbc1e847ec71f 100644 (file)
@@ -163,11 +163,11 @@ public:
     setItemChecked(IDC_ACCEPT_BELL, dlg->options.acceptBell);
     setItemChecked(IDC_AUTO_RECONNECT, dlg->options.autoReconnect);
     setItemChecked(IDC_SHOW_TOOLBAR, dlg->options.showToolbar);
-    char scale_values[8][20] = {
-      "25","50","75","90","100","125","150","Auto"
+    char scale_values[10][20] = {
+      "10","25","50","75","90","100","125","150","200","Auto"
     };
     HWND hScaleCombo = GetDlgItem(handle, IDC_COMBO_SCALE);
-    for (int i = 0; i <= 7; i++) {
+    for (int i = 0; i <= 9; i++) {
       SendMessage(hScaleCombo, CB_INSERTSTRING, 
         (WPARAM)i, (LPARAM)(int FAR*)scale_values[i]);
     }
index d85329f612290688700b12aabe680416d0b1f93f..bf8a8252c0722b62cbc323025b797f524adbf7d4 100644 (file)
@@ -233,7 +233,7 @@ BEGIN
     CONTROL         "Offer to automatically reconnect",IDC_AUTO_RECONNECT,
                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,100,199,15
     LTEXT           "Scale by:",IDC_STATIC_SCALE,106,40,34,15,SS_CENTERIMAGE
-    COMBOBOX        IDC_COMBO_SCALE,140,40,40,90,CBS_DROPDOWN | CBS_SORT | 
+    COMBOBOX        IDC_COMBO_SCALE,140,40,40,134,CBS_DROPDOWN | CBS_SORT | 
                     WS_VSCROLL | WS_TABSTOP
     LTEXT           "%",IDC_STATIC_PERCENT,185,40,21,15,SS_CENTERIMAGE
 END