Browse Source

IDC_ALLOW_COMPRESSLEVEL -> IDC_CUSTOM_COMPRESSLEVEL


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@59 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v0.0.90
Peter Åstrand 19 years ago
parent
commit
7489c2f023
3 changed files with 4 additions and 4 deletions
  1. 2
    2
      vncviewer/OptionsDialog.cxx
  2. 1
    1
      vncviewer/resource.h
  3. 1
    1
      vncviewer/vncviewer.rc

+ 2
- 2
vncviewer/OptionsDialog.cxx View File

@@ -93,7 +93,7 @@ public:
case encodingHextile: setItemChecked(IDC_ENCODING_HEXTILE, true); break;
case encodingRaw: setItemChecked(IDC_ENCODING_RAW, true); break;
}
setItemChecked(IDC_ALLOW_COMPRESSLEVEL, dlg->options.customCompressLevel);
setItemChecked(IDC_CUSTOM_COMPRESSLEVEL, dlg->options.customCompressLevel);
setItemInt(IDC_COMPRESSLEVEL, dlg->options.compressLevel);
setItemChecked(IDC_ALLOW_JPEG, !dlg->options.noJpeg);
setItemInt(IDC_QUALITYLEVEL, dlg->options.qualityLevel);
@@ -102,7 +102,7 @@ public:
virtual bool onOk() {
dlg->options.autoSelect = isItemChecked(IDC_ENCODING_AUTO);
dlg->options.fullColour = isItemChecked(IDC_FORMAT_FULLCOLOUR);
dlg->options.customCompressLevel = isItemChecked(IDC_ALLOW_COMPRESSLEVEL);
dlg->options.customCompressLevel = isItemChecked(IDC_CUSTOM_COMPRESSLEVEL);
dlg->options.compressLevel = getItemInt(IDC_COMPRESSLEVEL);
dlg->options.noJpeg = !isItemChecked(IDC_ALLOW_JPEG);
dlg->options.qualityLevel = getItemInt(IDC_QUALITYLEVEL);

+ 1
- 1
vncviewer/resource.h View File

@@ -64,7 +64,7 @@
#define IDC_REQUESTED_ENCODING 1052
#define IDC_LAST_ENCODING 1053
#define IDC_ENCODING_TIGHT 1054
#define IDC_ALLOW_COMPRESSLEVEL 1055
#define IDC_CUSTOM_COMPRESSLEVEL 1055
#define IDC_COMPRESSLEVEL 1056
#define IDC_ALLOW_JPEG 1057
#define IDC_QUALITYLEVEL 1058

+ 1
- 1
vncviewer/vncviewer.rc View File

@@ -190,7 +190,7 @@ BEGIN
CONTROL "&Very low (8 colours)",IDC_FORMAT_VERYLOWCOLOUR,"Button",
BS_AUTORADIOBUTTON,100,75,90,15

CONTROL "Custom compression level:",IDC_ALLOW_COMPRESSLEVEL,
CONTROL "Custom compression level:",IDC_CUSTOM_COMPRESSLEVEL,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,100,99,10
EDITTEXT IDC_COMPRESSLEVEL,25,111,15,12,ES_AUTOHSCROLL | ES_NUMBER
LTEXT "level (1=fast, 9=best)",IDC_STATIC,44,114,81,9,NOT

Loading…
Cancel
Save