home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd2.bin / program / reader / Data1.cab / Annots.api / EXVW / 10400 < prev    next >
Text File  |  2003-07-17  |  3KB  |  79 lines

  1. gMaxWidth=max(
  2.     zstring_width(zstring: '$$$/Prefs/Annotations/Font'),
  3.     zstring_width(zstring: '$$$/Prefs/Annotations/FontSize'),
  4.     zstring_width(zstring: '$$$/Prefs/Annotations/PopupOpacity'));
  5.  
  6. dialog(name: '$$$/Prefs/Annotations', margin_height: 0, margin_width: 0)
  7. {
  8.     view(align_children: align_left)
  9.     {
  10.         cluster(name: '$$$/Prefs/Annotations/ViewingGroup', dwidth: gPrefsPanelWidth, align_children: align_fill)
  11.         {
  12.             view(align_children: align_row, alignment: align_fill)
  13.             {
  14.                 view(align_children: align_right)
  15.                 {
  16.                     static_text(name: '$$$/Prefs/Annotations/Font');
  17.                 }
  18.                 view(align_children: align_left, alignment: align_fill)
  19.                 {
  20.                     popup(item_id: 'font', alignment: align_fill);
  21.                 }
  22.                 gap();
  23.                 view(align_children: align_right)
  24.                 {
  25.                     static_text(item_id: 'fsiL', name: '$$$/Prefs/Annotations/FontSize');
  26.                 }
  27.                 view(align_children: align_left)
  28.                 {
  29.                     edit_text(item_id: 'fsiz', width: zstring_width(zstring: '$$$/Prefs/Annotations/ThreeZeros=000'), PopupEdit: true, numeric: true);
  30.                 }
  31.             }
  32.             view(align_children: align_row)
  33.             {
  34.                 view(align_children: align_right)
  35.                 {
  36.                     static_text(name: '$$$/Prefs/Annotations/PopupOpacity');
  37.                 }
  38.                 view(align_children: align_left)
  39.                 {
  40.                     edit_text(item_id: 'opaq', width: max_char_width() * 3, PopupEdit: true, numeric: true);
  41.                 }
  42.             }
  43.             view(align_children: align_left)
  44.             {
  45.                 check_box(item_id: 'zoom', name: '$$$/Prefs/Annotations/AlwaysZoomZoom');
  46.                 check_box(item_id: 'hovr', name: '$$$/Prefs/Annotations/Hover');
  47.                 check_box(item_id: 'ppop', name: '$$$/Prefs/Annotations/PrintPopups');
  48.                 check_box(item_id: 'hpop', name: '$$$/Prefs/Annotations/HidePopupIfShowSummary');
  49.                 check_box(item_id: 'saoc', name: '$$$/Prefs/Annotations/ShowArrowToOffscreen');
  50.                 check_box(item_id: 'cnct', name: '$$$/Prefs/Annotations/ShowAnnotConnector');
  51.                 check_box(item_id: 'stfp', name: '$$$/Prefs/Annotations/ScaleToFitPopups');
  52.                 check_box(item_id: 'stfc', name: '$$$/Prefs/Annotations/ScaleToFitComments');
  53.                 check_box(item_id: 'ectt', name: '$$$/Prefs/Annotations/EmptyContentToolTip');
  54.             }
  55.         }
  56.  
  57.         cluster(name: '$$$/Prefs/Annotations/PopupOpenGroup', dwidth: gPrefsPanelWidth, align_children: align_left)
  58.         {
  59.             view(align_children: align_left, alignment: align_fill)
  60.             {
  61.                 check_box(item_id: 'pois', name: '$$$/Prefs/Annotations/PopupsOpenIffSelected');
  62.                 check_box(item_id: 'aoot', name: '$$$/Prefs/Annotations/AutoOpenOther');
  63.             }
  64.         }
  65.  
  66.         cluster(name: '$$$/Prefs/Annotations/MakingGroup', dwidth: gPrefsPanelWidth, align_children: align_left)
  67.         {
  68.             view(align_children: align_left)
  69.             {
  70.                 check_box(item_id: 'idnt', name: '$$$/Prefs/Annotations/IdentThing');
  71.                 check_box(item_id: 'side', name: '$$$/Prefs/Annotations/SideNotes');
  72.                 check_box(item_id: 'cpda', name: '$$$/Prefs/Annotations/CopyDrawAnnotText');
  73.                 check_box(item_id: 'cpma', name: '$$$/Prefs/Annotations/CopyMarkupAnnotText');
  74.             }
  75.         }
  76.  
  77.     }
  78. }
  79.