diff options
author | Peter Åstrand <astrand@cendio.se> | 2004-12-29 11:07:20 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2004-12-29 11:07:20 +0000 |
commit | 7489c2f02396fb5071829e3965a6a6cdda6e0101 (patch) | |
tree | fe48c88bf5fd7b9e0ec6a063a9b96ae86e54d23c /vncviewer | |
parent | 365427ae873ef3e148159832c92ff080d78743cf (diff) | |
download | tigervnc-7489c2f02396fb5071829e3965a6a6cdda6e0101.tar.gz tigervnc-7489c2f02396fb5071829e3965a6a6cdda6e0101.zip |
IDC_ALLOW_COMPRESSLEVEL -> IDC_CUSTOM_COMPRESSLEVEL
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@59 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/OptionsDialog.cxx | 4 | ||||
-rw-r--r-- | vncviewer/resource.h | 2 | ||||
-rw-r--r-- | vncviewer/vncviewer.rc | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index ae3f08a6..dd7df124 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -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); diff --git a/vncviewer/resource.h b/vncviewer/resource.h index ab7a27c2..3a08e574 100644 --- a/vncviewer/resource.h +++ b/vncviewer/resource.h @@ -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 diff --git a/vncviewer/vncviewer.rc b/vncviewer/vncviewer.rc index 545db3b9..5ec35108 100644 --- a/vncviewer/vncviewer.rc +++ b/vncviewer/vncviewer.rc @@ -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 |