home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September (Special) / Chip-Special_2004-09_Digitalni-Hudba.bin / servis / reader / Data1.cab / Multimedia.api / EXVW / 10022 < prev    next >
Text File  |  2003-07-17  |  3KB  |  85 lines

  1. gType = '$$$/Dialogs/PropertiesInspector/Appearance/Type';
  2. gWidth = '$$$/Dialogs/PropertiesInspector/Appearance/Width';
  3. gStyle = '$$$/Dialogs/PropertiesInspector/Appearance/Style';
  4. gColor = '$$$/Dialogs/PropertiesInspector/Appearance/Color';
  5.  
  6. gColumnOneWidth = max( zstring_width( zstring: '$$$/Dialogs/PropertiesInspector/Appearance/Type' ), 
  7.                        zstring_width( zstring: '$$$/Dialogs/PropertiesInspector/Appearance/Width' ),
  8.                        zstring_width( zstring: '$$$/Dialogs/PropertiesInspector/Appearance/Color' ),
  9.                        zstring_width( zstring: '$$$/Dialogs/PropertiesInspector/Appearance/Style' ) );
  10.  
  11. gColumnTwoWidth = max( zstring_width( zstring: '$$$IDS_LinkInvisible' ), 
  12.                        zstring_width( zstring: '$$$IDS_LinkRectangle' ), 
  13.                        zstring_width( zstring: '$$$IDS_LinkWidthThin' ),
  14.                        zstring_width( zstring: '$$$IDS_LinkWidthMedium' ),
  15.                        zstring_width( zstring: '$$$IDS_LinkWidthThick' ),
  16.                        zstring_width( zstring: '$$$IDS_LinkBorderSolid' ),
  17.                        zstring_width( zstring: '$$$IDS_LinkBorderDashed' ) );
  18.  
  19. dialog( name: '$$$/Dialogs/PropertiesInspector/Appearance', target_id: 'hide', first_tab: 'hide' )
  20. {
  21.     group( align_children: align_left )
  22.     {
  23.         check_box( item_id: 'hide', name: '$$$/Dialogs/Multimedia/ScreenAnnotAppearance/Hidden', alignment: align_fill, next_tab: 'typl' );
  24.  
  25.         gap();
  26.  
  27.         cluster( item_id: 'clst', name: '$$$/Dialogs/PropertiesInspector/Appearance/Border', alignment: align_fill )
  28.         {
  29.             view(align_children: align_row)
  30.             {
  31.                 view(align_children: align_right, width: gColumnOneWidth)
  32.                 {
  33.                     static_text(item_id: 'typl', name: gType, next_tab: 'ltyp');
  34.                 }
  35.                 view(align_children: align_left)
  36.                 {
  37.                     popup(item_id: 'ltyp', width: gColumnTwoWidth, next_tab: '_wid');
  38.                 }
  39.             }
  40.  
  41.             view(align_children: align_row)
  42.             {
  43.                 view(align_children: align_right, width: gColumnOneWidth)
  44.                 {
  45.                     static_text(item_id: '_wid', name: gWidth, next_tab: 'wdth');
  46.                 }
  47.                 view(align_children: align_left)
  48.                 {
  49.                     popup(item_id: 'wdth', width: gColumnTwoWidth, next_tab: '_sty');
  50.                 }
  51.             }
  52.  
  53.             view(align_children: align_row)
  54.             {
  55.                 view(align_children: align_right, width: gColumnOneWidth)
  56.                 {
  57.                     static_text(item_id: '_sty', name: gStyle, next_tab: 'styl');
  58.                 }
  59.                 view(align_children: align_left)
  60.                 {
  61.                     popup(item_id: 'styl', width: gColumnTwoWidth, next_tab: '_col');
  62.                 }
  63.             }
  64.  
  65.             view(align_children: align_row)
  66.             {
  67.                 view(align_children: align_right, width: gColumnOneWidth)
  68.                 {
  69.                     static_text(item_id: '_col', name: gColor, next_tab: 'colr');
  70.                 }
  71.                 view(align_children: align_left)
  72.                 {
  73.                     button(item_id: 'colr', picture: true, height: 20, width: 22, next_tab: 'chse');
  74.                 }
  75.             }
  76.  
  77.             gap();
  78.         }
  79.  
  80.         gap();
  81.  
  82.         button( item_id: 'chse', name: '$$$/Dialogs/Multimedia/ScreenAnnotAppearance/Poster', alignment: align_left );
  83.     }
  84. }
  85.