home *** CD-ROM | disk | FTP | other *** search
- gMaxWidth=max(
- zstring_width(zstring: '$$$/Dialogs/SpeechPrefs/Pitch'),
- zstring_width(zstring: '$$$/Dialogs/SpeechPrefs/WordRate'));
-
- gReadOrderWidth = max(
- zstring_width(zstring: '$$$/Prefs/Access/ReadOrder/Inferred'),
- zstring_width(zstring: '$$$/Prefs/Access/ReadOrder/TBLR'),
- zstring_width(zstring: '$$$/Access/ReadOrder/Wordy'));
-
- dialog(name: '$$$/Dialogs/SpeechPrefs/Speech', margin_height: 0, margin_width: 0)
- {
- view(align_children: align_left, dwidth: gPrefsPanelWidth)
- {
- cluster(name: '$$$/Dialogs/SpeechPrefs/Speech', dwidth: gPrefsPanelWidth, align_children: align_left)
- {
- view(align_children: align_row)
- {
- static_text(name: '$$$/Dialogs/SpeechPrefs/Volume');
- popup(item_id: 'volu', width: max_char_width() * 2);
- }
- check_box(item_id: 'DefV', name: '$$$/Dialogs/SpeechPrefs/DefaultVoice');
- view(align_children: align_row)
- {
- gap(width: 4);
- static_text(item_id: 'vlbl', name: '$$$/Dialogs/SpeechPrefs/Voice');
- popup(item_id: 'voic', width: max_char_width() * 15);
- }
-
- check_box(item_id: 'DefA', name: '$$$/Dialogs/SpeechPrefs/DefaultAttributes');
- view(align_children: align_row)
- {
- gap(width: 4);
- view(align_children: align_right, width : gMaxWidth)
- {
- static_text(item_id: 'plbl', name: '$$$/Dialogs/SpeechPrefs/Pitch');
- }
- popup(item_id: 'pitc', width: max_char_width() * 2);
- }
- view(align_children: align_row)
- {
- gap(width: 4);
- view(align_children: align_right, width : gMaxWidth)
- {
- static_text(item_id: 'rlbl', name: '$$$/Dialogs/SpeechPrefs/WordRate');
- }
- edit_text(item_id: 'rate', width: max_char_width() * 4, numeric: true);
- }
-
- }
-
- cluster(item_id: 'Read', name: '$$$/Prefs/Access/ReadOrder/Title')
- {
- view(align_children: align_left)
- {
- view(align_children: align_row)
- {
- static_text(name: '$$$/Prefs/Access/ReadOrder/Order');
- popup(item_id: 'Orde', width: gReadOrderWidth);
- }
- check_box(item_id: 'Ride', name:'$$$/Prefs/Access/ReadOrder/Override');
- }
- }
-
- cluster(item_id: 'Clus', name: '$$$/Prefs/Access/PageMode', alignment: align_fill)
- {
- static_text(item_id: 'Desc', name: '$$$/Dialogs/EmptyStr', alignment: align_fill, height: gStaticTextHeight * 2);
- view(align_children: align_row)
- {
- check_box(item_id: 'Mode', name: '$$$/Prefs/Access/SwitchToPageModeAbove');
- edit_text(item_id: 'MaxP', width: max_char_width() * 4);
- static_text(item_id: 'Labl', name: '$$$/Prefs/Access/Pages');
- }
- }
-
- }
- }
-