aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2004-12-28 15:27:28 +0000
committerPeter Åstrand <astrand@cendio.se>2004-12-28 15:27:28 +0000
commit142e84dafdcaa7d3be8596317f3941e461b592a3 (patch)
treec4d4f502168f3f5e63f49f5a86150782a46e76d6
parent1e6d898940cd459e865b4fa308b01292f730976e (diff)
downloadtigervnc-142e84dafdcaa7d3be8596317f3941e461b592a3.tar.gz
tigervnc-142e84dafdcaa7d3be8596317f3941e461b592a3.zip
qualityLevel hooked up with GUI
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@56 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--vncviewer/OptionsDialog.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx
index cfed1fc5..49a19c30 100644
--- a/vncviewer/OptionsDialog.cxx
+++ b/vncviewer/OptionsDialog.cxx
@@ -93,11 +93,13 @@ public:
case encodingHextile: setItemChecked(IDC_ENCODING_HEXTILE, true); break;
case encodingRaw: setItemChecked(IDC_ENCODING_RAW, true); break;
}
+ setItemInt(IDC_QUALITYLEVEL, dlg->options.qualityLevel);
onCommand(IDC_ENCODING_AUTO, 0 /* ? */); // Force enableItem status to refresh
}
virtual bool onOk() {
dlg->options.autoSelect = isItemChecked(IDC_ENCODING_AUTO);
dlg->options.fullColour = isItemChecked(IDC_FORMAT_FULLCOLOUR);
+ dlg->options.qualityLevel = getItemInt(IDC_QUALITYLEVEL);
if (isItemChecked(IDC_FORMAT_VERYLOWCOLOUR))
dlg->options.lowColourLevel = 0;
if (isItemChecked(IDC_FORMAT_LOWCOLOUR))