aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/OptionsDialog.cxx
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-05-24 15:54:52 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-05-24 15:54:52 +0000
commit4fc2026b9595e9425f50616d18781995aebe495b (patch)
treef8aaeca2982ce6e841a3724205519d26936e85df /vncviewer/OptionsDialog.cxx
parentf233addb86b7ef9d177c08b47478996657cd9704 (diff)
downloadtigervnc-4fc2026b9595e9425f50616d18781995aebe495b.tar.gz
tigervnc-4fc2026b9595e9425f50616d18781995aebe495b.zip
Added the scale controls to the vncviewer options dialog
(remove tab symbols in code). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@588 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/OptionsDialog.cxx')
-rw-r--r--vncviewer/OptionsDialog.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx
index da24cf1b..5bb21fd9 100644
--- a/vncviewer/OptionsDialog.cxx
+++ b/vncviewer/OptionsDialog.cxx
@@ -164,13 +164,13 @@ public:
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"
- };
- HWND hScaleCombo = GetDlgItem(handle, IDC_COMBO_SCALE);
- for (int i = 0; i <= 7; i++) {
- SendMessage(hScaleCombo, CB_INSERTSTRING,
+ "25","50","75","90","100","125","150","Auto"
+ };
+ HWND hScaleCombo = GetDlgItem(handle, IDC_COMBO_SCALE);
+ for (int i = 0; i <= 7; i++) {
+ SendMessage(hScaleCombo, CB_INSERTSTRING,
(WPARAM)i, (LPARAM)(int FAR*)scale_values[i]);
- }
+ }
SetDlgItemText(handle, IDC_COMBO_SCALE, "100");
}
virtual bool onOk() {